Auto Close YouTube Ads

Close and/or Mute YouTube ads automatically!

< Feedback on Auto Close YouTube Ads

Review: Good - script works

§
Posted: 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

§
Posted: 29.06.2021

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

fuzetsuAuthor
§
Posted: 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!

Post reply

Sign in to post a reply.