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: https://www.youtube .com / watch? V = 2O4K_tmZs1A
  • Changed URL: https://www.youtube .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

Hamza
Hamzahttps://nupgrade.com/
I am a web developer, and digital marketer I love programming, and technologies, always looking for new technologies and new challenges.

Latest Articls

Windows PIN and password: What is the difference, and Which is more secure?

What is the difference between the Windows account PIN and password?Which is more secure: Windows PIN or password? Check now...

How to see which are the most played songs on TikTok?

How to see which are the most played songs on TikTok?TikTok has become a popular video and music platform. so...

The 10 best movies on Netflix, according to IMDb rating

Not sure about what movie to watch? Discover the top ten of The best movies on Netflix, according to...

Which power supply to buy for the PC? Know how to choose the right one

Which power supply to buy for the PC?Have doubts about choosing a font for your computer? Check out our shopping...

How to activate OK Google and use this Google Assistant?

How to activate OK Google and use?Below, see how to activate and use this Google assistant, as well as...

How to use Amazon Echo as a speaker on TV?

How to use Amazon Echo as a speaker on TV?check out how to connect Amazon Echo As A Speaker...

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…

What is a USB Type-B cable and what is it for? here is what y should know!

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 Use “Freeze Frame” effect on TikTok

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

SCAM: Cicret Bracelet projects 2021 Update

Cicret Bracelet is a wearable bracelet that has a pico projector that projects your smartphone on your skin..., at least that was in the advertising video but is that true or just a scam

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.

how to connect ps4 controller to pc: super easy ways

If you love playing games on your PS4 and want the same DualShock controller...

ASUS ZenWiFi AX XT8 Review: The Real Power of Wi-Fi 6

ASUS ZenWiFi AX XT8 Review: The Real Power of Wi-Fi 6ASUS ZenWiFi AX XT8...

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

Bill Dally, the chief scientist at Nvidia developed a low-cost open-source ventilator, which can...

18 TB Capacity HDD from Western Digital

18 TB Capacity HDD from Western DigitalWestern Digital is preparing to add 16 and...

Best wireless headphones under 50$ [2019 black Friday deals]

top picks for the best wireless headphones under 50$ to get the most of the black Friday 2019

What is Spatial Audio and how does it work?

What is Spatial Audio and how does it work?Spatial Audio is an audio technology...

Galaxy Z flip no ordinary smartphone with free access to Youtube premium

“Galaxy Z flip,” Samsung says “this is no ordinary smartphone, It changes everything...

Acer KG241Q 144Hz Monitor Review

One of the most requested reviews here at NUpgrade is finally coming out of...

the 16 best games of the MS-DOS era: play now in the browser for free

the best games of the MS-DOS eraGauntlet (Atari, 1988)Civilization (MicroProse, 1991)Loom (Lucasfilm Games, 1990)Arkanoid...

Lenovo ThinkVision P44w-10 review: a giant monitor for professionals… almost flawless?

The ultra-wide monitor for PC is no longer a technological rarity appreciated only by a...

You might also likeRELATED
Recommended to you