There are many who do not want to see ads and try to avoid paywalls on the Internet by installing ad blocking programs or other complicated solutions. As it turns out, in many cases, overcoming these "obstacles" is often as simple as adding a dot to a URL.
In other words: Suppose you are not a YouTube Premium subscriber, “youtube.com/gamatovideo” will display ads, but “youtube.com./gamatovideo” will not. It is so simple.
The error is mainly limited to desktop browsers, but on mobile, you can use the "desktop site" option to get the trick working.
Redditor u / unicorn4sale reported the error to subdreddit r / webdev. According to unicorn4sale:
"It's a commonly forgotten case, websites forget to normalize the hostname, and the content is still displayed when the hostname is not matched in the browser. So there are no cookies and CORS. Many sites use different domains to display ads with a list of permissions that does not contain the extra dot. "
In other words, it's a simple negligence and it doesn't just work for YouTube. A quick test has shown that it is effective and surpasses paywalls on The New York Times, Wired, The Washington Post, The Atlantic and many more
Of course, now that the bug has been made public it is only a matter of time before it closes. Enjoy it as long as it lasts.