Youtube Fullpage Theater

Make theater mode fill the entire page view with hidden navbar

Fra og med 31.01.2024. Se den nyeste version.

Skaber
fznhq
Bedømmelser
0 0 0
Version
0.7.6
Oprettet
24.11.2023
Opdateret
31.01.2024
Size
6,62 kB
Licens
GNU GPLv3
Gælder for

Make theater mode fill the entire page view with hidden navbar

  • Fullpage Theater Mode
  • Hidden navbar when in theater mode, then show navbar when scrolling
  • Hidden scrollbar when in theater mode (default true)
  • Hidden suggestion, branding, overlay when in theater mode
  • Added Escape keyboard shortcut to close theater mode (default true) [1]
  • Support auto theater mode (default false) [2]

Note

  • [1] if false, it will be replaced by focus search bar on Escape
  • [2] if true, it will open theater mode every time the video changes

List Config

  • auto_theater_mode (default false)
  • hide_scrollbar (default true)
  • close_theater_with_esc (default true)

Q & A

  • Q: why config undefined ?
  • A: config will be replaced every time the script is updated; therefore, the script needs to know if it has already been updated or not, so if you change the config value (except undefined) before updating, it will try to save the config value using GM.setValue
  • Q: so how the script know about the config ?
  • A: if config is not undefined, it will read straight from config; otherwise, it will try to read the configuration that was already saved before the update using GM. getValue; if not possible, it will read the fallback value

Report issue here: Github