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