Torn War Timer

Display live ranked war timer in the sidebar using Torn API v2, with smart polling

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

Autor
Chris Rockwell
Dziennych instalacji
0
Wszystkich instalacji
30
Oceny
0 0 0
Wersja
1.2
Utworzono
04-07-2025
Zaktualizowano
04-07-2025
Rozmiar
14,2 KB
Licencja
MIT
Dotyczy

Adds a RW timer to the Torn Tools section with the OC timer and addiction.
***WILL NOT CREATE TIMER*** if that section does not exist.

On first load it will say "Enter Public Key" and save locally.
It will then show the timer, if your faction is not signed up for a war it will display 0d 0h 0m.
Once the faction has been matched up, it will adjust the timer to the scheduled time and save it to local storage so API does not need to be polled again until the timer is done.
To avoid excessive API calls, if it does not find a war start time it will wait 6 hours then recheck.
To manually check the time there is a "reset" circle that will show up on hover.