Minimal, stability-first build for Brave: auto-enable Theater and fill viewport height with clean letterboxing.
這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。
updated version info - forgot to do that
fixed bug that caused player not to load
made some changes for stabiltiy
Rebuilt from the ground up again. Volume slider moves now when you change volume.Works better on Firefox now, though this was build for Brave browser. If it doesn't work on Firefox, press T, F5, should work from then on until you clear the cache.
Improved OSD
https://*.youtube.com/embed/*
https://music.youtube.com/*
@homepageURL
@supportURL
@icon
localStorage
fullscreenchange
webkit
moz
MS
ytf-cover-enabled
ytd-watch-flexy
ytd-watch-grid
Changelog — YouTube Theater Fill1.3.0Add @exclude rules for https://*.youtube.com/embed/* and https://music.youtube.com/*.Add metadata: @homepageURL, @supportURL, and @icon.Keep fullscreen-only header cover behavior (activates on fullscreenchange, deactivates on exit).Stateless: no menu, no localStorage persistence.1.2.0Remove menu toggle and localStorage. Behavior is now automatic and stateless.Auto-cover header only while in fullscreen to avoid stray black bars; revert on exit.Listen to fullscreenchange (plus webkit/moz/MS variants) for broader compatibility.1.1.0Add an optional Tampermonkey menu command to toggle the header cover.Persist header cover preference to localStorage (ytf-cover-enabled).Minor internal cleanup and consistent version log messages.1.0.0Initial release.Auto-enable Theater mode on watch pages and resize the player to fill the viewport height.Support both ytd-watch-flexy and ytd-watch-grid; remove ambient cinematics that interfere with sizing.Robust SPA awareness: re-apply on YouTube navigation events and after a short delay.Calculate header offset and scroll-to-top to keep the player fully visible.Included header cover CSS and an internal toggleCover() helper (default off, no UI exposed in this version).