Some people go through all sorts of trouble to avoid ads and paywalls on the internet, whether that means installing ad blockers or trying complicated workarounds. As it turns out, in many cases, getting past these ‘obstacles’ is often as simple as adding a period to a websites domain.

In other words — assuming you’re not a YouTube Premium subscriber —  ‘youtube.com/reallycoolvideo’ will show ads, but ‘youtube.com./reallycoolvideo’ will not. It’s that simple.

The bug is mostly limited to desktop browsers, but on mobile, you can use the ‘Request Desktop Site’ option in order for the trick to work.

Redditor u/unicorn4sale noted the bug on Reddit‘s r/webdev subreddit. According to u/unicorn4sale:

“It’s a commonly forgotten edge case, websites forget to normalize the hostname, the content is still served, but there’s no hostname match on the browser so no cookies and broken CORS – and lots of bigger sites use a different domain to serve ads/media with a whitelist that doesn’t contain the extra dot”

In other words, it’s a simple oversight — and it’s far from just YouTube. A quick test showed it to be effective at getting past paywalls for The New York Times, Wired, The Washington Post, The Atlantic, and several others.

Of course, now that the bug is out in the open, it’s only a matter of time before this little loophole is closed. Enjoy it while it lasts — or, you know, pay up.

Via Android Central

on u/unicorn4sale [Reddit]

Read next: How to find coronavirus testing centers in India using Google services

Corona coverage

Read our daily coverage on how the tech industry is responding to the coronavirus and subscribe to our weekly newsletter Coronavirus in Context.

For tips and tricks on working remotely, check out our Growth Quarters articles here or follow us on Twitter.

Premium black unisex t shirt. Mobile slot game.