Auto Close YouTube Ads

Close and/or Mute YouTube ads automatically!

< Відгуки до Auto Close YouTube Ads

Відгук: Добре - скрипт працює добре

§
Опубліковано: 28.06.2021

I have modified the code a bit to run at document-start and now it is muting and hiding ads immediately instead of playing while the page is still loading. I wait for document.body to appear before running any other code because that seems to be the main (hidden) dependency.

I posted the modified code to a pastebin. Please feel free to use it.
https://paste.fizi.ca/?9159eda5c8167dea#DUSfLPopczPJ2rBWU4PY8t8M8M3yUo4eUtuQeLquFq8b

§
Опубліковано: 29.06.2021

I dont have modified the code a bit to run at document-start and

fuzetsuАвтор
§
Опубліковано: 19.03.2022

Thanks for the idea. I played around with it and opted for @run-at document-body so that I don't need the extra waitForElems('body').

Included the tweak in 1.4.4!

Опублікувати відповідь

Sign in to post a reply.