From cbefbe5a5e6f766051155f0a7ab938d6e7a56126 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Tue, 5 Mar 2024 12:46:10 +0100 Subject: [PATCH] qutebrowser: remove feed ads on video pages --- .local/share/qutebrowser/greasemonkey/remove_more_yt_ads.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/share/qutebrowser/greasemonkey/remove_more_yt_ads.js b/.local/share/qutebrowser/greasemonkey/remove_more_yt_ads.js index 76862e9..6d14006 100644 --- a/.local/share/qutebrowser/greasemonkey/remove_more_yt_ads.js +++ b/.local/share/qutebrowser/greasemonkey/remove_more_yt_ads.js @@ -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(); })