Torn War Timer

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

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Cypher-
日安装量
0
总安装量
9
评分
0 0 0
版本
1.2
创建于
2025-07-04
更新于
2025-07-04
大小
14.2 KB
许可证
MIT
适用于

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.