mirror of
https://github.com/lawrencehook/remove-youtube-suggestions.git
synced 2026-07-25 06:54:31 +00:00
implement option to disable scrolling in the fullscreen viewer
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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',
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user