Greasy Fork is available in English.

OpenFrontIO-TroopTiming

Real-time troop timing overlay for OpenFront.io

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Erogz
今日安裝
10
安裝總數
10
評價
0 0 0
版本
1.1.0
建立日期
2026-06-01
更新日期
2026-06-01
尺寸
17.6 KB
授權條款
MIT
腳本執行於

🪖 OpenFrontIO-TroopTiming

View on GitHub

⚠️ Disclaimer: This script may or may not violate OpenFront.io's Terms of Service. This script is for educational purposes and does not automate any actions — it only visualizes existing game data. The author is not responsible for any issues, damages, or consequences arising from the use of this script (including account bans). Use at your own risk.

A userscript that adds a real-time troop timing overlay to OpenFront.io. Requires a userscript extension such as Tampermonkey, Greasemonkey, or Violentmonkey. ✨

🚀 Features

  • 🎯 Troop Timing Overlay — Real-time troop bar overlay with color-coded strategy indicator
  • 📊 Gradient bar showing troop percentage (0%–100%)
  • ✨ Animated marker with smooth transitions
  • 🎨 Color-coded strategy icons (star/checkmark/clock) based on troop ratio
  • 🏷️ Troop badge override with matching colors
  • 🔄 Falls back to DOM scraping if the game API is unavailable

🛠️ Installation

Click the Install this script button at the top of this page, or go to the Code tab from the top menu to copy the script manually. Then open openfront.io or nightly.openfront.dev — the overlay will appear automatically on game pages. 🎮

Screenshots