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.
< Σχολιασμός για τον κώδικα Disable YouTube Video Ads
Hi @jcunews,
With the great help of the FireMonkey Dev (wonderful person!), here I attach you a slight different version of your script: https://pastebin.com/LuhNsmDA
At the first part of the attached pastebin you'll find some explanations.
In short, in this version you'll se a new header using "// @inject-into page" and "// @grant none". Also, you will see small changes in your code. The benefits of this version are:
a) It works in all monkeys (TM, FM, GM, VM)
b) It takes advantage of built-in features
Hope this may be useful for you and your code!
Thanks again for your great scripts.