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.62KB
ライセンス
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