Skip to content

Commit b158948

Browse files
committed
Adding validation to consider the class for the Subscriptions page, in List mode.
1 parent 470d93c commit b158948

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

js&css/extension/www.youtube.com/general/general.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ html[it-pathname='/feed/subscriptions'][it-remove-subscriptions-shorts="true"] y
100100
/*are the two lines above outdated?*/
101101
html[it-pathname='/'][it-remove-home-page-shorts="true"] ytd-rich-section-renderer:has(ytd-rich-shelf-renderer[is-shorts]),
102102
html[it-pathname='/feed/subscriptions'][it-remove-subscriptions-shorts="true"] ytd-rich-section-renderer:has(ytd-rich-shelf-renderer[is-shorts]),
103+
html[it-pathname='/feed/subscriptions'][it-remove-subscriptions-shorts="true"] ytd-item-section-renderer:has(a[href="/feed/subscriptions/shorts"]),
103104
html[it-pathname='/feed/history'][it-remove-history-shorts="true"] ytd-reel-shelf-renderer,
104105
html[it-pathname='/feed/trending'][it-remove-trending-shorts="true"] ytd-reel-shelf-renderer {
105106
display: none !important;

menu/skeleton-parts/general.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ extension.skeleton.main.layers.section.general = {
111111
},
112112
remove_subscriptions_shorts: {
113113
component: 'switch',
114-
text: 'atSubscriptions'
114+
text: 'atSubscriptions',
115+
id: 'remove-subscriptions-shorts'
115116
},
116117
remove_trending_shorts: {
117118
component: 'switch',

0 commit comments

Comments
 (0)