update for new gridview ads
This commit is contained in:
parent
4e53b56e59
commit
ba4f3a72a0
@ -1,13 +1,13 @@
|
||||
// ==UserScript==
|
||||
// @name Auto Remove Ads
|
||||
// @version 1.0.0
|
||||
// @version 1.0.1
|
||||
// @description Autoremove static ads
|
||||
// @author Alexander Bocken
|
||||
// @match *://*.youtube.com/*
|
||||
// @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,.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').forEach(
|
||||
el => {
|
||||
el.remove();
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user