qutebrowser: remove more yt ads
This commit is contained in:
parent
d4073acce2
commit
3e1222e211
@ -7,7 +7,7 @@
|
|||||||
// @exclude *://*.youtube.com/subscribe_embed?*
|
// @exclude *://*.youtube.com/subscribe_embed?*
|
||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
document.querySelectorAll('.ytd-page-top-ad-layout-renderer,.ytd-video-display-full-buttoned-renderer, ytd-display-ad-renderer').forEach(
|
document.querySelectorAll('.ytd-page-top-ad-layout-renderer,.ytd-video-display-full-buttoned-renderer, ytd-display-ad-renderer,.ytd-banner-promo-renderer-background,.ytd-player-legacy-desktop-watch-ads-renderer').forEach(
|
||||||
el => {
|
el => {
|
||||||
el.remove();
|
el.remove();
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user