forked from mchangrh/yt-neuter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
yt-neuter.txt
397 lines (376 loc) · 14.8 KB
/
yt-neuter.txt
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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
[uBlock Origin]
! Title: YouTube Neuter
! Last modified: 2024/04/13
! Expires: 1 day
! Homepage: https://github.com/mchangrh/yt-neuter
! Licence: Unlicense
!
! install link
!!!! generics
!! shelves
! game shelf
youtube.com##ytd-rich-shelf-renderer[has-rounded-box-art-thumbnail-style]
!!!! global elements
!!! header
!! icon
! country code
youtube.com##ytd-topbar-logo-renderer>#country-code
!! yoodle (#20)
! block image/animations from being fetched (falls back to normal logo)
||www.gstatic.com/youtube/img/promos/*$image
! block child elements of yoodle
youtube.com##.ytd-yoodle-renderer
!! search
! voice search button
youtube.com###voice-search-button
! voice search response noises
||www.youtube.com/s/search/audio/*.mp3$media
!! action buttons
! create button
youtube.com##ytd-topbar-menu-button-renderer:has(button[aria-label=Create])
!!! popups
!! generic surveys (#24)
! generic surveys
youtube.com###survey
youtube.com##ytd-inline-survey-renderer
youtube.com##.ytd-inline-survey-renderer
! survey answer card/ thanks
youtube.com##yt-survey-answer-card-renderer
! checkbox survey?
youtube.com##.ytd-checkbox-survey-renderer
! feedback survey?
youtube.com##ytd-feedback-survey-renderer
youtube.com##.ytd-feedback-survey-renderer
! follow up survey?
youtube.com##.ytd-survey-follow-up-renderer
youtube.com##ytd-survey-follow-up-renderer
! multistage survey?
youtube.com##.ytd-multi-stage-survey-renderer
youtube.com##ytd-multi-stage-survey-renderer
! ratings survey?
youtube.com##ytd-rating-survey-renderer
youtube.com##.ytd-rating-survey-renderer
! RED exit survey
youtube.com##.ytd-red-cancel-survey-renderer
youtube.com##ytd-red-cancel-survey-renderer
! "how are your recommendations" survey
youtube.com##ytd-single-option-survey-renderer
youtube.com##.ytd-single-option-survey-renderer
!! targeted/ specific popups
! "feedback shared" / "experiencing interruptions" toasts
youtube.com##tp-yt-paper-toast#toast
! "change your subtitle settings" popup
youtube.com##.ytp-promotooltip-wrapper
! popup z-index fix
youtube.com##tp-yt-iron-overlay-backdrop.opened
!! payment nags
! premium enhanced bitrate nag (#49)
youtube.com##ytd-popup-container:has(>tp-yt-paper-dialog>ytd-offline-promo-renderer)
! become a member of this channel
youtube.com##tp-yt-paper-dialog:has(yt-mealbar-promo-renderer)
youtube.com##yt-bubble-hint-renderer > .yt-bubble-hint-renderer:has(.yt-formatted-string:has-text(Memebership))
!!! sidebar navigation
!! "you" section
! sign in nag
youtube.com##ytd-guide-signin-promo-renderer
! your clips
youtube.com##.ytd-guide-entry-renderer[href="/feed/clips"]
! premium
youtube.com##a.ytd-guide-entry-renderer[href="/premium"]
! explore section
youtube.com##ytd-guide-section-renderer:has(#guide-section-title:has-text(Explore))
youtube.com##ytd-guide-entry-renderer:has(#endpoint[href="/feed/explore"])
youtube.com##ytd-mini-guide-entry-renderer:has(#endpoint[href="/feed/explore"])
! browse channels
youtube.com##ytd-guide-entry-renderer:has(#endpoint[href="/feed/guide_builder"])
! more from youtube
youtube.com##ytd-guide-section-renderer:has(#guide-section-title:has-text(More from YouTube))
! footer
youtube.com##ytd-guide-renderer #footer
!!!! homepage
!!! shelves (#15)
!! youtube movies
! free movies (targets movies channelid)
youtube.com##ytd-rich-shelf-renderer:has(a[href="/channel/UClgRkhTL3_hImCAmdLfDE4g"])
! Free movies with ads
youtube.com##ytd-rich-item-renderer:has(.badge-style-type-ypc> span:has-text(Free with Ads))
!! youtube
! mixes
youtube.com##ytd-rich-item-renderer:has(ytd-thumbnail-overlay-bottom-panel-renderer)
! breaking news shelf
youtube.com##ytd-rich-shelf-renderer:has(#title:has-text(Breaking news))
m.youtube.com##ytm-rich-section-renderer:has(.rich-shelf-title:has-text(Breaking news))
! brand featured banner/ shelf (#40)
youtube.com##ytd-rich-shelf-renderer:has(ytd-badge-supported-renderer#featured-badge)
youtube.com##ytd-statement-banner-renderer
youtube.com##ytd-brand-video-singleton-renderer
youtube.com##ytd-brand-video-shelf-renderer
youtube.com##.ytd-brand-video-shelf-renderer
! new to you (#2)
youtube.com##ytd-feed-nudge-renderer
youtube.com##ytd-rich-item-renderer.style-scope:has(>.ytd-feed-nudge-renderer)
youtube.com##.ytd-rich-item-renderer:has(>.ytd-feed-nudge-renderer)
! explore categories
youtube.com##ytd-feed-filter-chip-bar-renderer:has(yt-chip-cloud-chip-renderer[chip-style=STYLE_HOME_FILTER])
!! creator
! community posts
youtube.com##ytd-rich-shelf-renderer:has(ytd-rich-item-renderer[is-post])
!!!! video browsing
! video-attached survey
youtube.com###attached-survey
!! header
! recommendations categories
youtube.com##yt-chip-cloud-renderer
!! compact blocks
! mixes
youtube.com##.ytd-compact-radio-renderer
! movie suggestions
youtube.com##ytd-compact-movie-renderer
! yt music
youtube.com##ytd-compact-playlist-renderer .ytd-channel-name:has-text(/^YouTube/):upward(ytd-compact-playlist-renderer)
!! badges
! fundraiser
youtube.com##.badge[aria-label="Fundraiser"]
! new
youtube.com##.badge[aria-label="New"]
! 4k
youtube.com##.badge[aria-label="4K"]
!! 3-dot dropdown (#38)
! download button
youtube.com##ytd-menu-service-item-download-renderer
! share button
youtube.com##ytd-menu-service-item-renderer:has(>tp-yt-paper-item:has(>yt-formatted-string:has-text(Share)))
!!!! /video
!!! multi-purpose
! rolling/animated views, likes
||www.youtube.com/s/desktop/*/jsbin/web-animations-next-lite.min.vflset/web-animations-next-lite.min.js$script,domain=youtube.com
||www.youtube.com/s/desktop/*/jsbin/scheduler.vflset/scheduler.js$script,domain=youtube.com
||www.youtube.com/youtubei/v1/updated_metadata$domain=youtube.com
!!! player background
! ambient mode
youtube.com###player>#cinematics.ytd-watch-flexy
youtube.com###player>#cinematics-container
!!! in-player
!! in-video overlays
! fast forward icon
youtube.com##.ytp-doubletap-ui-legacy
! info card
youtube.com##.ytp-cards-button-icon
youtube.com##.ytp-cards-button
! annotations
youtube.com##.ytp-ce-element
! watermark
youtube.com##.iv-branding
! cultural moment (#46)
youtube.com##.ytp-cultural-moment-overlay
!! paused/ stopped overlay
! endscreen
||www.youtube.com/s/player/*/player_ias.vflset/*/endscreen.js^$script
! recommendation pause overlay (seen in /embed/)
youtube.com##.ytp-pause-overlay
! mixes
youtube.com##.ytp-videowall-still[data-is-mix=true]
!!! controls
! autoplay button
youtube.com##button.ytp-button[data-tooltip-target-id=ytp-autonav-toggle-button]
!! settings
! enhanced bitrate selector
youtube.com##.ytp-quality-menu .ytp-menuitem:has(.ytp-premium-label)
!!! under-player
!! chips/ badges
! fundraiser tag
youtube.com##ytd-badge-supported-renderer:has(.badge-style-type-ypc):remove()
! buy product badge
youtube.com##.ytp-suggested-action-badge
!! title
! supertitle (trending for x) or #hashtags
youtube.com###title>#super-title
! collection badge
youtube.com##.badge.badge-style-type-collection
! supertitle for location
youtube.com###info-container>#info>a.yt-simple-endpoint[style-target="bold"]
! location pin
youtube.com##a:has(>yt-icon[icon="yt-icons:location_pin"])
! product count
youtube.com##yt-formatted-string>span:has-text(product)
! hashtags in description
youtube.com##a[href^="/hashtag/"]
!! owner/ channel
! member/ join button
youtube.com###sponsor-button
! free trial/ tv subscription
youtube.com###purchase-button
! channel name tooltip
youtube.com##ytd-channel-name>.ytd-channel-name>tp-yt-paper-tooltip.ytd-channel-name
!! action row
! download button
youtube.com##ytd-download-button-renderer
! download worker
||www.youtube.com/s/player/*/player_ias.vflset/*/offline.js$script
! clip button
youtube.com##ytd-button-renderer:has(a:has(> yt-formatted-string:has-text(Clip)))
youtube.com##ytd-button-renderer:has(>yt-button-shape:has(> button[aria-label=Clip]))
youtube.com##yt-button-view-model:has(>button-view-model> button[aria-label=Clip])
! clip overflow menu
youtube.com##ytd-menu-service-item-renderer:has(>tp-yt-paper-item:has(>yt-formatted-string:has-text(Clip)))
! thanks button
youtube.com##ytd-button-renderer:has(>a:has(> yt-formatted-string:has-text(Thanks)))
youtube.com##ytd-button-renderer:has(>yt-button-shape:has(> button[aria-label=Thanks]))
youtube.com##yt-button-view-model:has(>button-view-model> button[aria-label=Thanks])
! thanks overflow menu
youtube.com##ytd-menu-service-item-renderer:has(>tp-yt-paper-item:has(>yt-formatted-string:has-text(Thanks)))
! share button
youtube.com##ytd-button-renderer:has(>a:has(> yt-formatted-string:has-text(Share)))
youtube.com##ytd-button-renderer:has(>yt-button-shape:has(> button[aria-label=Share]))
youtube.com##yt-button-view-model:has(>button-view-model> button[aria-label=Share])
! save button
youtube.com##ytd-button-renderer:has(>yt-button-shape:has(> button:has-text(Save)):has(yt-icon))
youtube.com##tp-yt-paper-item:has(yt-icon):has(yt-formatted-string:has-text(Save))
youtube.com##yt-button-view-model:has(>button-view-model> button[aria-label="Save to playlist"])
! hide disabled buttons (download for non-premium, save for yt kids), exclude comment save/submit (#36)
youtube.com##ytd-button-renderer:has(>yt-button-shape:has(>button.yt-spec-button-shape-next--disabled)):not(.ytd-commentbox)
!!! description box
! stop scrolling on "show less" (ubo only)
youtube.com##+js(aeld, yt-text-inline-expander-collapse-clicked)
!! info box
! remove hashtags
youtube.com###info-container #info>a.yt-simple-endpoint[href^="/hashtag/"]
!! under-description shelves
! merch shelf
youtube.com##ytd-merch-shelf-renderer
! ticket shelf
youtube.com###ticket-shelf
! clarify / covid-19 box
youtube.com###clarify-box
! topic (kids/ gaming)
youtube.com##.ytd-rich-metadata-row-renderer[component-style=RICH_METADATA_RENDERER_STYLE_TOPIC]
! box art (game being played)
youtube.com##.ytd-rich-metadata-row-renderer[component-style=RICH_METADATA_RENDERER_STYLE_BOX_ART]
! show metadata
youtube.com###collapsible > .ytd-metadata-row-container-renderer
! featured music
youtube.com##ytd-video-description-music-section-renderer
youtube.com##div[slot="extra-content"]:has(button-view-model>a[href="/channel/UC-9-kyTW8ZkZNDHQJ6FgpwQ"])
youtube.com##ytd-horizontal-card-list-renderer:has(button-view-model>a[href="/channel/UC-9-kyTW8ZkZNDHQJ6FgpwQ"])
! featured playlist (#37)
youtube.com##ytd-video-description-course-section-renderer
! products in current video
youtube.com##ytd-metadata-row-container-renderer:has(ytd-rich-metadata-renderer[component-style="RICH_METADATA_RENDERER_STYLE_SQUARE"])
! suggested channels
youtube.com##ytd-metadata-row-renderer:has(yt-formatted-string[has-link-only_] > a[href^="/channel/"])
! suggested videos
youtube.com##ytd-metadata-row-renderer:has(yt-formatted-string[has-link-only_] > a[href^="/watch"])
! age restricted notice
youtube.com##ytd-metadata-row-renderer:has(a[href="http://www.youtube.com/t/community_guidelines"])
! featured places
youtube.com##ytd-horizontal-card-list-renderer:has(ytd-place-data-view-model)
! large channel infocard (#35)
youtube.com##ytd-video-description-infocards-section-renderer
youtube.com##ytd-video-description-infocards-section-renderer>a#header[href^="/@"]
youtube.com##ytd-video-description-infocards-section-renderer>#action-buttons
!!! comments
! channel member comment badge
youtube.com##span#sponsor-comment-badge
! paid (thanks) comment badge
youtube.com###paid-comment-chip
! paid (thanks) comment highlight
youtube.com##ytd-comment-renderer#comment:style(--ytd-comment-paid-background-color: transparent !important;)
!!! recommendations sidebar
! watch on youtube
youtube.com##ytd-tvfilm-offer-module-renderer
! nudges (recommendation/ turn on watch history)
youtube.com##ytd-feed-nudge-renderer
!! video-specific sidebar
! fundraiser
youtube.com###donation-shelf
! other sponsored videos (#1)
youtube.com##ytd-engagement-panel-section-list-renderer[target-id="ytbc-related-shelf"]
! ads
youtube.com##ytd-engagement-panel-section-list-renderer[target-id="engagement-panel-ads"]
! shelves in watch-next recommendations (shorts shelf)
youtube.com##ytd-watch-next-secondary-results-renderer ytd-shelf-renderer
! shop products in this video
youtube.com##ytd-engagement-panel-section-list-renderer[target-id^="shopping_panel_for_entry_point"]
!!!! /shorts player
! share button (#38)
youtube.com###share-button.ytd-reel-player-overlay-renderer
!!!! /channel page
!! tabs
! channel store tab
youtube.com##tp-yt-paper-tab:has(> .tab-content:has-text(Store))
youtube.com##yt-tab-shape[tab-title="Store"]
! community tab
youtube.com##tp-yt-paper-tab:has(> .tab-content:has-text(Community))
youtube.com##yt-tab-shape[tab-title="Community"]
! channels
youtube.com##tp-yt-paper-tab:has(> .tab-content:has-text(Channels))
youtube.com##yt-tab-shape[tab-title="Channels"]
!! channel header / homepage
! channel banner
youtube.com##.banner-visible-area
youtube.com##.page-header-banner
! home page links
youtube.com###channel-header > #links-holder
youtube.com###channel-header-links
! channel handle
youtube.com###meta>p:has(>#channel-handle)
youtube.com##.meta-item:has(>#channel-handle)
!! shelves
! recognized channel member
youtube.com##.ytd-recognition-shelf-renderer
! members only videos
youtube.com##ytd-shelf-renderer:has(.badge-style-type-members-only)
! featured channels
youtube.com##ytd-shelf-renderer:has(ytd-channel-renderer):has(.grid-subheader:not(:has(>#title-container[hidden])))
! channel scroller
youtube.com##ytd-shelf-renderer:has(ytd-grid-channel-renderer)
!! about
! about > links
youtube.com###links-container.ytd-channel-about-metadata-renderer
!!!! live chat
!! premiere chat
! hide "chat replay is disabled"
www.youtube.com##ytd-live-chat-frame:has(> ytd-message-renderer)
! chat window
youtube.com###chat
!! chat header
! superchat/member ticker
youtube.com###ticker
! superchat/ donate button
youtube.com###product-picker
!!! chat messages
!! user badges
! paid badges
youtube.com##yt-live-chat-paid-sticker-renderer
! chat member badge
youtube.com##yt-live-chat-author-badge-renderer[type=member]
! revert member color
youtube.com###author-name.member:style(color: var(--yt-live-chat-secondary-text-color, rgba(255,255,255,0.7)) !important)
!! message content
! custom emojis
youtube.com##.emoji[data-emoji-id]
! emoji-only messages
youtube.com##yt-live-chat-text-message-renderer:not(:has(#message:min-text-length(1)))
!! non-text messages
! superchats
youtube.com##yt-live-chat-paid-message-renderer
! memberships
youtube.com##yt-live-chat-membership-item-renderer
!!!! /results - search
!! shelves
! people also watched, latest from channel, for you, previously watched, channels new to you
youtube.com##:matches-path(/results) ytd-shelf-renderer
! People also search for
youtube.com##:matches-path(/results) ytd-horizontal-card-list-renderer
! Featured channels
youtube.com##:matches-path(/results) ytd-universal-watch-card-renderer
! channel mix
youtube.com##ytd-radio-renderer
!! channel results
! channel description
youtube.com##:matches-path(/results) .ytd-channel-renderer#description
!!!! embed
! info panel
youtube.com##.ytp-info-panel-preview
! watch on youtube overlay
youtube.com##.ytp-impression-link