{"id":24273,"date":"2024-04-15T02:55:03","date_gmt":"2024-04-15T01:55:03","guid":{"rendered":"https:\/\/garfnet.org.uk\/cms\/?p=24273"},"modified":"2025-12-21T21:50:02","modified_gmt":"2025-12-21T21:50:02","slug":"hostile-server-blocking-eliminate-ads-and-other-nasties","status":"publish","type":"post","link":"https:\/\/garfnet.org.uk\/cms\/2024\/04\/15\/hostile-server-blocking-eliminate-ads-and-other-nasties\/","title":{"rendered":"Hostile server blocking &#8211; eliminate ads and other nasties, free"},"content":{"rendered":"<p>If like me, you are tired of having your screen cluttered full of stupid ads, and the general <a href=\"https:\/\/en.wikipedia.org\/wiki\/Enshittification\" target=\"_blank\" rel=\"noopener\">enshittification<\/a> of the Internet by commercial interests, then you may wish to try <b><i>\/etc\/hosts<\/i> <\/b>file &#8220;hostile server blocking&#8221;. It&#8217;s free and no additional software is needed. This is because your<em><strong> \/etc\/hosts<\/strong><\/em> file part of your computer&#8217;s TCP\/IP stack. This method will rid you over 99% of third-party served ads, along with a gamut of other internet nastiness. Even better, this method protects your entire machine from ads and other junk, not just one specific browser. Chrome, Firefox, Konqueror, Opera &#8211; I can&#8217;t see a single ad. Not even a small one. \ud83e\udd23<\/p>\n<p>Regular readers will know I&#8217;m a long-term GNU\/Linux user, with a particular dislike for those that force content onto my computer that I have not specifically requested. However this technique works on any OS that uses a standard TCP\/IP stack, <em>providing<\/em> you have the necessary access permissions. I will describe how one does this on a Unix-like operating system, such as Debian, Ubuntu and any of its many derivatives. I will discuss other OS&#8217;s later in this article with appropriate links.<\/p>\n<div class=\"post-message \" dir=\"auto\" data-role=\"message\">\n<div>\n<h3>First, find a good, regularly-updated block list<\/h3>\n<p>This is currently one of my favourites&#8230;<\/p>\n<ul>\n<li><a href=\"https:\/\/raw.githubusercontent.Com\/StevenBlack\/hosts\/master\/hosts\" target=\"_blank\" rel=\"noopener\">https:\/\/raw.githubusercontent.Com\/StevenBlack\/hosts\/master\/hosts<\/a><\/li>\n<\/ul>\n<h3>Then find your hosts file<\/h3>\n<p>In Unix-like systems such as Debian, Ubuntu and its various derivatives, it lives at \/etc\/hosts. You if you are in doubt, it&#8217;s probably easiest to use your favourite file manager to find it. This is how I normally do it&#8230;<\/p>\n<p><a href=\"https:\/\/garfnet.org.uk\/cms\/wp-content\/gallery\/screengrab\/Screenshot_20240414_225702.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/garfnet.org.uk\/cms\/wp-content\/gallery\/screengrab\/Screenshot_20240414_225702.png\" alt=\"\" width=\"1346\" height=\"910\"><\/a><\/p>\n<h3>Important: make a backup copy of your existing hosts file<\/h3>\n<div>\n<p>Whatever OS you run, you should always make a backup of a configuration file before you edit it. A few seconds spent <em>now<\/em> can save <em>hours<\/em> or even <em>days<\/em>, if you mess it up. Various ways to back up a config file. But on Unix-like systems it is often easiest to do from a terminal window.<\/p>\n<pre>sudo cp -v \/etc\/hosts \/etc\/hosts-original<\/pre>\n<p>returns&#8230;<\/p>\n<pre>'\/etc\/hosts' -&gt; '\/etc\/hosts-original'<\/pre>\n<p>Then confirm the file has actually been copied&#8230;<\/p>\n<pre>ls -la \/etc\/hosts*<\/pre>\n<p>returns something similar to&#8230;<\/p>\n<pre>-rw-r--r-- 1 root root 5643688 Mar 29 20:58 \/etc\/hosts\r\n-rw-r--r-- 1 root root 411 Mar 29 18:07 \/etc\/hosts.allow\r\n-rw-r--r-- 1 root root 711 Mar 29 18:07 \/etc\/hosts.deny\r\n-rw-r--r-- 1 root root 5643688 Apr 14 23:36 \/etc\/hosts-original<\/pre>\n<h3>Editing your hosts file<\/h3>\n<p>Firstly open \/etc\/hosts in a text editor of your choice. Several methods to do this.<\/p>\n<h4>Option 1: using a command line editor&#8230;<\/h4>\n<pre>sudo nano \/etc\/hosts<\/pre>\n<h4>Option 2: using a GUI editor&#8230;<\/h4>\n<pre>sudo gedit \/etc\/hosts<\/pre>\n<h4>Or my preferred method using Kate (KDE Advanced Text editor)<\/h4>\n<p>Now Kate is a fabulous text editor. But it cannot (usually) be opened as root. Instead you open it as a normal user, then it automatically seeks root permissions when you try to save a file that requires root write permissions. In systems using KDE desktop, Kate is the default text editor and will open a file directly from the Dolphin file manager, thus&#8230;<\/p>\n<p><a href=\"https:\/\/garfnet.org.uk\/cms\/wp-content\/gallery\/screengrab\/Screenshot_20240414_225751.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/garfnet.org.uk\/cms\/wp-content\/gallery\/screengrab\/Screenshot_20240414_225751.png\" alt=\"\" width=\"1920\" height=\"1080\"><\/a><\/p>\n<p>The screenshot below shows Mozilla Firefox browser on the left, viewing a copy of Steven Black&#8217;s block list, on-line. The pane on the right is Kate text editor.&nbsp; Simply copy the part of the block list that reads &#8220;# Start StevenBlack&#8221; and <strong>EVERYTHING<\/strong> below it (shown left), and paste into your \/etc\/hosts file below its default contents (shown right). The top of the relevant text is circled in red, below.<\/p>\n<ul>\n<li>Note, the text itself is some 180,000 lines long, so it may take a little time to select it all.<\/li>\n<li>Also note that Kate has an additional feature where it shows a large text file in <em>greeked<\/em> text down the right hand side, next to the vertical scrollbar, to help you find your way around the file, and will show when you have pasted the blocklist into the file. I have ringed this in blue. Most other text editors do not have this feature.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/garfnet.org.uk\/cms\/wp-content\/gallery\/screengrab\/Screenshot_20240414_232221_ringed.png\"><img decoding=\"async\" class=\"alignnone\" src=\"https:\/\/garfnet.org.uk\/cms\/wp-content\/gallery\/screengrab\/Screenshot_20240414_232221_ringed.png\"><\/a><\/p>\n<p>Save your hosts file in the usual way. In Kate, you will be asked for your root password&#8230;<\/p>\n<p><a href=\"https:\/\/garfnet.org.uk\/cms\/wp-content\/gallery\/screengrab\/Screenshot_20240414_232200.png\"><img decoding=\"async\" class=\"alignnone\" src=\"https:\/\/garfnet.org.uk\/cms\/wp-content\/gallery\/screengrab\/Screenshot_20240414_232200.png\" alt=\"\"><\/a><\/p>\n<h2>Keeping your hosts file updated<\/h2>\n<p>You may need to update the file every now and then. Simply open your \/etc\/hosts file as described above, in a text editor of your choice, select and delete the old entries, and copy and paste the body of a new block list. I do mine at roughly 90 day intervals.<\/p>\n<h2>What about Windows users?<\/h2>\n<p>Windows users&#8217; hosts file is normally nested some where beneath the C:\\Windows\\system32 folder. Probably&#8230;<\/p>\n<\/div>\n<\/div>\n<pre>C:\\Windows\\system32\\drivers\\etc\\hosts<\/pre>\n<p>In principle, you do the same as you would in Unix-like systems, namely copy and paste a block list into your hosts file, having first made a backup copy of your original hosts file, of course! And just like Unix, you will require the necessary permissions in order to edit your hosts file. Typically, you would need to log in to your Windows computer as &#8220;Administrator&#8221;. And you would use Windows Notepad as your text editor.<\/p>\n<p>This chap covers the details of actually <em>opening and saving<\/em> your hosts file on Windows 10 and&nbsp; Windows 11, with significantly more detail than I can provide&#8230;<\/p>\n<ul>\n<li><a href=\"https:\/\/www.howtogeek.com\/784196\/how-to-edit-the-hosts-file-on-windows-10-or-11\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.howtogeek.com\/784196\/how-to-edit-the-hosts-file-on-windows-10-or-11\/<\/a><\/li>\n<\/ul>\n<h2>What about mobile computing devices?<\/h2>\n<p>If you have an Android phone, and you can figure out how to root it (to get the required access permission), then you can protect that device too, using exactly the same method. On Android devices, the hosts file generally lives at&nbsp;<\/p>\n<pre>\/system\/etc\/hosts<\/pre>\n<p>Don&#8217;t want to go into too much detail here, because you will almost certainly need to root the device first. But&nbsp; those considering rooting their phone might find this an interesting place to start&#8230;<\/p>\n<ul>\n<li><a href=\"https:\/\/garfnet.org.uk\/cms\/2020\/07\/01\/ulefone-3w-ruggedised-smartphone\">https:\/\/garfnet.org.uk\/cms\/2020\/07\/01\/ulefone-3w-ruggedised-smartphone<\/a><\/li>\n<\/ul>\n<p>Though I would add that using a rooted phone is lovely. In addition to blocking irritating browser ads and pop-ups, it also kills almost all in-app advertising too. Rooting has lots of other benefits because it also gives one root access to its Linux subsystem. Effectively turns your smartphone from being an irritating ad-riddled toy into a seriously powerful handheld computer. Means you can divorce it from Google too, if you wish. \ud83d\ude42<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>If like me, you are tired of having your screen cluttered full of stupid ads, and the general enshittification of the Internet by commercial interests, then you may wish to try \/etc\/hosts file &#8220;hostile server blocking&#8221;. It&#8217;s free and no additional software is needed. This is because your \/etc\/hosts file part of your computer&#8217;s TCP\/IP&#8230;<\/p>\n","protected":false},"author":1,"featured_media":24295,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"_kad_post_transparent":"default","_kad_post_title":"default","_kad_post_layout":"default","_kad_post_sidebar_id":"","_kad_post_content_style":"default","_kad_post_vertical_padding":"default","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[12,6,691,18],"tags":[],"class_list":["post-24273","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-faq","category-journal","category-linux","category-technology"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Hostile server blocking - eliminate ads and other nasties, free - GarfNet<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/garfnet.org.uk\/cms\/2024\/04\/15\/hostile-server-blocking-eliminate-ads-and-other-nasties\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hostile server blocking - eliminate ads and other nasties, free - GarfNet\" \/>\n<meta property=\"og:description\" content=\"If like me, you are tired of having your screen cluttered full of stupid ads, and the general enshittification of the Internet by commercial interests, then you may wish to try \/etc\/hosts file &#8220;hostile server blocking&#8221;. It&#8217;s free and no additional software is needed. This is because your \/etc\/hosts file part of your computer&#8217;s TCP\/IP...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/garfnet.org.uk\/cms\/2024\/04\/15\/hostile-server-blocking-eliminate-ads-and-other-nasties\/\" \/>\n<meta property=\"og:site_name\" content=\"GarfNet\" \/>\n<meta property=\"article:published_time\" content=\"2024-04-15T01:55:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-21T21:50:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/garfnet.org.uk\/cms\/wp-content\/uploads\/2024\/04\/nggallery_import\/Screenshot_20240414_231553_ringed.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Garf\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Garf\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/2024\\\/04\\\/15\\\/hostile-server-blocking-eliminate-ads-and-other-nasties\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/2024\\\/04\\\/15\\\/hostile-server-blocking-eliminate-ads-and-other-nasties\\\/\"},\"author\":{\"name\":\"Garf\",\"@id\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/#\\\/schema\\\/person\\\/27529e0ea0460ec8c299743f70c06635\"},\"headline\":\"Hostile server blocking &#8211; eliminate ads and other nasties, free\",\"datePublished\":\"2024-04-15T01:55:03+00:00\",\"dateModified\":\"2025-12-21T21:50:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/2024\\\/04\\\/15\\\/hostile-server-blocking-eliminate-ads-and-other-nasties\\\/\"},\"wordCount\":984,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/#\\\/schema\\\/person\\\/27529e0ea0460ec8c299743f70c06635\"},\"image\":{\"@id\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/2024\\\/04\\\/15\\\/hostile-server-blocking-eliminate-ads-and-other-nasties\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/nggallery_import\\\/Screenshot_20240414_231553_ringed.png\",\"articleSection\":[\"FAQ\",\"Journal\",\"Linux\",\"Technology\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/2024\\\/04\\\/15\\\/hostile-server-blocking-eliminate-ads-and-other-nasties\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/2024\\\/04\\\/15\\\/hostile-server-blocking-eliminate-ads-and-other-nasties\\\/\",\"url\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/2024\\\/04\\\/15\\\/hostile-server-blocking-eliminate-ads-and-other-nasties\\\/\",\"name\":\"Hostile server blocking - eliminate ads and other nasties, free - GarfNet\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/2024\\\/04\\\/15\\\/hostile-server-blocking-eliminate-ads-and-other-nasties\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/2024\\\/04\\\/15\\\/hostile-server-blocking-eliminate-ads-and-other-nasties\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/nggallery_import\\\/Screenshot_20240414_231553_ringed.png\",\"datePublished\":\"2024-04-15T01:55:03+00:00\",\"dateModified\":\"2025-12-21T21:50:02+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/2024\\\/04\\\/15\\\/hostile-server-blocking-eliminate-ads-and-other-nasties\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/2024\\\/04\\\/15\\\/hostile-server-blocking-eliminate-ads-and-other-nasties\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/2024\\\/04\\\/15\\\/hostile-server-blocking-eliminate-ads-and-other-nasties\\\/#primaryimage\",\"url\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/nggallery_import\\\/Screenshot_20240414_231553_ringed.png\",\"contentUrl\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/wp-content\\\/uploads\\\/2024\\\/04\\\/nggallery_import\\\/Screenshot_20240414_231553_ringed.png\",\"width\":1920,\"height\":1080},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/2024\\\/04\\\/15\\\/hostile-server-blocking-eliminate-ads-and-other-nasties\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hostile server blocking &#8211; eliminate ads and other nasties, free\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/#website\",\"url\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/\",\"name\":\"GarfNet\",\"description\":\"Penguin-powered and full of Unixy goodness, since 1995...\",\"publisher\":{\"@id\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/#\\\/schema\\\/person\\\/27529e0ea0460ec8c299743f70c06635\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/#\\\/schema\\\/person\\\/27529e0ea0460ec8c299743f70c06635\",\"name\":\"Garf\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/garflogo-garfnet-1.png\",\"url\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/garflogo-garfnet-1.png\",\"contentUrl\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/garflogo-garfnet-1.png\",\"width\":2420,\"height\":1928,\"caption\":\"Garf\"},\"logo\":{\"@id\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/garflogo-garfnet-1.png\"},\"url\":\"https:\\\/\\\/garfnet.org.uk\\\/cms\\\/author\\\/garf-admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Hostile server blocking - eliminate ads and other nasties, free - GarfNet","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/garfnet.org.uk\/cms\/2024\/04\/15\/hostile-server-blocking-eliminate-ads-and-other-nasties\/","og_locale":"en_GB","og_type":"article","og_title":"Hostile server blocking - eliminate ads and other nasties, free - GarfNet","og_description":"If like me, you are tired of having your screen cluttered full of stupid ads, and the general enshittification of the Internet by commercial interests, then you may wish to try \/etc\/hosts file &#8220;hostile server blocking&#8221;. It&#8217;s free and no additional software is needed. This is because your \/etc\/hosts file part of your computer&#8217;s TCP\/IP...","og_url":"https:\/\/garfnet.org.uk\/cms\/2024\/04\/15\/hostile-server-blocking-eliminate-ads-and-other-nasties\/","og_site_name":"GarfNet","article_published_time":"2024-04-15T01:55:03+00:00","article_modified_time":"2025-12-21T21:50:02+00:00","og_image":[{"width":1920,"height":1080,"url":"https:\/\/garfnet.org.uk\/cms\/wp-content\/uploads\/2024\/04\/nggallery_import\/Screenshot_20240414_231553_ringed.png","type":"image\/png"}],"author":"Garf","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Garf","Estimated reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/garfnet.org.uk\/cms\/2024\/04\/15\/hostile-server-blocking-eliminate-ads-and-other-nasties\/#article","isPartOf":{"@id":"https:\/\/garfnet.org.uk\/cms\/2024\/04\/15\/hostile-server-blocking-eliminate-ads-and-other-nasties\/"},"author":{"name":"Garf","@id":"https:\/\/garfnet.org.uk\/cms\/#\/schema\/person\/27529e0ea0460ec8c299743f70c06635"},"headline":"Hostile server blocking &#8211; eliminate ads and other nasties, free","datePublished":"2024-04-15T01:55:03+00:00","dateModified":"2025-12-21T21:50:02+00:00","mainEntityOfPage":{"@id":"https:\/\/garfnet.org.uk\/cms\/2024\/04\/15\/hostile-server-blocking-eliminate-ads-and-other-nasties\/"},"wordCount":984,"commentCount":0,"publisher":{"@id":"https:\/\/garfnet.org.uk\/cms\/#\/schema\/person\/27529e0ea0460ec8c299743f70c06635"},"image":{"@id":"https:\/\/garfnet.org.uk\/cms\/2024\/04\/15\/hostile-server-blocking-eliminate-ads-and-other-nasties\/#primaryimage"},"thumbnailUrl":"https:\/\/garfnet.org.uk\/cms\/wp-content\/uploads\/2024\/04\/nggallery_import\/Screenshot_20240414_231553_ringed.png","articleSection":["FAQ","Journal","Linux","Technology"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/garfnet.org.uk\/cms\/2024\/04\/15\/hostile-server-blocking-eliminate-ads-and-other-nasties\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/garfnet.org.uk\/cms\/2024\/04\/15\/hostile-server-blocking-eliminate-ads-and-other-nasties\/","url":"https:\/\/garfnet.org.uk\/cms\/2024\/04\/15\/hostile-server-blocking-eliminate-ads-and-other-nasties\/","name":"Hostile server blocking - eliminate ads and other nasties, free - GarfNet","isPartOf":{"@id":"https:\/\/garfnet.org.uk\/cms\/#website"},"primaryImageOfPage":{"@id":"https:\/\/garfnet.org.uk\/cms\/2024\/04\/15\/hostile-server-blocking-eliminate-ads-and-other-nasties\/#primaryimage"},"image":{"@id":"https:\/\/garfnet.org.uk\/cms\/2024\/04\/15\/hostile-server-blocking-eliminate-ads-and-other-nasties\/#primaryimage"},"thumbnailUrl":"https:\/\/garfnet.org.uk\/cms\/wp-content\/uploads\/2024\/04\/nggallery_import\/Screenshot_20240414_231553_ringed.png","datePublished":"2024-04-15T01:55:03+00:00","dateModified":"2025-12-21T21:50:02+00:00","breadcrumb":{"@id":"https:\/\/garfnet.org.uk\/cms\/2024\/04\/15\/hostile-server-blocking-eliminate-ads-and-other-nasties\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/garfnet.org.uk\/cms\/2024\/04\/15\/hostile-server-blocking-eliminate-ads-and-other-nasties\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/garfnet.org.uk\/cms\/2024\/04\/15\/hostile-server-blocking-eliminate-ads-and-other-nasties\/#primaryimage","url":"https:\/\/garfnet.org.uk\/cms\/wp-content\/uploads\/2024\/04\/nggallery_import\/Screenshot_20240414_231553_ringed.png","contentUrl":"https:\/\/garfnet.org.uk\/cms\/wp-content\/uploads\/2024\/04\/nggallery_import\/Screenshot_20240414_231553_ringed.png","width":1920,"height":1080},{"@type":"BreadcrumbList","@id":"https:\/\/garfnet.org.uk\/cms\/2024\/04\/15\/hostile-server-blocking-eliminate-ads-and-other-nasties\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/garfnet.org.uk\/cms\/"},{"@type":"ListItem","position":2,"name":"Hostile server blocking &#8211; eliminate ads and other nasties, free"}]},{"@type":"WebSite","@id":"https:\/\/garfnet.org.uk\/cms\/#website","url":"https:\/\/garfnet.org.uk\/cms\/","name":"GarfNet","description":"Penguin-powered and full of Unixy goodness, since 1995...","publisher":{"@id":"https:\/\/garfnet.org.uk\/cms\/#\/schema\/person\/27529e0ea0460ec8c299743f70c06635"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/garfnet.org.uk\/cms\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/garfnet.org.uk\/cms\/#\/schema\/person\/27529e0ea0460ec8c299743f70c06635","name":"Garf","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/garfnet.org.uk\/cms\/wp-content\/uploads\/2024\/07\/garflogo-garfnet-1.png","url":"https:\/\/garfnet.org.uk\/cms\/wp-content\/uploads\/2024\/07\/garflogo-garfnet-1.png","contentUrl":"https:\/\/garfnet.org.uk\/cms\/wp-content\/uploads\/2024\/07\/garflogo-garfnet-1.png","width":2420,"height":1928,"caption":"Garf"},"logo":{"@id":"https:\/\/garfnet.org.uk\/cms\/wp-content\/uploads\/2024\/07\/garflogo-garfnet-1.png"},"url":"https:\/\/garfnet.org.uk\/cms\/author\/garf-admin\/"}]}},"_links":{"self":[{"href":"https:\/\/garfnet.org.uk\/cms\/wp-json\/wp\/v2\/posts\/24273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/garfnet.org.uk\/cms\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/garfnet.org.uk\/cms\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/garfnet.org.uk\/cms\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/garfnet.org.uk\/cms\/wp-json\/wp\/v2\/comments?post=24273"}],"version-history":[{"count":27,"href":"https:\/\/garfnet.org.uk\/cms\/wp-json\/wp\/v2\/posts\/24273\/revisions"}],"predecessor-version":[{"id":35297,"href":"https:\/\/garfnet.org.uk\/cms\/wp-json\/wp\/v2\/posts\/24273\/revisions\/35297"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/garfnet.org.uk\/cms\/wp-json\/wp\/v2\/media\/24295"}],"wp:attachment":[{"href":"https:\/\/garfnet.org.uk\/cms\/wp-json\/wp\/v2\/media?parent=24273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/garfnet.org.uk\/cms\/wp-json\/wp\/v2\/categories?post=24273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/garfnet.org.uk\/cms\/wp-json\/wp\/v2\/tags?post=24273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}