qutebrowser: remove more yt ads

This commit is contained in:
Alexander Bocken 2024-02-05 09:25:33 +01:00
parent d4073acce2
commit 3e1222e211
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -7,7 +7,7 @@
// @exclude *://*.youtube.com/subscribe_embed?*
// ==/UserScript==
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.remove();
})