Submitted by jean-paul on Fri, 05/29/2015 - 12:06

I hate annoying advertisements. I understand that site owners get paid using ads, and I'm all for that, which is why I don't use a browser plugin to block them. The ads I do hate are pop-ups, pop-unders, and anything that makes noise without being enabled manually. If you hate those stupid video ads that automatically play, with or without audio, here is how I blocked them on

It might be the same ad servers on other sites, so please let me know if there are other servers which belong on this list. If you are the owner of one of these domains, You can get off my list by no longer producing these ads. If you feel a domain doesn't belong, let me know, and I'll take a look. 

First, open your hosts file. The location will vary depending on OS, but for Linux users, it's located at /etc/hosts

Add a line, or append to an existing line, which starts with

Add a space, and add any hosts that you no longer wish to load. My line blocks more than just video ads, but I'll just post the relevant bits for these particular ads, and leave it up to you to add whatever else annoys you.

I've expanded my hosts file to include shit websites that spam their ads all over the place. It blocks a substantial number of ads for annoying click-bait sites, as well as porn ads. The list below includes all hosts on above list.       localhost