TricksTrick discovered to block all ads on YouTube

Trick discovered to block all ads on YouTube


Trick discovered to block all ads on YouTube

A Reddit user discovered a way to block all ads on YouTube and also the paywall on news sites and newspapers. Taking advantage of a hostname flaw, it is possible to access the full content without the domain to serve the ads being matched.

And in reality, the failure is incredibly simple. The user points out that the only thing that needs to be done, is to add a period in the URL. Thus, the website in question ceases to access server data, from a different domain, which are used to serve the ads (cross-origin resource sharing, or ‘CORS’).

For example:

  • Normal URL: .com / watch? V = 2O4K_tmZs1A
  • Changed URL: .com. / watch? v = 2O4K_tmZs1A

The only necessary change to the URL is to use “.com.” Instead of just “.com”. But in addition to cutting sites’ access to ads, the change also cuts access to cookies.

Thus, after starting to browse with the “hack” taught in Reddit, the user’s session is no longer valid – unless he opens a new tab of the site. Remember that YouTube may soon fix the flaw by normalizing the hostname in the browser.

Legal or not legal?

YouTube, which is a free platform, is monetized and generates income for creators through ads. One option to monetize and offer good features is YouTube Premium, which eliminates ads on the platform and offers a few more extras.

Premium arrived and gives the possibility to download videos to watch offline; it does not display advertisements before or during videos; it offers the YouTube Music service and more.

But in addition to YouTube, the method can also affect news sites and newspapers that use the paywall. This method restricts access to some type of content unless you are a subscriber.

There are other ways to eliminate ads on websites, such as blockers. On the other hand, the practice is not considered to be the most ethical, but it generates discussions about access to content. Especially when it comes to information.

In this case, it is not an illegal way to circumvent the ads. The flaw is in the redirection of the sites themselves and can be exploited in a simple way, until then.

It is also possible to use the same method on smartphones. Just open the browser and access pages in the desktop version, and then add the dot in the URL.

👇 More in NUpgrade

I am a web developer, and digital marketer I love programming, and technologies, always looking for new technologies and new challenges.

Latest Articls

All about GTA 6 – Rumors, confirmations, plot, and more

Grand Theft Auto is one of the most famous franchises in the gaming world. Here, we're going to talk about everything we already know about Rockstar Games' next biggest hit. All about GTA 6!

iPhone 13 Pro and Pro Max cameras will get an ultrawide camera with autofocus

Renowned analyst Kuo has released new information about the iPhone 13 Pro and Pro Max cameras; more elements and an ultrawide camera with an autofocus system. Check out!

Windows 11: What’s New in Microsoft’s System?

Microsoft finally announced its new operating system today! Check out everything that was presented about Windows 11 and find out what's new in it!

Minimum requirements to run Windows 11 on your computer

Windows 11 will need some requirements to run on your computer. Microsoft has already released the minimum requirements to run Windows 11, check if your computer will run Windows 11.

How to play with crossplay in Overwatch?

Crossplay is now available on Overwatch. Check out the walkthrough to take advantage of the new feature in Blizzard's blockbuster to play with crossplay in Overwatch.

The new Huawei Band 6 is released globally

The Chinese manufacturer today globally launched the new Huawei Band 6 smartband. Check out all the details about the Chinese's new wearable!

Must Popular

Best off-road GPS apps for android and ios IOS in 2021

Best off-road GPS apps for android and ios iPhone in 2021, best off tail map apps for all platforms and devices phone, iPad, Tablets, laptops…

How To Use “Freeze Frame” effect on TikTok

Step by step to make the "freeze frame" effect on Tik Tok

What is a USB Type-B cable and what is it for?

If you are looking for, need to buy or even have the curiosity to know what is the USB Type-B cable and what is it for, here you can check these answers.

how to connect ps4 controller to pc: super easy ways

Table Of ContentsHow to use the PS4 DualShock controller in SteamHow to connect the...

Minimum requirements to run Minecraft on PC in 2021

See the minimum and recommended requirements to run Minecraft in 2021 Minecraft on your computer; The most successful game among the new galley.

You might also likeRELATED
Recommended to you