# I am looking for software to block sites from the search

**URL:** <https://discourse.mozilla.org/t/i-am-looking-for-software-to-block-sites-from-the-search/20416>\
**Category:** addons.mozilla.org\
**Created:** [October 13, 2017, 4:50pm UTC](https://discourse.mozilla.org/t/i-am-looking-for-software-to-block-sites-from-the-search/20416 "2017-10-13T16:50:10Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emerogork](https://avatars.discourse-cdn.com/v4/letter/e/e36b37/32.png) [@Emerogork](https://discourse.mozilla.org/u/Emerogork)\
**Post date:** [October 13, 2017, 4:50pm UTC](https://discourse.mozilla.org/t/i-am-looking-for-software-to-block-sites-from-the-search/20416/1 "2017-10-13T16:50:10Z")

</div>

It should be simple to implement. I see a web site that irks me so much that a single click should prevent it from ever being seen on my system. Not in the browser, not in any link from a site, you name it; GONE!

Yes?

---

<div class="post-metadata">

**Author:** ![ericjung1](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/ericjung1/32/15471_2.png) [@ericjung1](https://discourse.mozilla.org/u/ericjung1)\
**Post date:** [October 13, 2017, 5:06pm UTC](https://discourse.mozilla.org/t/i-am-looking-for-software-to-block-sites-from-the-search/20416/2 "2017-10-13T17:06:55Z")

</div>

> [@Emerogork](#):
>
> It should be simple to implement.

Sounds like you’re halfway there! 🙂

---

<div class="post-metadata">

**Author:** ![erosman](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/erosman/32/15447_2.png) [@erosman](https://discourse.mozilla.org/u/erosman)\
**Post date:** [October 13, 2017, 5:07pm UTC](https://discourse.mozilla.org/t/i-am-looking-for-software-to-block-sites-from-the-search/20416/3 "2017-10-13T17:07:12Z")

</div>

If you want to keep a site out of your History, I have an add-on for it ([Historia](https://addons.mozilla.org/firefox/addon/historia/)).

Blocking a site can be done with most ad-blockers.

Removing it from links on the pages can also be done but takes a lot of resources.

---

<div class="post-metadata">

**Author:** ![Emerogork](https://avatars.discourse-cdn.com/v4/letter/e/e36b37/32.png) [@Emerogork](https://discourse.mozilla.org/u/Emerogork)\
**Post date:** [October 13, 2017, 5:32pm UTC](https://discourse.mozilla.org/t/i-am-looking-for-software-to-block-sites-from-the-search/20416/4 "2017-10-13T17:32:36Z")

</div>

Does this prevent the blacklisted site from showing the search results?

It is not enough to prevent it from showing after I select it from the list. I don’t even want it in the list to begin with.

For example, if I want to purchase an “A” and [Alphabet.Com](http://Alphabet.Com) sells "A"s but I have a tiff with that site. I don’t want it to show when I search for to purchase "A"s.

---

<div class="post-metadata">

**Author:** ![ericjung1](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/ericjung1/32/15471_2.png) [@ericjung1](https://discourse.mozilla.org/u/ericjung1)\
**Post date:** [October 13, 2017, 6:49pm UTC](https://discourse.mozilla.org/t/i-am-looking-for-software-to-block-sites-from-the-search/20416/5 "2017-10-13T18:49:42Z")

</div>

> [@Emerogork](#):
>
> For example, if I want to purchase an “A” and [Alphabet.Com](http://Alphabet.Com) sells "A"s but I have a tiff with that site. I don’t want it to show when I search for to purchase "A"s.

erosman’s suggestion wouldn’t do that. You need another addon to scan all pages for the URLs you don’t like and then hide them, along with any associated text, from the DOM.

---

<div class="post-metadata">

**Author:** ![Emerogork](https://avatars.discourse-cdn.com/v4/letter/e/e36b37/32.png) [@Emerogork](https://discourse.mozilla.org/u/Emerogork)\
**Post date:** [October 13, 2017, 7:15pm UTC](https://discourse.mozilla.org/t/i-am-looking-for-software-to-block-sites-from-the-search/20416/6 "2017-10-13T19:15:46Z")

</div>

My quest exactly. It would be a true blacklist.  
I will keep looking, maybe someone will write one and retire on my idea. ) :

---

<div class="post-metadata">

**Author:** ![ericjung1](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/ericjung1/32/15471_2.png) [@ericjung1](https://discourse.mozilla.org/u/ericjung1)\
**Post date:** [October 13, 2017, 8:09pm UTC](https://discourse.mozilla.org/t/i-am-looking-for-software-to-block-sites-from-the-search/20416/7 "2017-10-13T20:09:11Z")

</div>

> [@Emerogork](#):
>
> maybe someone will write one and retire on my idea. ) :

Do it yourself. Scratch your own itch! If you don’t know how to write an addon, it’s easy (but takes time) to learn. We’re here to help you along the way. Post questions in the [Addons Development](https://discourse.mozilla.org/c/add-ons/development) forum.

Eric Jung

---

<div class="post-metadata">

**Author:** ![Emerogork](https://avatars.discourse-cdn.com/v4/letter/e/e36b37/32.png) [@Emerogork](https://discourse.mozilla.org/u/Emerogork)\
**Post date:** [October 14, 2017, 8:50am UTC](https://discourse.mozilla.org/t/i-am-looking-for-software-to-block-sites-from-the-search/20416/8 "2017-10-14T08:50:21Z")

</div>

Easy? easy for you to say… ( :

For starters: In what language are they written?  
Next: As picked up from the suggested forum, what is an IDE?, Bootstrapping? SDK? Extension? Overlay Extension? restartless? CFX tool? API? sandboxing? MDN? Most of these are all new or forgotten terms even after 30 years of programming experience.

No, I am not asking to have someone define them here and I wonder how it would be taken to ask them in the Addons Development forum. It would not even be useful for someone t send me a link to a glossary of the terms.

No, I doubt that at my age and condition that I will be able to pick up all this enough to write one. Heck, most of the type itself in blogs, fora and web sites is also fighting me with this recent change to anemic fonts and preventing me from being able to see them let a lone learn from them.

Most of the time, I have a difficult time even seeing the text box in which I need to enter a question. This site is much better than average though.

I was hoping for someone to say “No problem, here it is,…”

---

<div class="post-metadata">

**Author:** ![ericjung1](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/ericjung1/32/15471_2.png) [@ericjung1](https://discourse.mozilla.org/u/ericjung1)\
**Post date:** [October 14, 2017, 7:11pm UTC](https://discourse.mozilla.org/t/i-am-looking-for-software-to-block-sites-from-the-search/20416/9 "2017-10-14T19:11:14Z")

</div>

> [@Emerogork](#):
>
> Easy? easy for you to say

Well, you yourself wrote in the original post: “It should be simple to implement” 🙂

It’s also easy to build an airplane from scratch if you know nothing about airplanes or how they work. My point is: it’s not easy once you start to understand the scope of the problem.

Many of the terms you mention are not relevant to what you want. All you need to write this addon is a text editor (like Notepad on Windows), Firefox, MDN (mozilla developer network–it’s a reference website), and lots of time and patience. The skills to learn are Javascript, HTML, and (though not strictly necessary), CSS.

I don’t know what your preferred learning method is, but if you don’t mind videos, there are almost too many good ones from which to choose. I personally can’t stand teaching videos. Regardless of whether your prefer to read or watch, I would start with a “Hello World” addon. If you want pointers to start, let me know.

Eric

---

<div class="post-metadata">

**Author:** ![Emerogork](https://avatars.discourse-cdn.com/v4/letter/e/e36b37/32.png) [@Emerogork](https://discourse.mozilla.org/u/Emerogork)\
**Post date:** [October 14, 2017, 7:56pm UTC](https://discourse.mozilla.org/t/i-am-looking-for-software-to-block-sites-from-the-search/20416/10 "2017-10-14T19:56:24Z")

</div>

Probably a poor choice in terminology. Implement (verb: to put into effect, to perform, execute) as in to run the program. I did not intend to suggest that the design of the program was easy to code. Granted, it was not a good choice.

I am versed in HTML, Java Script and CSS. I figured Add-ons were written in C++ or so. How do I find one to open in Notepad++?

A video might be good to start so I can see the terrain.

---

<div class="post-metadata">

**Author:** ![ericjung1](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/ericjung1/32/15471_2.png) [@ericjung1](https://discourse.mozilla.org/u/ericjung1)\
**Post date:** [October 14, 2017, 9:02pm UTC](https://discourse.mozilla.org/t/i-am-looking-for-software-to-block-sites-from-the-search/20416/11 "2017-10-14T21:02:31Z")

</div>

If you already know Javascript, HTML, and CSS then you are more than 1/2 way to writing your own WebExtension. You need to learn the [anatomy of a WebExtension](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Anatomy_of_a_WebExtension) and the JavaScript APIs exposed by Firefox for WebExtension use. I would [start here](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Your_first_WebExtension). Then [here](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Your_second_WebExtension). Everything on [this page](https://developer.mozilla.org/en-US/Add-ons/WebExtensions) is good, thanks to Will Bamberg and community contributions from dozens of other people.

[These](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Examples) are the “official” mozilla samples/demos.

As for videos, a lot of the above pages have short 10-15 second videos. I dont have a good reference for end-to-end video tutorials on the subject since, as I said, that’s not my preferred way to learn. However, thinking about it, perhaps it’s something I should record myself 🙂

Eric

---

<div class="post-metadata">

**Author:** ![Emerogork](https://avatars.discourse-cdn.com/v4/letter/e/e36b37/32.png) [@Emerogork](https://discourse.mozilla.org/u/Emerogork)\
**Post date:** [October 17, 2017, 4:29am UTC](https://discourse.mozilla.org/t/i-am-looking-for-software-to-block-sites-from-the-search/20416/12 "2017-10-17T04:29:58Z")

</div>

I am trying to find the time this will need. Right now, I have to contend with end-of-the-year gardening and night freezes/frosts.

---

<div class="post-metadata">

**Author:** ![Plastic](https://avatars.discourse-cdn.com/v4/letter/p/7ea924/32.png) [@Plastic](https://discourse.mozilla.org/u/Plastic)\
**Post date:** [October 20, 2017, 8:26am UTC](https://discourse.mozilla.org/t/i-am-looking-for-software-to-block-sites-from-the-search/20416/13 "2017-10-20T08:26:07Z")

</div>

Emerogork, what do you mean with “the search”? A search engine? There is an add-on to blacklist websites from Google:

[https://addons.mozilla.org/de/firefox/addon/personal-blocklist/](https://addons.mozilla.org/de/firefox/addon/personal-blocklist/)

I have it installed and it works for me.

---

<div class="post-metadata">

**Author:** ![Habinsky](https://avatars.discourse-cdn.com/v4/letter/h/5f9b8f/32.png) [@Habinsky](https://discourse.mozilla.org/u/Habinsky)\
**Post date:** [July 27, 2020, 1:02am UTC](https://discourse.mozilla.org/t/i-am-looking-for-software-to-block-sites-from-the-search/20416/14 "2020-07-27T01:02:45Z")

</div>

> what do you mean with “the search”?

just a guess. question maybe referring to a real-time text parser that tests the incoming page for offensive text before loading the page.  
waiting till you know if to blacklist is like waiting for the pizza to arrive to know if you should order.

btw, have you tried Techloq?  
the software that you are speaking of is actually a kernel mode module service that comes packaged with windows called windows filtering platform.  
there are starter kits in github but the reason i mentioned Techoq is because making use of such tools as WFP requires some knowledge of c++, a deep understanding of winsoc programming, and good grasp of the unix kernel model in general.

---

<div class="post-metadata">

**Author:** ![nodetics](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@nodetics](https://discourse.mozilla.org/u/nodetics)\
**Post date:** [July 29, 2020, 3:24pm UTC](https://discourse.mozilla.org/t/i-am-looking-for-software-to-block-sites-from-the-search/20416/15 "2020-07-29T15:24:39Z")

</div>

Works with several search engines and can filter results:

> **[SearchMage - Search Enhancer – Get this Extension for 🦊 Firefox (en-US)](https://addons.mozilla.org/en-US/firefox/addon/searchmage-search-enhancer/)**
>
> Download SearchMage - Search Enhancer for Firefox. Find things fast! SearchMage adds several features to popular search engines to allow e.g. search result filtering, infinite scrolling, CSS themes (e.g. dark theme), easy navigation and keyboard...

---

<div class="post-metadata">

**Author:** ![jscher2000](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/jscher2000/32/28202_2.png) [@jscher2000](https://discourse.mozilla.org/u/jscher2000)\
**Post date:** [July 29, 2020, 10:52pm UTC](https://discourse.mozilla.org/t/i-am-looking-for-software-to-block-sites-from-the-search/20416/16 "2020-07-29T22:52:21Z")

</div>

Well, as long as we’re plugging. 😉 This is my userscript for some \*monkey extensions:

> **[Google Hit Hider by Domain — Author's Site](https://www.jeffersonscher.com/gm/google-hit-hider/index.php)**
>
> Block unwanted sites from your searches (Google, Startpage.com, DuckDuckGo)
