Remove Youtube Adblock Warnings!

No more 'Ad blockers are not allowed on YouTube'

< Feedback on Remove Youtube Adblock Warnings!

Question/comment

§
Posted: 2023.10.20.
Edited: 2023.10.20.

Here is a possible fix to the delay timer. Works for me but need more tests.

For version 0.2.2, change line 23-26 to:

        if(document.getElementsByClassName("style-scope ytd-popup-container").length > 0 && document.getElementById("divider"))
        {
            setTimeout(function(){
                document.getElementsByClassName("style-scope ytd-popup-container").remove();

Thereby removing the entire warning section. Side effect: I think it also removes all Youtube popups. Please help me test this.

Post reply

Sign in to post a reply.