Greasy Fork is available in English.

Auto Close YouTube Ads

Close and/or Mute YouTube ads automatically!

< Feedback op Auto Close YouTube Ads

Recensie: Goed - het script werkt zoals het hoort

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

§
Geplaatst: 29-06-2021

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

fuzetsuMaker
§
Geplaatst: 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!

Reactie plaatsen

Log in om antwoord te geven.