Close and/or Mute YouTube ads automatically!
< Opiniones de Auto Close YouTube Ads
I dont have modified the code a bit to run at document-start and
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!
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