Torn Chat Timestamp

Displays the time a chat message was sent right by it.

These are versions of this script where the code was updated. Паказаць усе версіі.

  • v1.3.0 27.08.2022

    Cleaned up code to use CSS selectors, from suggestion Manuito [2225097] gave to ThunderBlitz [2684774], who messaged me it. Fixed a single line.

  • v1.3.0 27.08.2022

    Cleaned up code to use CSS selectors, from suggestion Manuito [2225097] gave to ThunderBlitz [2684774], who messaged me it.

  • v1.2.6 07.06.2022

    Fixed detecting messageClass and lastMessageLabelClass when opening a chatbox if they weren't found initially.

  • v1.2.5 11.05.2022

    Updated class names due to Torn adding an underscore to the start of them.

  • v1.2.4 29.03.2022

    Minor changes I made a while back but never updated here.

  • v1.2.3 24.08.2021

    Moved when lastMessageLabel gets initialized so that the element is loaded before looking for it.

  • v1.2.2 24.08.2021

    When a chatbox is opened, it will scroll down to show the latest message.

  • v1.2.1 24.08.2021

    Removed all instances of var and replaced with let

  • v1.2 29.05.2021

    Moved class names to variables that are set when the page loads.

  • v1.1 10.03.2021

    Tweaked message class check in addTimestamp.

  • v1.0 29.01.2021 Removed an old comment
  • v1.0 29.01.2021