Welcome to Katz - Pinoy Underground Forum

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?
  • Compact Safety Notice
  • Weekly Grants Lottery is live! Win a 20,000 ₪ jackpot — tickets are just 30 ₪, drawn every week. Buy your tickets »

YOUTUBE!!! Remove Ads

I 2.1K

iamjohn

Corporal
Member
Access
Member
Access
Rising Star
11 Year Veteran 11y Veteran
Joined
Mar 7, 2015
Messages
569
Reaction score
449
Points
63
Age
126
grants
₲9,029
Boring Video ADS on Youtube seem to download content from many URI all around internet. Thank to Firebug (Mozilla Plugin) its very simple to individuate domains from which your browser downloads ADS and Video ADS when you watch Youtube’s Video.

FireBug-Anti-Ads-1024x559.jpg


A very simple procedure to avoid Video Ads is to modify the (famous) HOSTS file letting your operating system to resolve the domains involved in the ADS network with ip 127.0.0.1 (your own system) actually blocking downloads of pages, code and ADS videos. I prefer this procedure than many others you can find on internet because it’s not necessary to install anything on you computer.

How to do it (I assume you have a Windows machine, if not, find the HOSTS file for your system):

Start Menu -> Accessories -> right click on “Command prompt” -> click on “Run as administrator“.
A black window will open. If you have a Windows XP pc, simply open a commad prompt window;
cut and paste in the command window this string “notepad c:\Windows\System32\drivers\etc\hosts” (then press “enter” key);
notepad will open, then put those lines at the end of file:

127.0.0.1 s0.2mdn.net
127.0.0.1 googleads.g.doubleclick.net
127.0.0.1 ad.doubleclick.net
127.0.0.1 files.adform.net
127.0.0.1 secure-ds.serving-sys.com

You should see something like the picture;

Update_No_Youtube_ads.png


close notepad saving the file;
in the command window run this command ipconfig /flushdns (“enter“!) to flush DNS cache of your PC;
close the command window.

Try to navigate Youtube, now you shouldn’t see any Video ADS before your preferred videos.

NOTES:

It may be the first host is no more strictly necessary, but if it remains in the hosts file is not a problem;
It may be introdused a delay from the page loading and the start of videos, only few seconds. That’s because browser has to wait the abortion of connections to localhost (127.0.0.1);
It may be possible not all necessary hosts are indicated in this post. Some hosts may change, depend of you location around the World due to resources distribution. Please, use FireBug to update your own host lists (and send me a message so I can update too! );
Playlists are not affected by any problem. You can enjoy your music without any ADS interruption.
 
  • Like
Reactions: AivanAivan and ShantIgop
J 29.5K

jughead3716

Alpha and Omega
Contributor
Ardent
Access
Contributor
Ardent
Access
Top Contributor
Community Legend
12 Year Veteran 12y Veteran
Joined
Jun 28, 2014
Messages
5,196
Reaction score
11,759
Points
113
grants
₲14,709
nice share punkz...malaking tulong to sa mga mahihilig mag youtube playlist...hehe... :D
 
Top Bottom