The adverts in question here are those ones that overlay a video during play back. Sometimes these ads take up 50% of the video playback size wich is frankyl really irritiating. I am not a fan of having advert shoved down my throat and as such I have for years used the most excellent Ad-Block+ on all browsers possible. It doesnt seem to catch these ones though, so I did a little digging and have found out a method of blocking them system wide, no matter what browser you use.
To start of with I will demonstrate how this is done on OSX (Lion) as this is what I was running .
- Fire up Terminal – to do this quickly press cmd+space to get Spotlight up and simply type terminal
- In the terminal window type:
sudo nano /private/etc/hosts
- This should open your hosts file. There will be a whole bunch of numbers in there (or maybe not)
- At the end of the list paste in this:
255.255.255.255 pagead2.googlesyndication.com
255.255.255.255 googleads.g.doubleclick.net
- Then press the ctrl key + x
- This will ask you if you want to save, say ‘y’ for yes
- One last thing to do now
- In terminal type this:
dscacheutil -flushcache
- (this flushes the cache and re reads the hosts file)
Now try the you tube video you were looking at earlier (re-load the page) and the irritating adverts that get in the way will be gone.
I will follow this up with a Windows version soon but if you know how to edit the hosts file in Windows then it is simply a matter of adding those two lines from above.