YouTube Dim Page + Cinematic Adaptive Halation
By shirish · 2 months ago
After 5 seconds of inactivity, dims only the page around the YouTube video, keeps the video fully unobscured, and creates a massive cinematic atmospheric adaptive halation that softly diffuses into the surrounding dimmed page. Optimized for OLEDs, ultrawide displays, and modern YouTube Kevlar architecture. Fullscreen exempt.
Key Highlights
- Dims only the surrounding YouTube page after 5 seconds of inactivity
- Keeps the video unobscured and fully visible while the effect is active
- Adds a large color-synced halo around the video frame
- Turns off immediately when the mouse, keyboard, wheel, or touch input is used
- Exempts fullscreen playback from the dimming and halation effect
Details
YouTube Dim Page + Cinematic Adaptive Halation activates after 5 seconds without mouse or keyboard activity on YouTube watch, playlist, and embed pages. It darkens the page around the player while leaving the video itself fully visible, then removes the effect as soon as you interact again.
The glow follows the video frame and samples playback colors to create a soft atmospheric halo around the edges. It adapts to player size, continues through YouTube autoplay navigation, and stays inactive during fullscreen playback.
Runs on
1 site
Developer
Tweek Code
1250 lines ·