implement option to disable scrolling in the fullscreen viewer

This commit is contained in:
Lawrence Hook
2024-03-04 02:36:26 -05:00
parent 9f5599ab2d
commit 3d6c476bfe
2 changed files with 9 additions and 0 deletions
+3
View File
@@ -48,6 +48,9 @@ html[global_enable="true"][remove_all_but_one="true"] ytd-browse[page-subtype="h
html[global_enable="true"][remove_extra_rows="true"] ytd-browse[page-subtype="home"] ytd-rich-grid-renderer > #contents > ytd-rich-grid-row + ytd-rich-section-renderer,
html[global_enable="true"][remove_infinite_scroll="true"] ytd-browse[page-subtype="home"] ytd-rich-grid-renderer > #contents > ytd-continuation-item-renderer,
/* Video Player - UX */
html[global_enable="true"][disable_fullscreen_scroll="true"] ytd-watch-flexy[fullscreen] div#columns,
/* Video Player - UI*/
html[global_enable="true"][remove_entire_sidebar="true"] #secondary,
html[global_enable="true"][remove_sidebar_infinite_scroll="true"] #secondary #contents ytd-continuation-item-renderer,
+6
View File
@@ -210,6 +210,11 @@ const SECTIONS = [
id: "disable_playlist_autoplay",
defaultValue: false
},
{
name: "Disable scroll in fullscreen",
id: "disable_fullscreen_scroll",
defaultValue: false
},
{
name: "Redirect shorts to the default viewer",
tags: "Redirects, Basic",
@@ -626,6 +631,7 @@ const idToShortId = {
"remove_extra_sidebar_tags": '75',
"remove_video_likes": '76',
"remove_channel_for_you": '77',
"disable_fullscreen_scroll": '78',
};