Add an option to disable infinite scroll for search results

This commit is contained in:
Lawrence Hook
2023-01-28 03:00:04 -05:00
parent dc014ea812
commit b1becd80d2
2 changed files with 7 additions and 1 deletions
+1
View File
@@ -69,6 +69,7 @@ html[global_enable="true"][remove_shorts_results="true"] #container.ytd-search y
html[global_enable="true"][remove_shorts_results="true"] #container.ytd-search ytd-reel-shelf-renderer,
html[global_enable="true"][remove_extra_results="true"] #container.ytd-search ytd-shelf-renderer,
html[global_enable="true"][remove_thumbnail_mouseover_effect="true"] #mouseover-overlay,
html[global_enable="true"][remove_infinite_scroll_search="true"] .ytd-search #contents > ytd-continuation-item-renderer,
/* Subscriptions Page */
html[global_enable="true"][remove_sub_shorts="true"] ytd-grid-video-renderer[is_sub_short],
+6 -1
View File
@@ -75,7 +75,7 @@ const SECTIONS = [
defaultValue: true
},
{
name: "Disable infinite scroll",
name: "Disable infinite scroll - homepage",
id: "remove_infinite_scroll",
defaultValue: true
},
@@ -305,6 +305,11 @@ const SECTIONS = [
id: "remove_thumbnail_mouseover_effect",
defaultValue: false
},
{
name: "Disable infinite scroll - search results",
id: "remove_infinite_scroll_search",
defaultValue: false
},
]
},
{