diff --git a/Youtube-Ad-blocker-Reminder-Remover.user.js b/Youtube-Ad-blocker-Reminder-Remover.user.js index 36952eb..dca0bb5 100644 --- a/Youtube-Ad-blocker-Reminder-Remover.user.js +++ b/Youtube-Ad-blocker-Reminder-Remover.user.js @@ -140,6 +140,8 @@ const mastheadAd = document.querySelector('.ytd-video-masthead-ad-v3-renderer'); const sponsor = document.querySelectorAll("div#player-ads.style-scope.ytd-watch-flexy, div#panels.style-scope.ytd-watch-flexy"); const nonVid = document.querySelector(".ytp-ad-skip-button-modern"); + const youtubepremium = document.getElementById('masthead-ad'); + if (ad) { @@ -155,6 +157,7 @@ sparklesContainer?.remove(); mainContainer?.remove(); feedAd?.remove(); + youtubepremium?.remove(); mastheadAd?.remove(); sponsor?.forEach((element) => { if (element.getAttribute("id") === "panels") {