ARedditor
[https://www.reddit.com/r/webdev/comments/gzr3cq/fyi_you_can_bypass_youtube_ads_by_adding_a_dot/] recently discovered that he didn?t need to subscribe to YouTube Premium to get
rid of annoying ads that roll out before a video plays. The loophole the used
found allows anyone to skip ads with a simple tweak. While it only works on
desktop, it can also work on smartphones while accessingYouTubevideos in the
mobile browser in desktop mode.

The Redditor discovered that he could simply skip ads on YouTube by adding a
period after the domain name. For it to work, you simply need to enter a period
(.) after .com in the address bar of the browser. You can make this work on
mobile browsers too if you make use of the ?Request Desktop Site? feature and
then following the same steps.

The Redditor even explained why inserting a simple period could do so:

?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.?

This loophole can also bypass paywalls with New York Times being an instance
mentioned by the Redditor.

But given that this loophole has received a lot of attention, it won?t be too
soon before YouTube moves to patch this. And what we also need to know is that
although ads might seem annoying, it helps pay the content creators that you may
adore. If you really want to skip the ads, you can pay and get ads removed via a
YouTube subscription.

But if you?re not willing to pay to YouTube, and hence content creators,
advertisers come into the picture. In a way, they pay YouTube on your behalf and
in turn buy some screen time to advertise their products or services to you.