DKK Torn Utilities

Commonly used functions in my Torn scripts.

As of 2019-12-01. See the latest version.

These are versions of this script where the code was updated. Show all versions.

  • v2.5.6 2020-02-06 add all xhr arguments to output
  • v2.5.5 2020-02-06 add request url to a xhr intercept
  • v2.5.4 2019-12-20 typo fix
  • v2.5.3 2019-12-14 fix logging error
  • v2.5.2 2019-12-10 fix isHospitalized
  • v2.5.1 2019-12-10 make CurrentUser update chainable
  • v2.5.0 2019-12-10 change CurrentUser to check hospital based on css instead of html
  • v2.4.6 2019-12-10 onEdit should be fixed now
  • v2.4.5 2019-12-10 test
  • v2.4.5 2019-12-10 test
  • v2.4.5 2019-12-10 debug
  • v2.4.5 2019-12-10 fixed?
  • v2.4.4 2019-12-10 debug
  • v2.4.4 2019-12-10 finally fix onEdit?
  • v2.4.3 2019-12-10 fix onEdit
  • v2.4.2 2019-12-10 fix a method check?
  • v2.4.1 2019-12-10 add method to detect changes in storage
  • v2.4.0 2019-12-01 better initial short name for debugging as default
  • v2.3.9 2019-11-28 bug fix
  • v2.3.8 2019-11-28 fix permission check again
  • v2.3.7 2019-11-28 add better permission check
  • v2.3.6 2019-11-25 add a lot more features
  • v2.1.1 2019-11-22 addCSS function added
  • v2.1.1 2019-11-20 don't show api key in debugging
  • v2.1.0 2019-11-19 Redo logging and tornapi.
  • v2.0.5 2019-11-18 Change default logging.
  • v2.0.4 2019-11-18 Fix a problem with logging level.
  • v2.0.3 2019-11-18 fix more logging
  • v2.0.2 2019-11-18 Fix logging level prefix.
  • v2.0.1 2019-11-18 Fix some logging bugs.
  • v2.0.0 2019-11-18 Improve initScript and rework the messages system.
  • v1.8.8 2019-11-18
  • v1.8.7 2019-10-28 fix ajax method for uri's
  • v1.8.7 2019-10-25 (final) fix for api request remove excess debugging
  • v1.8.6 2019-10-25 fix sendAPIRequest, again
  • v1.8.5 2019-10-25 improve isJsonString
  • v1.8.4 2019-10-25 fix api check again
  • v1.8.3 2019-10-25 test3
  • v1.8.3 2019-10-25 tst 2
  • v1.8.2 2019-10-25 test
  • v1.8.1 2019-10-25 add extra json check to api request
  • v1.8 2019-10-20 add timeSince
  • v1.7.2 2019-10-18 add getScriptUser with jail, hospital and travel status
  • v1.7.2 2019-10-14 improve ajax response
  • v1.7.1 2019-10-14 improve ajax method
  • v1.7 2019-10-14 add ajax method
  • v1.6 2019-10-12 change detectHashChange to runOnEvent
  • v1.5 2019-10-12 add detectHashChange
  • v1.4.1 2019-10-12 improve getSpecialSearch
  • v1.4 2019-10-12 improve getSpecialSearch

Show all script versions