Twitch Watch Time Tracker

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

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!)

Advertisement:

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 لتثبيت هذا النمط.

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

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

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

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

Advertisement:

المؤلف
Michael Stutesman
التثبيت اليومي
1
إجمالي التثبيت
2
التقييمات
0 0 0
الإصدار
8.0-UltraLean-Safe
تم إنشاؤه
18-06-2026
تم تحديثه
20-06-2026
الحجم
7.99 KB
الترخيص
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.