DEV Community

Discussion on: Make your own YouTube AdBlocker for FREE!

Collapse
 
czed13 profile image
Info Comment hidden by post author - thread only visible in this permalink

What a terrible code to share.
Having "matches": [""] means it will run on ALL webpages, not only youtube.* domains.

Not to mention you're not "blocking" the ads but waiting for them to timeout and clicking on the "skip ad" button : skipButton[0].click();

100% Clickbaity title

Some comments have been hidden by the post's author - find out more