Youtube Fullpage Theater

Make theater mode fill the entire page view with hidden navbar

目前为 2024-01-31 提交的版本。查看 最新版本

作者
fznhq
评分
0 0 0
版本
0.7.6
创建于
2023-11-24
更新于
2024-01-31
大小
6.6 KB
许可证
GNU GPLv3
适用于

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

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址