Remove Youtube Adblock Warnings!

No more 'Ad blockers are not allowed on YouTube'

< Обсуждения Remove Youtube Adblock Warnings!

Вопрос/комментарий

§
Создано: 20.10.2023
Отредактировано: 20.10.2023

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.

Ответить

Войдите, чтобы ответить.