YouTube Speed Controller Pro

YouTube persistent speed slider overlay, minimize toggle. Pro Features: Automatic 1x speed for Music/Movies, intelligent chapter navigation, and high-fidelity Pitch Shift toggle.

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

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.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Forfatter
rickzabel
Daglige installasjoner
1
Totale installasjoner
3
Vurderinger
0 0 0
Versjon
3.2.68
Lagd
14.02.2026
Oppdatert
17.02.2026
Size
45,4 kB
Lisens
CC-BY-NC-SA-4.0
Gjelder

/*
AI-generated with assistance from Gemini 3 Flash based on concepts by RickZabel

MASTER PROMPT / REBUILD RECIPE (v3.2.67):
"Create a Tampermonkey script for YouTube that adds a persistent, draggable speed control overlay with a License/Pro system.

Core Features & UI:
- Precision Controls: Granular slider (0.05 increments) and presets (Pause to 2x).
- Custom Logo: Must use specific SVG paths (lp1, lp2, lp3) with Transformation Matrix (6.201...) and colors (#ff0000, #ffffff). Acts as a minimize toggle with hold-to-manage license logic.
- Transparency: 25% step toggle using a dynamic SVG pie-chart icon; persists via localStorage.
- Smart Tooltips: 0.8s transition delay, 11px normal weight text, and 'Smart Boundary' logic to auto-flip orientation at window edges.
- Color Palette: Primary text/icons #888888; Slider thumb dark red (#880000) switching to bright red (#ff0000) on hover. Pro 'Override' state uses green (#00ff00).

Layout & Structure:
- Main Container: Flexbox row alignment with 8px gap. Background: rgba(0,0,0,0.8) with 8px border-radius.
- Minimized State: When minimized, the container shrinks to only the Logo. A dedicated drag handle (dots icon) must appear to the left of the logo only when minimized to allow repositioning.
- Pro Button Group: A dedicated sub-container (.pro-btns) using 'display: flex; gap: 3px; flex: 1; overflow: visible !important;' to house Pro toggles.

Pro Features (License Key Required):
- Chapter Navigation: « and » arrows with fixed -2.1px top offset and 18px font size.
- Auto-Speed Logic: Context-aware 1x speed override for 'Music', 'Movies', and 'Shows' categories.
- High-Fidelity Audio: 'P' toggle to disable YouTube's pitch correction (preservesPitch = false).
- Analytics: Lifetime 'Time Saved' tracker based on playback rate vs. actual duration.

Logic & Correctness Constraints:
- Vertical Centering: Pause button text wrapped in a span with -1.8px top nudge for visual balance.
- Playback Preservation: Toggling Pro buttons (Music/Movies/P) while paused must never trigger auto-resume.
- License Guard: checkLicense() must immediately disable all Pro logic and reset audio fidelity if the key is removed.
- Persistence: LocalStorage must remember speed, coordinates, opacity, settings, and minimized state."
*/