Simplistic user-script to remove YouTube's "Adblockers are not allowed" popup.
It automatically closes the anti-adblock popups and un-pauses (or loads) the video for you.
Hopefully even fast enough so that you don't even notice ?
Note: This is not a replacement for your Ad-Blocker.
This script has been tested and is compatible with the following extensions and userscripts:
Existing solutions either didn't work (e.g. a semi transparent window was still there and scrolling was disabled) or they were overkill (e.g. a complete youtube-only adblocker) or they only killed one type of popup.
Hence: YouTube Anti-Anti-Adblock
Install Tampermonkey for your browser:
Note: ViolentMonkey works too!
Install the script:
If the button doesn't work for some reason: click here.
Feature request or discovered a bug? Please open an Issue here on GitHub.
Made with contrib.rocks.
If you're interested in helping out (thanks!):
git clone https://github.com/NullDev/YT-Anti-Anti-Adblock.git
npm i
Basically, in your Tampermonkey dashboard you create a new script that looks like this:
// ==UserScript==
// @name YouTube Anti-Anti-Adblock
// @name:de YouTube Anti-Anti-Adblock
// @namespace yt-anti-anti-adblock
// @version 1.2.2
// @description Removes all the "ad blockers are not allowed on youtube" popups.
// @description:de Entfernt alle "Werbeblocker sind auf YouTube nicht erlaubt" popups.
// @author NullDev
// @copyright Copyright (c) 2023 NullDev
// @license MIT
// @match *://*.youtube.com/*
// @homepageURL https://github.com/NullDev/YT-Anti-Anti-Adblock
// @supportURL https://github.com/NullDev/YT-Anti-Anti-Adblock/issues/new/choose
// @icon https://raw.githubusercontent.com/NullDev/YT-Anti-Anti-Adblock/master/icon.png
// @grant none
// @run-at document-idle
// @require file://C:/Users/XXX/PATH/TO/REPOSITORY/YT-Anti-Anti-Adblock/yt-anti-anti-adblock.user.js
// ==/UserScript==
Pay attention to the // @require
line and edit the path accordingly.
file://C:/.../...
file:///.../...
Note: Make sure you DO NOT provide a @updateURL
and @downloadURL
field!
Then make sure the Tampermonkey extension has permissions for file paths.
And finally, just code in your IDE and Tampermonkey will autoupdate it. (You need to reload YouTube though)
Now all thats left to do is grab an open issue and start coding. ?