Greasy Fork is available in English.
Disable YouTube video & screen based ads at home page, and right before or in the middle of the main video playback. Also disable YouTube's anti-adblocker popup dialog. For new YouTube layout (Polymer) only.
< Commentaires sur Disable YouTube Video Ads
Yeah, confirming, latest 1.2.27 perfectly works with firemonkey. thank you @jcunews!
By trying to make this script compatible with other monkeys (violentmonkey, greasemonkey etc), monkey devs in their githubs wrote the following:
"The script is (has been) using plain JavaScript, with the exception of unsafeWindow mapped to window which in reality means the window in the userscript is the same window as the page (as would be the case for userscripts injected into page context).
At the moment ...
In case of GM & FM, userscript is injected into page context
In case of TM, it is injected into content context and then mapped to page window via unsafeWindow
In case of VM, since VM by default injects into page context, the script works but can break if VM default is changed to content
Considering all above, @jcunews could have opted to inject into page context all the time and there would have been no need for @grant unsafeWindow and it would have worked the same way on all userscript managers."
@jcunews I hope the comment above is useful for you and for your script. Thank you once again for your excellent job!