Greasy Fork is available in English.

Twitch Watch Time Tracker

Ultra-light Twitch watch time tracker with real-time stats, IndexedDB persistence, automatic backup recovery, pause support, and zero telemetry.

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

Advertisement:

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

Advertisement:

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
Michael Stutesman
1日のインストール数
1
累計インストール数
2
評価
0 0 0
バージョン
8.0-UltraLean-Safe
作成日
2026/06/18
更新日
2026/06/20
大きさ
7.99KB
ライセンス
MIT
対象サイト

Short Description

Ultra-light Twitch watch time tracker with real-time stats, IndexedDB persistence, automatic backup recovery, pause support, and zero telemetry. Tracks Today, Week, Month, and Lifetime watch time per channel locally.

Detailed Description

Twitch Watch Time Tracker

A lightweight, ultra-efficient Twitch watch time tracker that records how long you spend watching each channel directly in your browser.

Unlike many watch-time scripts that rely on heavy timers, aggressive DOM scanning, or cloud storage, this script is designed with performance and reliability first. It uses IndexedDB for persistent storage, automatic backups through localStorage, and Twitch SPA (Single Page Application) navigation hooks to accurately track watch time while adding virtually no noticeable overhead.

Features

⏱ Real-Time Watch Time Overlay

Displays a compact on-screen tracker showing:

  • Today watch time
  • This Week watch time
  • This Month watch time
  • Total Lifetime watch time

Updates continuously while you watch.

💾 Persistent Storage

Your watch time is stored locally using:

  • IndexedDB (primary storage)
  • localStorage backup (automatic recovery)

No accounts required. No external servers. No data collection.

🛡 Automatic Data Recovery

If IndexedDB data becomes unavailable or corrupted:

  • Automatically restores from backup.
  • Prevents accidental overwriting with empty data.
  • Protects against data loss during page refreshes or crashes.

⚡ Ultra-Lean Architecture

Designed to minimize resource usage:

  • No MutationObservers
  • No DOM scanning loops
  • No network requests
  • No third-party libraries
  • No remote APIs
  • No telemetry

Uses Twitch's built-in History API navigation events for efficient channel detection.

▶ Pause Tracking

A built-in pause button allows you to:

  • Pause watch time accumulation
  • Resume instantly
  • Preserve your current totals

Pause state is remembered across page reloads.

🔄 Twitch SPA Compatible

Works seamlessly with Twitch's modern navigation system:

  • Channel changes
  • Browser back/forward
  • Refreshes
  • In-site navigation

No reload required.

🧠 Safe Singleton Protection

The script prevents multiple instances from running simultaneously, avoiding:

  • Duplicate timers
  • Double counting
  • Multiple overlays
  • Conflicting saves

🔒 Privacy First

Everything remains entirely on your computer.

This script:

  • Does NOT collect data
  • Does NOT send analytics
  • Does NOT use remote servers
  • Does NOT track browsing habits
  • Does NOT communicate with any third-party service

Storage

Watch time is stored per channel and includes:

  • Daily totals
  • Weekly totals
  • Monthly totals
  • Lifetime totals
  • Last update timestamps

All information is stored locally in your browser.

Performance Philosophy

This script was built around a simple philosophy:

Maximum reliability. Minimal overhead. Zero unnecessary work.

Tracking should be invisible, fast, and dependable—even during long Twitch viewing sessions.

Notes

  • Intended for normal Twitch channel pages.
  • Automatically ignores Twitch sections such as:

    • Directory
    • Clips
    • Videos
    • Drops
    • Inventory
    • Search
    • Settings
    • Subscriptions
    • Various account management pages

The tracker only activates where watch time actually makes sense: live channel viewing.

Version

Ultra-Max Lean Hardened No-Cleanup Edition

Focused on:

  • Data safety
  • Low resource usage
  • SPA stability
  • Persistent backups
  • Long-term reliability

License

This script is released under the MIT License.

You are free to:

  • Use the script for personal or commercial purposes.
  • Modify the source code.
  • Redistribute copies.
  • Publish forks or improvements.
  • Include portions of the code in your own projects.

The software is provided "AS IS", without warranty of any kind. The author is not liable for any damages or issues arising from the use of this software.

If you improve the script, attribution is appreciated but not required under the MIT License.