How to remove pre-roll ads on Youtube?

Adblock time to time can’t handle this simple task to hide pre rolls on YouTube, so, you can use this simple trick.
Just update your hosts file using these lines:

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
127.0.0.1 pubads.g.doubleclick.net
127.0.0.1 ad.doubleclick.net
127.0.0.1 static.doubleclick.net

Done!

Next level of craziness — host file with 15K+ lines, check this out.

6 Responses

  1. Anthony Bova says:

    For some reason I’m not being able to update my host file. I’m using Windows 8.1 any suggestions?

  2. Anthony Bova says:

    It finally work after I was able to save the host file. I wasn’t able to save at first but re opened it in Notepad++ and worked great! Thank you!

  3. Kris2340k says:

    For those who cant change thier hosts file on windows 8 (google where the hosts file is)

    You need to copy the file to your desktop, edit it and copy it back (clicking yes to overwrite)

  4. adam says:

    try using 0.0.0.0 instead of 127.0.0.1 to prevent delay

Leave a Reply