Floating Stopwatch

Tab-isolated stopwatch for any website

スクリプトをインストールするには、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:

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
quantavil
1日のインストール数
1
累計インストール数
3
評価
0 0 0
バージョン
1.1
作成日
2026/06/13
更新日
2026/06/13
大きさ
14.9KB
ライセンス
MIT
対象サイト
すべてのサイト

Floating Stopwatch

A high-performance, lightweight, and tab-isolated floating stopwatch designed to persist seamlessly across page reloads and protect against DOM destruction.

Features

  • Tab-Isolated State: Tracks time metrics independently per browser tab using sessionStorage.
  • Resilient Architecture: Implements a targeted MutationObserver that automatically redeploys the Shadow DOM container if hostile site scripts purge the element, without causing layout-invalidation feedback loops.

Installation

  1. Install a userscript manager such as Tampermonkey or Violentmonkey.
  2. Copy and paste the script code into your manager, or click install from the Greasy Fork interface.
  3. Navigate to any web protocol target to initialize the UI.

Usage and Interface Controls

The interface mounts silently at the root level of the target page document.

Core Mechanics

  • Start / Pause: Initiates or halts the ticking engine.
  • Lap / Reset: Calculates intervals dynamically when active, or completely purges historical states and resets time differentials back to zero when paused.
  • Close Button: Dismisses the primary stopwatch card container and exposes the floating action button (FAB).

Floating Action Button (FAB)

  • A minimalist circle overlay () appears at the bottom-right corner of the view when the panel is closed. Clicking it restores the full card geometry instantly.

Tampermonkey Menu Commands

Access your userscript manager icon menu to trigger global automation parameters directly:

  • ⏱ Toggle Stopwatch - Force toggles the current viewport display state.
  • ✨ Toggle FAB - Toggles the persistent visibility of the floating action button entirely based on your layout workspace preferences.