Bypass ads on YouTube and some paywalls without third-party tools
#1
Lightbulb 
Quote:
[Image: youtube-cross-origin-errors.png]

Advertising on YouTube has become a little excessive in recent time as you may be forced to watch one or multiple video advertisements while watching a single video on the site. While ad-blockers do take care of the videos usually, changes to ads or the inability to install blockers may block that option on your end temporarily or permanently.

A Reddit user published a neat trick recently that lets you bypass ads on the site without installing extensions or making other modifications to the browser. In fact, all that is required of you is to add a single character to the YouTube URL.

The URL of a regular YouTube video looks like this: https://www.youtube.com/watch?v=J1G4DWHPBVI

All it takes to make that video ad-free is to load https://www.youtube.com./watch?v=J1G4DWHPBVI instead. See the change? All you have to do is add a single dot behind com and before the / to view the video without any advertisement.

The trick works on YouTube's desktop site only. If you are on mobile, you can request the desktop site to make use of the trick as well. It won't work on the YouTube mobile site. You can navigate freely between pages on YouTube without having to add the dot-character to the URL each time you want to view a video.

You may have two questions about the trick: first, why YouTube is still being loaded when you add a dot-character to the address, and second, why ads don't get loaded while the regular content does.

The Reddit user explains it in the following way:
 
Quote: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.

Technically speaking, www.youtube.com. is a fully qualified domain name, and using it, instead of www.youtube.com, breaks certain features because they are designed to work only on the latter because they are different. If you check the Developer Tools console when using the fully qualified domain name, you will notice that several cross-origin requests have been blocked
...
Continue Reading
[-] The following 1 user says Thank You to harlan4096 for this post:
  • silversurfer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Recent Posts
XYplorer
What's new in Rele...Kool — 11:44
uBOLite 2026.419.1519 (already available...
uBOLite 2026.419.1...harlan4096 — 09:04
K. STANDARD / PLUS / PREMIUM / KSOS 21.2...
K. STANDARD / PLUS ...harlan4096 — 09:02
Mozilla's MZLA Technologies Launches Thu...
MZLA Technologies,...harlan4096 — 08:43
QOwnNotes
26.4.16  Tag assi...Kool — 12:15

[-]
Birthdays
Today's Birthdays
avatar (45)wapedDow
Upcoming Birthdays
avatar (51)steakelask
avatar (45)Termoplenka
avatar (43)bycoPaist
avatar (49)pieloKat
avatar (43)ilyagNeexy
avatar (51)donitascene
avatar (51)Toligo

[-]
Online Staff
There are no staff members currently online.

>