DKK Torn Utilities

Commonly used functions in my Torn scripts.

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

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