Skip to content

YouTube hide unhovered controls ⏸ fullscreen by myfonj

Details

Authormyfonj

LicenseCC0

CategoryYouTube

Created

Updated

Size504 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Provides oportunity to display paused video frame without "chrome" controls.

Notes

While video is enlarged, all control become transparent until "hovered".

Source code

/* ==UserStyle==
@name           YouTube hide unhovered controls
@namespace      github.com/openstyles/stylus
@version        1.0.1
@description    Makes everything "above" video (except captions) disapper unless hovered.
@author         myf
==/UserStyle== */

@-moz-document url-prefix("https://www.youtube.com/watch?v=") {
 #movie_player > 
 [data-layer]:not(
  :has(video)
 ):not(:hover):not(
  .ytp-gradient-bottom:has(
   +.ytp-chrome-bottom:hover
  )
 ):not([class*="caption"]) {
  opacity: 0;
 }
}

Reviews

No reviews yet.