Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
How to Bypass YouTube ADs
Sometimes the random ads are irritating in YouTube video. I am showing how you can bypass YouTube Ads by using a simple trick.
What to do?
Open your browser.
Visit YouTube.com URL.
When you visit your favorite video on YouTube, on address bar, you need to add a dot [.]
Done.
POC Example
When you visit a YouTube video, Url looks like YouTube.com/xyz, and here you will need to add youtube.com./xyz in URL.
https://www.youtube.com/watch?v=xyz (Showing ADs)
https://www.youtube.com./watch?v=xyz (Not Show ADs)
Note - It will work on the desktop. For mobile browser, you need to use a desktop version of the video page.
How does it works
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. Hence, 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.
