Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

Commit

Permalink
Fixed black overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealJoelmatic authored Jan 20, 2024
1 parent 32b308c commit 5c064fc
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Youtube-Ad-blocker-Reminder-Remover.user.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name Remove Adblock Thing
// @namespace http://tampermonkey.net/
// @version 3.7
// @version 3.8
// @description Removes Adblock Thing
// @author JoelMatic
// @match https://www.youtube.com/*
Expand Down Expand Up @@ -167,10 +167,6 @@
if (video) video.play();
}

//make sure this is no overlay at all
const hidebackdrop = document.querySelector("tp-yt-iron-overlay-backdrop");
if (hidebackdrop) hidebackdrop.style.display = 'none';
if (hidebackdrop) hidebackdrop.remove;

//
// Speed Skip Method
Expand Down Expand Up @@ -266,6 +262,7 @@
ad-slot-renderer,
ytm-promoted-sparkles-web-renderer,
masthead-ad,
tp-yt-iron-overlay-backdrop,
#masthead-ad {
display: none !important;
Expand Down

0 comments on commit 5c064fc

Please sign in to comment.