Greasy Fork 还支持 简体中文。

Stick YouTube Progress Bar

Stick YouTube video progress bar to the player bottom

Dette er versjoner av dette scriptet hvor koden ble oppdatert. Vis alle versjoner.

  • v1.0.18 08.05.2026

    fix: rewrite stick-progress-bar with clean re-init on navigation

  • v1.0.16 08.05.2026

    fix: patch null crash, NaN guard, buffer seek, ad skip, premiere detection

    - video undefined after re-render now returns early instead of throwing every 500ms
    - guard against NaN/0 duration before computing scaleX
    - buffer bar now tracks the buffered range containing currentTime, not always end(0)
    - skip interval update during ads (.ad-showing)
    - replace ytp-live-badge check with duration === Infinity for accurate premiere support
    - call main() on script load to catch direct /watch URL visits
    - fix observe() ignoring its dom parameter
    - rename internal → interval; fix intitailized/cancaled typos

  • v1.0.15 26.02.2026

    fix: replace innerHTML with textContent to satisfy CSP Trusted Types

  • v1.0.14 27.01.2026

    fix: video undefined randomly

  • v1.0.13 29.01.2025

    fix: script not working randomly

  • v1.0.12 29.01.2025

    fix: prevent DOMException when accessing video buffered range

  • v1.0.11 29.01.2025

    fix: video become undefined randomly

  • v1.0.9 18.11.2023

    fix: livestream check, reuse created components and add clearInterval before initializing

  • v1.0.8 18.11.2023

    fix: can't use timeupdate event on youtube, use setInterval to update progress bar instead

  • v1.0.7 16.05.2023

    Fix the logic to determine whether the initialization is needed.

  • v1.0.6 16.05.2023

    Fix issue that script not loaded when navigate in YouTube

  • v1.0.5 16.05.2023

    bug fix

  • v1.0.4 16.05.2023

    Use IIFE

  • v1.0.3 16.05.2023

    Fix issue that load progress bar doesn't show up

  • v1.0.2 16.05.2023

    Fix progress bar misalignment when video chapter is enabled

  • v1.0.1 15.05.2023

    Fix the identification criteria for live stream page.

  • v1.0.0 15.05.2023