Cock RingWeb HostingSpell Check

How to get rid of Youtube popup ads – OSX

How to get rid of Youtube popup ads – OSX

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 .

  1. Fire up Terminal – to do this quickly press cmd+space to get Spotlight up and simply type terminal
  2. In the terminal window type: sudo nano /private/etc/hosts
  3. This should open your hosts file. There will be a whole bunch of numbers in there (or maybe not)
  4. At the end of the list paste in this:
    255.255.255.255 pagead2.googlesyndication.com
    255.255.255.255 googleads.g.doubleclick.net 
  5. Then press the ctrl key + x
  6. This will ask you if you want to save, say ‘y’ for yes
  7. One last thing to do now
  8. In terminal type this:
    dscacheutil -flushcache
  9. (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.

 

 

About the Author

Leave a Reply