In order to fulfill the basic functions of our service, the user hereby agrees to allow Xiaomi to collect, process and use personal information which shall include but not be limited to written threads, pictures, comments, replies in the Mi Community, and relevant data types listed in Xiaomi's Private Policy. By selecting "Agree", you agree to Xiaomi's Private Policy and Content Policy .


[News] You can block YouTube ads by adding one symbol to the URL.

2020-06-12 13:14:38
261 8

Hello MIUI'ers,

Earlier this week, a redditor within the /r/webdev sub posted an incredibly simple trick that allows you to effectively block YouTube ads from showing up during your binges (h/t Android Police). The trick doesn’t require any software, extensions, or even memorizing some sort of long string of code.

Instead, the trick involves adding just one extra character to the video address, specifically a period (.) after the “.com” in the URL. In other words, instead of visiting "" you would go to ““.

How does this block YouTube ads?

This quick change to the URL “breaks” the page in certain ways, which has a side effect of removing most (or even all) advertisements. That even includes the video ads that interrupt your viewing. The trick works on the desktop as well as mobile (although for mobile you need to pull the desktop version of the page).

Essentially, the period causes there to be no hostname match. This results in the content of the page still loading but various other connected aspects to that page such as ads failing to load. It doesn’t just block YouTube ads, but also things like cookies, and can even be used to break through paywalls of news sites.

Now, before you rush off to start watching hundreds of YouTube videos without ads, keep in mind that ads are what keep the lights on for a lot of gthe creators you love. If you are not viewing ads they are not getting paid. So if there’s a creator who makes stuff you really enjoy, consider “suffering” through a few ads to help ensure they get to continue making new content.



Number of participants 1 Experience +1 Pack Reason

View Rating Log

2020-06-12 13:14:38
Favorites5 RateRate
Nice one
2020-06-12 13:38:46
I am a good friend!


jihad.ptk1 | from Redmi Note 7 Pro


That's great tips. Thanks for sharing the information with us
2020-06-12 13:40:37
Md. Jihad Hossen
Mi Community Bangladesh

Intern Moderator

DaMgaSea | from Redmi Note 8 Pro


2020-06-12 16:16:04

Grand Master Bunny

m@soud | from Redmi Note 5


Thanks for sharing
2020-06-13 03:58:27
Thanks for sharing
2020-06-22 17:44:28

Master Bunny

heres_johnny | from Mi MIX 2S


That's great. I doubt though that google won't fix it in a flash.
2020-06-23 02:00:53
This is an amazing trick to see YouTube videos without ads.
2020-06-24 17:32:31

Photography Team

disha 6171293725 | from Redmi Note 6 Pro


Thanks for sharing!
2021-01-08 03:50:44
please sign in to reply.
Sign In Sign Up


News Reporter

  • Followers


  • Threads


  • Replies


  • Points


AP2 Livestream
2016 Diwali with Mi
3 Days Check-In
7 Days Check-In
21 Days Check-In
40 Days Check-In
70 Days Check-In
100 Days Check-In
Lucky Draw No.
500K Members
2016 Christmas
Mi Explorers
2016 #ThrowbackwithMiComm
Pokemon Go!
1st Anniversary
2 million registered members
Newbie Member
The Motivator
Go Bunny Master
Mi Love U & I
Bunny Winner
70K Mi Fans
Tech Talent
100K Mi Fans
Selfie Day
Happy July
Mi 9T
Global Fans
MIUI 9th Birthday
Global Community
Mi A3
better together slogan
Global Community
games discuss
Mid-Autumn Festival
400K Mi Fans
300K Mi Fans
500K Mi Fans
close up
Answer Mi #2
Best Photo
Answer Mi #3
Android One
Redmi Note 8 Series
Art Challenge
Father's Day
Mother's Day
10 years
K2K #3
Nepal "Happy New Year"
First Anniversary
K2K #4
10 years
Ringtone Medal
The View Outside Your Window
Music Medal

Read moreGet new

Mi Comm APP

Stay updated on Mi Products and MIUI

Copyright©2010-2020, All Rights Reserved
Quick Reply To Top Return to the list