Torn City Chain Watch Alert (enhanced)

Alert when chain timer drops below user-defined threshold and fade the screen red. Toggle support added.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

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.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

المؤلف
Fu11y
التثبيت اليومي
6
إجمالي التثبيت
651
التقييمات
2 0 0
الإصدار
1.4
تم إنشاؤه
27-10-2023
تم تحديثه
15-06-2025
الحجم
6.41 KB
الترخيص
MIT
ينطبق على

Torn City Chain Watch Alert

A Tampermonkey userscript designed for Torn City players. This script allows you to receive an alert when your chain timer drops below a user-defined threshold. Additionally, the screen will flash red continuously to notify you of the approaching deadline. The user can easily set the desired alert threshold using a dropdown menu positioned at the top right corner of the screen.
Features:

User-defined Alert Threshold: A dropdown menu is available at the top right corner, allowing users to set the alert threshold in minutes. Options range from 1 minute to 4.5 minutes.

Persistent Selection: Your last chosen threshold is stored locally, so you don't need to set it every time you visit.

Visual and Auditory Alerts: When the chain timer drops below the user-defined threshold, a browser alert will pop up. Moreover, the screen will now have a red screen fade animation repeating every second.

How to Install:

Install Tampermonkey or a similar userscript manager for your browser.
Click on the script's install button on Greasyfork.
Confirm the installation in Tampermonkey's interface.
Visit Torn City and configure your desired alert threshold using the dropdown menu.

Usage:

After installation, visit Torn City.
At the top right corner of the screen, you'll see a dropdown menu. Choose your desired alert threshold.
Once the chain timer in Torn City drops below this threshold, you'll receive an alert, and the screen will flash red continuously every 2 seconds.

Changelog:

Version 1.1:
Introduced user-defined alert threshold via dropdown.
Continuous red screen flash every 2 seconds when timer is below threshold.

Version 1.2:
Replaced flashing with fade effect for smoother alerting.
Improved UI and selector stability and added 60 and 90 second options to the menu.

Version 1.3:
Added alert toggle: A new checkbox in the UI allows users to enable or disable chain alerts without uninstalling or editing the script.
Improved chain detection: Script now ignores chain timer when it displays 00:00, preventing false alerts when no chain is active.
Minor UI enhancements: Improved layout spacing and element grouping for better visibility and interaction.
Refactored logic: Cleaned up alert flow for better performance and reliability.

Version 1.4:
Added "Popup On" toggle to allow disabling the disruptive browser alert.
Screen fading alert now works independently, even with popups off.
User preferences are saved in localStorage for both toggles.
Minor UI layout consistency improvements.

Acknowledgements:

Script Author: Fu11y


Notes:

Respect Torn City's terms of service and guidelines when using this or any other script.
For any issues, suggestions, or feedback, please reach out through Greasyfork's comment section.