You can block YouTube ads by adding one symbol to the URL. ‘With great power…’
- A redditor posted a neat trick that allows you to easily block YouTube ads.
- All you need to do is add a period after the â€œ.comâ€� of a video URL.
- However, this new power should be used responsibly.
Earlier this week, a redditor within the /r/webdev sub posted an incredibly simple trick that allows you to effectively block YouTube ads from showing up during your binges (h/tÂ Android Police). The trick doesnâ€™t require any software, extensions, or even memorizing some sort of long string of code.
Instead, the trick involves adding just one extra character to the video address, specifically a period (.) after the â€œ.comâ€� in the URL. In other words, instead of visiting â€œyoutube.com/watch?v=uK3jnIATgI4â€� you would go to â€œyoutube.com./watch?v=uK3jnIATgI4â€œ.
How does this block YouTube ads?
This quick change to the URL â€œbreaksâ€� the page in certain ways, which has a side effect of removing most (or even all) advertisements. That even includes the video ads that interrupt your viewing. The trick works on the desktop as well as mobile (although for mobile you need to pull the desktop version of the page).
Essentially, the period causes there to be no hostname match. This results in the content of the page still loading but various other connected aspects to that page â€” such as ads â€” failing to load. It doesnâ€™t just block YouTube ads, but also things like cookies, and can even be used to break through paywalls of news sites.
Now, before you rush off to start watching hundreds of YouTube videos without ads, keep in mind that ads are what keep the lights on for a lot of the creators you love. If you are not viewing ads they are not getting paid. So if thereâ€™s a creator who makes stuff you really enjoy, consider â€œsufferingâ€� through a few ads to help ensure they get to continue making new content.
More posts about YouTube