-
Prerequisites
URL(s) where the issue occurs.https://www.youtube.com/ with Multiselect for YouTube Extension (Note: this is not about YouTube itself, but about the toolbar added into the website by the extension, so I believe this is not suitable for the dedicated YouTube thread) DescriptionThe Multiselect for YouTube extension allows to select multiple videos and perform an action on the whole group (e.g. add to playlist). For this purpose, it seems to inject a button and toolbar into the website (toolbar appears when button is pressed). On the toolbar, there is a quite annoying red heart animation beside a donation button. The animation serves no functional purpose, but is highly distracting to the user. The CSS Path is It's an odd case as the element comes from an extension, yet it seems to me like a candidate for the uBlock Annoyances list, assuming it is possible to create a filter. WDYT? PS: I'm new to uAssets issues. While I acted according to my best knowledge, feel free to redirect me if this is nevertheless not the right place. Other extensions usedMultiselect for YouTube Screenshot(s)Screenshot(s)Screen recording: 2024-04-23 22-48-33.zip (see ConfigurationDetailsuBlock Origin: 1.57.2
Firefox: 120
filterset (summary):
network: 190737
cosmetic: 203673
scriptlet: 49558
html: 2036
listset (total-discarded, last-updated):
added:
adguard-generic: 81053-3929, 2h.11m
adguard-spyware-url: 1501-120, 2h.11m
block-lan: 61-0, 22d.23h.21m
curben-phishing: 14197-1, 8h.30m
fanboy-cookiemonster: 66950-16270, 8d.22h.25m
ublock-annoyances: 6887-106, 2h.56m Δ
dpollock-0: 11669-393, 2d.22h.4m
DEU-0: 7408-41, 8h.30m
adguard-cookies: 29308-3730, 2h.11m
adguard-popup-overlays: 27152-328, 2h.11m
adguard-mobile-app-banners: 5149-21, 2h.11m
adguard-other-annoyances: 14167-357, 2h.11m
[4 lists not shown]: [too many]
default:
user-filters: 4-0, never
ublock-filters: 37758-109, 2h.56m Δ
ublock-badware: 8384-0, 2h.56m Δ
ublock-privacy: 833-1, 2h.56m Δ
ublock-unbreak: 2316-2, 2h.56m Δ
ublock-quick-fixes: 184-14, 2h.56m Δ
easylist: 86302-1615, 2h.56m Δ
easyprivacy: 50796-158, 2h.56m Δ
urlhaus-1: 13565-0, 8h.30m
plowe-0: 3736-1538, 2d.22h.4m
filterset (user): [array of 4 redacted]
trustedset:
added: [array of 18 redacted]
userSettings:
advancedUserEnabled: true
showIconBadge: false
hiddenSettings: [none]
supportStats:
allReadyAfter: 11680 ms (selfie)
maxAssetCacheWait: 2316 ms
cacheBackend: indexedDB |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
(Note that the toolbar is essential for the extension's functionality – the multiselect features can't be used unless the toolbar is exposed.) |
Beta Was this translation helpful? Give feedback.
-
Gotcha, with some further web search and try & error, I managed to write the filter: To hide the yellow donate button as well (though it's not strictly an annoyance): Edit: removed |
Beta Was this translation helpful? Give feedback.
-
(see also gorhill/uBlock#619) |
Beta Was this translation helpful? Give feedback.
-
DOM elements created by other extensions won't be addressed in uAssets. You can use the filters as custom filters. I'll convert this into discussion. |
Beta Was this translation helpful? Give feedback.
Gotcha, with some further web search and try & error, I managed to write the filter:
www.youtube.com##div[id^=msfy-bar] > div#content > yt-icon[id^=msfy-donate-icon]
To hide the yellow donate button as well (though it's not strictly an annoyance):
www.youtube.com##[id^=msfy-donate-button] > button
Edit: removed
-lvc
suffix as it also seems to by dynamic, at leastvc
.