Torn Chat Timestamp

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

Tästä skriptistä on versioita, joissa koodia päivitettiin. Näytä kaikki versiot.

  • v1.3.0 27.8.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.8.2022

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

  • v1.2.6 7.6.2022

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

  • v1.2.5 11.5.2022

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

  • v1.2.4 29.3.2022

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

  • v1.2.3 24.8.2021

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

  • v1.2.2 24.8.2021

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

  • v1.2.1 24.8.2021

    Removed all instances of var and replaced with let

  • v1.2 29.5.2021

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

  • v1.1 10.3.2021

    Tweaked message class check in addTimestamp.

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