Timerhooker

Fixed, robust start/stop timer/video speed UI with 16x as default speed up. Blocks page visibility detection.

目前為 2025-08-02 提交的版本,檢視 最新版本

作者
Govind-Rajulu
評價
0 0 0
版本
4.2.0
建立日期
2025-04-03
更新日期
2025-08-02
尺寸
10.8 KB
授權條款
MIT
腳本執行於
所有網站

Timerhooker Userscript Description

Timerhooker (Modern Glass UI)


Instantly switch all site timers and HTML5 video speed between normal and 16x speed with just one tap on the floating button.


Disclaimer: This tool was built with Perplexity AI assistance. Use it freely or skip if not needed.

Key Features

  • Works everywhere: Compatible with all websites and devices, with automatic light/dark mode adaptation.
  • Draggable floating button: Always visible, draggable anywhere on the screen, and position saved across sessions.
  • One-tap toggle: Switches all timers and videos from normal (1x) speed to fast (16x) instantly, with visible play/stop icons.
  • Auto half-hide: After 3 seconds of UI inactivity, the button slides halfway off the nearest screen edge but remains clickable.
  • Privacy and stealth: Blocks most attempts by sites to detect page visibility or focus changes, preserving your privacy and functionality.
  • Safe & local: Runs fully locally without sending any data externally. Uses localStorage only for UI position persistence.
  • Optional keyboard accessibility: The script includes commented-out code to enable toggling via keyboard (space or enter keys) when the button is focused, enhancing accessibility for keyboard users.

How to Use

  1. Install via a userscript manager such as Tampermonkey, Violentmonkey, or AdGuard (Android).
  2. Click or tap the floating glass UI button to toggle timer and video speeds between normal and 16x.
  3. Drag the button anywhere on your screen as desired; its position will be saved for next visits.
  4. After 3 seconds without interaction, the button will half-hide on the nearest screen edge but remain accessible.
  5. For keyboard users: uncomment the keyboard event listener in the script to enable toggling via keyboard keys when the button is focused.

Requirements

  • Userscript Manager: Tampermonkey, Violentmonkey, Greasemonkey, or AdGuard (Android recommended).
  • Browsers: Modern browsers including Firefox (recommended), Chrome, Edge, Brave, Safari, and other Chromium-based browsers.

Version & Changelog (v4.2.0)

  • Removed duplicate function definitions for cleaner, more reliable code.
  • Replaced all magic numbers with descriptive constants for easier maintenance and customization.
  • Improved UI consistency and adaptive theming for dark/light modes.
  • Consolidated stealth and privacy features blocking page visibility detection.
  • Minor performance and stability improvements, including better UI idle handling.
  • Added optional keyboard accessibility support (commented out by default) to toggle speed using keyboard keys when focused.

Enjoy faster browsing and full playback control with just a single tap!