Or at least, how to block sites that deliver just adverts. You'll need to edit your hosts file.
The file is essentially the same in all cases, except don't use TAB to separate the fields if you're on Windows.
Back to our mission, to block annoying adverts. All we need to do is use the hosts file to change the IP address of any ad-site to something else. A good IP address to use is 127.0.0.1 (aka localhost, or your machine). Here is the line - and it is just one line - that I use in my hosts file:
127.0.0.1 adserver.adtech.de oz.valueclick.com adverts.ecn.co.uk www.burstnet.com www.commission-junction.com www.qksrv.net ads.adviva.net servedby.advertising.com ad.doubleclick.net www.w3exit.com ads.novacaster.com tracker.tradedoubler.com banners.gameon.co.uk ar.atwola.com ar.atwola.com ad.uk.doubleclick.net ad.doubleclick.net serverdby.advertising.com multi1.rmuk.co.uk www.ukbanners.com
Put this line into your hosts file at your own risk! All of the sites mentioned in the line are ones that, in my opinion, publish rather ugly and annoying adverts; feel free to add/remove as you desire. The list is by no means complete, as I merely add to it whenever I come across such an advert.
My Broadband (more)
The Crivit® product range If you're looking for outdoors clothing or accessories, you could do worse than to browse the Crivit® range. Crivit® is a brand of German supermarket Lidl's, so it's most convenient for UK customers to head down ... (more)
John Swindells I am a career professional in software development, becoming proficient in various systems and languages since 1992. In recent years I have been especially active in web and mobile app projects. I stepped down in April ... (more)
I've had a "longest ride in daylight" challenge in my bucket-list for a long time, but there have always been other events getting in the way. The lack of competitive events in 2020 (due to the COVID-19 pandemic) gave me the opportunity and ... (more)
This was their standard trailer-load (a 10 x 5 foot trailer) and came out at 23 barrow-loads when shifted into storage. It cost us £150, but for current prices please see their website. (more)
Here are the command-line steps needed to get a bare CentOS 8.0 distro ready for full LAMP (Apache-MySQL-PHP) hosting: (Note - replace mysite.com with the domain name of your own website, and server1.mysite.com with this server's hostname ... (more)
Now that Coronavirus has swept across the globe, it's important to think about food security. We've had issues with supermarket shelves going bare of all those storable items (pasta, toilet roll, etc) but no real issues with fresh produce ... (more)
I'd always been nervous about replacing the push-fit bearings myself. I'd always been used to the screw-on variety, and when I bought a Specialized Crux with BB30 push-fit bearings I just left it as a job for my LBS when the dreaded creak ... (more)
I turned 45 recently, so was looking forward to getting a comprehensive health-check done via my NHS GP surgery. COVID-19 restrictions put paid to that, however, and as of July 2020 there is no idea about when these tests will be up and running ... (more)
Bicycle seatposts are notorious for getting stuck in the frame. They're in a fairly vulnerable part of the bike, and rainwater can work its way down - causing the post to corrode over time. The act of corrosion is fairly slow, so you should ... (more)
Google has published summary reports of the changes in different types of mobility across the world. Here we present a series of charts for the UK, ordered by percentage change and highlighting the county of Norfolk. The mobility changes ... (more)
I have a Cycliq Fly-6 rear-view video camera in operation during most of my cycling, and this camera provides very good footage of vehicles (and if I'm lucky, the drivers) as they overtake me. I bought this camera in response to a very scary ... (more)