With this trick, you can disable ads on YouTube and bypass paywalls at the same time.
Due to a error on some of the websites, you can enjoy their content without ads or paying.
As this smart developer explains, websites forget to normalize the hostname and the content is served without a hostname to match on the web browser.
Because of this, no cookies are used and the Cross-origin resource sharing is broken.
What this mean is that you can put a dot after the domain on YouTube to watch video without any ads.
This won’t last forever. I assume YouTube will rush to fix it but it will be useful while it lasts.
The same dot can be used to bypass paywalls like that from NY Times or Washington Post.
In this case, the URL should look like this: https://www.nytimes.com./2020/06/09/us/george-floyd-who-is.html.