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 news

How to recover deleted or corrupted files 2021 (Windows and Android)

How to recover deleted or corrupted files 2021 (Windows and Android) Accidentally deleting a file or having corrupted media is...

The best free antivirus for Windows in 2021

Having an antivirus on your computer is a way to keep yourself protected from the major viruses and malware on the Internet. Check out the best free antivirus for Windows!

A new version of Instagram for children under 13 ?!

Instagram for children under 13 ?! Facebook plans to introduce a new version of Instagram soon. The version will only be...

Microsoft officially announces the acquisition of ZeniMax Media, Bethesda’s parent company

Microsoft's acquisition of ZeniMax Media is officially announced on Tuesday (09). Check out what each company said about it.

How to create an ISO image on a USB stick for Windows and Linux?

If you need to reinstall Windows and Linux on your computer, check out how to create an ISO image on a USB stick and use it.

UNPRECEDENTED! Images show that Mars has the largest canyon in the Solar System

Arizona researchers were able to capture images showing the Valles Marineris, the gorge ten times larger than the Grand Canyon so Mars has the largest canyon in the Solar System.

Must read

Adobe launches Photoshop Camera for Android and IOS

Adobe launches Photoshop Camera app for Android and iPhone Expanding...

Microsoft again? June Windows 10 updates cause new system problems

June Windows 10 updates cause new system problems Microsoft recognized...

Nvidia Creates Low-cost Open Source Ventilator to Help COVID-19 Patients

Bill Dally, the chief scientist at Nvidia developed a...

You might also likeRELATED
Recommended to you