Block YouTube video ads

zarzonis

macrumors member
Original poster
May 3, 2013
58
0
Greece
Hi, i bought about a month ago the new MBPR and i found out that the safari browser is better than chrome for my needs. Before i buy my new laptop i was a google chrome user on the windows platform and i installed the adblock extension. So i had no ads. Now on safari i also installed the adblock extension but the youtube ads are still there. The ads from other websites are blocked. Is there any way to block the ads from youtube using safari? I would really appreciate your help here.
 

cocky jeremy

macrumors 601
Jul 12, 2008
4,355
1,987
Columbus, OH
Hi, i bought about a month ago the new MBPR and i found out that the safari browser is better than chrome for my needs. Before i buy my new laptop i was a google chrome user on the windows platform and i installed the adblock extension. So i had no ads. Now on safari i also installed the adblock extension but the youtube ads are still there. The ads from other websites are blocked. Is there any way to block the ads from youtube using safari? I would really appreciate your help here.
Let me know if you find a way. That BS annoys me to death. If anything, it makes me NOT want to buy their stuff.
 

Dark Dragoon

macrumors 6502a
Jul 28, 2006
843
3
UK
I use the youtube5 plugin, which blocks the adverts by virtue of not supporting them.
As far as I'm aware all normal youtube videos work fine with the plugin (unlike Youtubes own HTML5 player). As a bonus it also makes it easy to download videos.
 

twintin

macrumors 6502a
Aug 10, 2012
598
104
Sweden
I use ClickToPlugin (or ClickToFlash) for same purpose (to remove youtube Ads among other things). It also supports download of youtube videos as well as sending them to an ATV (a very neat feature).
 

coldjeanzzz

macrumors 6502a
Nov 4, 2012
655
17
I use the youtube5 plugin, which blocks the adverts by virtue of not supporting them.
As far as I'm aware all normal youtube videos work fine with the plugin (unlike Youtubes own HTML5 player). As a bonus it also makes it easy to download videos.
I found the only downside to it was that you couldn't click on annotations within a video, you would have to reload it in flash. Navigating within long videos is also a pain
 

TheBacklash

Suspended
Oct 23, 2013
387
146
Clicktoflash and youtube 5, along with youtube html5 "beta" opt in on youtube itself, And I have never seen an ad..

I found the only downside to it was that you couldn't click on annotations within a video, you would have to reload it in flash. Navigating within long videos is also a pain
True, but I never use that "feature" anyway. Tradeoff I guess.
 

Rohirm

macrumors member
Aug 25, 2010
47
19
You can add these to the /etc/hosts file to block the youtube ads:

127.0.0.1 ads.youtube.com
127.0.0.1 s0.2mdn.net
127.0.0.1 s1.2mdn.net
127.0.0.1 googleads.g.doubleclick.net
 

allthingsapple

macrumors member
Dec 27, 2013
55
0
I use the youtube center safari plugin. Blocks out all the ads and has a few other customizable tweaks too.
 

DJTaurus

macrumors 65816
Jan 31, 2012
1,195
288
You can add these to the /etc/hosts file to block the youtube ads:

127.0.0.1 ads.youtube.com
127.0.0.1 s0.2mdn.net
127.0.0.1 s1.2mdn.net
127.0.0.1 googleads.g.doubleclick.net
Can you be more specific where exactly to add this? :eek::eek:
 

w0lf

macrumors 65816
Feb 16, 2013
1,233
75
USA
Please where to find that file or how to search it?
You serious?

/ > root
etc/ > folder in root
host > file in etc

Well actually I suppose it might be hidden by default.

Just use the Finder "Go to..." and copy paste
 
Last edited:

tdiaz

macrumors 6502
Feb 7, 2006
450
24
AdBlock Plus + Chrome .. and no ads. Period.
Kinda surprised it does not work for Safari.
 

elgrecomac

macrumors 65816
Jan 15, 2008
1,159
158
San Diego
I use a hardware solution

I have and Adtrap box sitting between my NetGear 6300ac router and ISP which results in eliminating over 95% of ads including youtube ads. And since it is attached to my router which provides wifi to my house, all of my iOS devices are similarly ad-free.
It is not an inexpensive solution but it is software independent so I can use any browser I choose. I find it to be worth every penny.

http://www.getadtrap.com/
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.