Repository navigation
Expand file tree
/
Copy pathYoutube-Declutter.txt
More file actions
186 lines (144 loc) · 9.71 KB
/
Copy pathYoutube-Declutter.txt
File metadata and controls
186 lines (144 loc) · 9.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
[uBlock Origin]
! Title: YouTube Declutter
! Last modified: Wed Sep 9 06:49:01 AM UTC 2026
! Homepage: https://github.com/Linuxuser67/Ublock-Origin-filters-for-Youtube
! Licence: MIT license
! ---------- HOME & GENERAL LAYOUT ----------
! YT - Remove filter categories on home, search and playlist pages
youtube.com###frosted-glass:style(height: 60px !important; top: 0 !important;)
youtube.com##[page-subtype="home"] ytd-feed-filter-chip-bar-renderer.style-scope.ytd-rich-grid-renderer
youtube.com##yt-related-chip-cloud-renderer.ytd-watch-next-secondary-results-renderer.style-scope
youtube.com##ytd-item-section-renderer.style-scope.ytd-section-list-renderer[page-subtype="playlist"] > #header.ytd-item-section-renderer > ytd-feed-filter-chip-bar-renderer
youtube.com##ytd-rich-section-renderer:has-text("Explore more topics")
youtube.com##ytd-browse[page-subtype="home"] #dismissible
! More Video Thumbs
youtube.com##ytd-rich-grid-renderer, html:style(--ytd-rich-grid-items-per-row: 4 !important;)
youtube.com##ytd-rich-grid-row,#contents.ytd-rich-grid-row:style(display: contents !important)
! Fix gaps in video thumbnails due to removed ads
youtube.com##ytd-rich-item-renderer:remove-attr(is-in-first-column)
! Watched video tint
youtube.com##ytd-thumbnail:has(#progress), yt-thumbnail-view-model:has(.ytThumbnailOverlayProgressBarHostWatchedProgressBarSegment):style(opacity: 0.7;)
! ---------- PLAYLISTS & MIXES ----------
! Hide recommended playlists/videos when viewing playlists.
youtube.com##[page-subtype="home"] ytd-item-section-renderer[is-playlist-video-container]
youtube.com##[page-subtype="home"] ytd-shelf-renderer:has(#title:has-text("Recommended"))
! Hide the "Mix - " and "My Mix" music playlist suggestions
youtube.com##[page-subtype="home"] ytd-rich-item-renderer:has(a[href*="start_radio=1"]:has-text(/^Mix - /))
youtube.com##[page-subtype="home"] ytd-rich-item-renderer:has(a[href*="start_radio=1"]:has-text(/^My Mix/))
youtube.com##[page-subtype="home"] .lockup.ytd-item-section-renderer:has-text("Mix - ")
youtube.com##[page-subtype="home"] .lockup.ytd-item-section-renderer:has-text("My Mix")
! Hide Podcast and Video Playlist suggestions
youtube.com##[page-subtype="home"] ytd-rich-item-renderer:has(a[href]:has-text(/^Podcast/))
youtube.com##[page-subtype="home"] ytd-rich-item-renderer:has-text("View full playlist")
youtube.com##[page-subtype="home"] ytd-item-section-renderer:has-text("View full playlist")
! ---------- AI GARBAGE ----------
! Remove the AI generated summary
youtube.com###expandable-metadata:has-text("AI-generated video summary")
! Remove the 'Ask' button
youtube.com##button-view-model > button:has(div.yt-spec-button-shape-next__button-text-content:has-text(Ask))
! Remove AI chat box on home page
youtube.com##ytd-rich-section-renderer:has(yt-talk-to-recs-view-model)
! ---------- UI ANNOYANCES & POPUPS ----------
! Remove specific annoying UI elements
youtube.com###teaser-carousel
youtube.com###video-preview-container
youtube.com###voice-search-button
youtube.com##yt-thumbnail-hover-overlay-toggle-actions-view-model
youtube.com##.ytp-autonav-toggle.ytp-button
youtube.com##ytd-miniplayer
youtube.com###country-code
youtube.com##a.ytp-menuitem
! Hide Create button
youtube.com##ytd-masthead ytd-topbar-menu-button-renderer:has(a[aria-label*="Create"])
youtube.com##ytd-masthead ytd-button-renderer:has(button[aria-label*="Create"])
! Hide Remix button
youtube.com##ytd-menu-renderer yt-button-view-model:has-text("Remix")
! Hide Download button
youtube.com##ytd-menu-renderer yt-button-view-model:has-text("Download")
! Hide Thanks button
youtube.com##ytd-menu-renderer yt-button-view-model:has-text("Thanks")
! Hide the topic filter chip bar
youtube.com###secondary yt-related-chip-cloud-renderer
! Remove unwanted flow renderers and dialogs
youtube.com##.YtdTalkToRecsFlowRendererHost:has-text(What hobbies are you interested in developing?)
youtube.com##tp-yt-paper-dialog.ytd-popup-container:has-text(/following Premium|Choose all that apply|Become a member|Free trial|How are your|How interested|Live TV|Wish videos|background play|better [...]
youtube.com##ytd-inline-survey-renderer
youtube.com##ytd-message-renderer.ytd-live-chat-frame.style-scope:has-text("Chat replay")
! Block Playables on the homepage
youtube.com##ytd-rich-section-renderer:has([title^="YouTube Playables"])
---------- SEARCH ----------
! Hide search suggestions drop downs
||suggestqueries-clients*.youtube.com/complete/search^
! Make video thumbnails smaller in search results
youtube.com##ytd-two-column-search-results-renderer ytd-thumbnail:style(min-width: 240px !important; width:50% !important; max-width: 300px !important;)
! ---------- SHORTS ----------
! Hide all videos containing the phrase "#shorts"
youtube.com##ytd-grid-video-renderer:has(#video-title:has-text(#shorts))
youtube.com##ytd-grid-video-renderer:has(#video-title:has-text(#Shorts))
youtube.com##ytd-grid-video-renderer:has(#video-title:has-text(#short))
youtube.com##ytd-grid-video-renderer:has(#video-title:has-text(#Short))
! Hide all videos with the shorts indicator on the thumbnail
youtube.com##ytd-grid-video-renderer:has([overlay-style="SHORTS"])
youtube.com##ytd-rich-item-renderer:has([overlay-style="SHORTS"])
youtube.com##ytd-video-renderer:has([overlay-style="SHORTS"])
youtube.com##ytd-item-section-renderer.ytd-section-list-renderer[page-subtype="subscriptions"]:has(ytd-video-renderer:has([overlay-style="SHORTS"]))
! Hide shorts section on homepage
youtube.com##ytd-rich-section-renderer:has(#rich-shelf-header:has-text(Shorts))
youtube.com##ytd-reel-shelf-renderer:has(.ytd-reel-shelf-renderer:has-text(Shorts))
! Hide shorts in video descriptions
youtube.com##ytd-reel-shelf-renderer.ytd-structured-description-content-renderer:has-text("Shorts remixing this video")
! Hide shorts from search results
youtube.com##ytd-search grid-shelf-view-model.ytGridShelfViewModelHost:has-text(Shorts)
! Hide Shorts remixes in descriptions and suggestions
youtube.com##ytd-reel-shelf-renderer:has(#title:has-text(/(^| )Shorts.?Remix.*$/i))
! Hide Shorts by direct /shorts/ URL in links (additional catch-all for grids/search)
youtube.com##ytd-grid-video-renderer:has(a[href^="/short looking for more? /shorts/"])
youtube.com##ytd-video-renderer:has(a[href^="/shorts/"])
! Shorts in Recommendations
youtube.com##ytd-watch-next-secondary-results-renderer > div[id='items'] > ytd-item-section-renderer > div[id="contents"] > ytd-compact-video-renderer
! ---------- WATCH (PLAYER) ----------
! ---------- PLAYER STYLING & UI ----------
! YouTube player controls with better contrast and blur
youtube.com##.ytp-fullscreen-quick-actions, .ytp-button.ytp-play-button, .ytp-time-wrapper, .ytp-volume-area, .ytp-right-controls, .ytp-button.ytp-chapter-title, .ytp-button.ytp-fullscreen-grid-expand[...]
! Set default state to hidden with smooth transition
youtube.com##.ytp-fullscreen-quick-actions :is(button[aria-label*="like" i], button[aria-label*="dislike" i], button[aria-label*="More" i])
youtube.com##.ytp-fullscreen-quick-actions:style(opacity: 0 !important; transition: opacity 0.2s ease-in-out !important;)
! Reveal on hover
youtube.com##.ytp-fullscreen-quick-actions:hover:style(opacity: 1 !important;)
! Style popup panels with translucency
youtube.com##html[dark] #contentWrapper > .ytd-popup-container.style-scope:style(background: rgba(10, 10, 10, 0.8) !important; color: #fff !important;)
youtube.com##html:not([dark]) #contentWrapper > .ytd-popup-container.style-scope:style(background: rgba(255, 255, 255, 0.85) !important; color: #000 !important;)
! Style header to match translucent popup panels
youtube.com##html[dark] #header > .ytd-multi-page-menu-renderer.style-scope:style(background: rgba(10, 10, 10, 0.8) !important; color: #fff !important;)
youtube.com##html:not([dark]) #header > .ytd-multi-page-menu-renderer.style-scope:style(background: rgba(255, 255, 255, 0.85) !important; color: #000 !important;)
! Remove the "Contains paid promotion" popup on sponsored videos.
youtube.com##.ytp-paid-content-overlay-link
! Hide channel logo/branding in the bottom-right corner of the video.
youtube.com##.iv-branding
! Remove background from time display.
youtube.com##.ytp-time-display span.ytp-time-wrapper:remove-class(ytp-time-wrapper)
! Remove featured product ads from in video.
youtube.com##.ytp-featured-product
! Remove the "Experiencing interruptions?" popup.
youtube.com##tp-yt-paper-toast:has(yt-formatted-string:has-text("interruptions?"))
! Remove cinematic lighting
youtube.com###cinematics.ytd-watch-flexy:remove()
! Suppress under-video information boxes
youtube.com##ytd-shelf-renderer:has-text('From health sources')
youtube.com###clarify-box
youtube.com###clarify-box, ytd-watch-flexy #clarify-box
! Remove mouseover background from description boxes
youtube.com##+js(ra, enable-color-sampling, ytd-watch-metadata[enable-color-sampling], stay)
youtube.com##+js(aeld, /^mouse(enter|leave)$/, , elements, #description)
! Hide the Clip button
youtube.com###flexible-item-buttons > yt-button-view-model.ytd-menu-renderer > .ytd-menu-renderer.style-scope.ytSpecButtonViewModelHost:has(div.yt-spec-button-shape-next__button-text-content:has-text([...]
! Remove "Auto-dubbed" indicator
youtube.com##yt-lockup-view-model.lockup.ytd-item-section-renderer:has-text(Auto-dubbed)
youtube.com##ytd-rich-item-renderer:has(.ytd-badge-supported-renderer:has-text(Auto-dubbed))
youtube.com##ytd-rich-item-renderer:has(div.badge-shape-wiz__text:has-text(Auto-dubbed))
youtube.com##ytd-rich-item-renderer:has(div.yt-badge-shape__text:has-text('Auto-dubbed'))
! Fix the color-changing background on mouse-over for description
youtube.com##+js(ra, enable-color-sampling, ytd-watch-metadata[enable-color-sampling], stay)
youtube.com##+js(aeld, /^mouse(enter|leave)$/, , elements, #description)
! recommendations sidebar
youtube.com##ytd-tvfilm-offer-module-renderer