Duck Hide Sites

Hide specific sites from DuckDuckGo search results

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

Autor
IzzySoft
Dziennych instalacji
0
Wszystkich instalacji
250
Oceny
2 0 0
Wersja
1
Utworzono
30-12-2015
Zaktualizowano
30-12-2015
Rozmiar
2,1 KB
Licencja
Brak licencji
Dotyczy

DuckDuckGo: Hide results by host name

There are many reasons why one might not wish to see results from specific domains:

  • they just serve a teaser, but the real content is paywalled (experts-exchange.com)
  • they have nothing but duped content (many Stack Exchange sites experience this)
  • they are known for very low quality

Whatever your specific reasons, you can hide them from DuckDuckGo results with this little script. It doesn't feature a fancy GUI (patches welcome, or you fork it and add them yourself), so for now you'll have to edit the script to manage sites-to-hide. There are two variables for that at the very beginning of the script: unwanted are exact host names, so e.g. experts-exchange.com only matches experts-exchange.com (as e.g. in http://experts-exchange.com/*), while unwantedWild holds regular expressions – with e.g. .*\\.jquery.com matching all sub-domains of jquery.com (www.jquery.com, forum.jquery.com etc).

The following example is definitely not real-life, but should demonstrate the usage:

var unwanted = ['experts-exchange.com','api.jquery.com','datatables.net'];
var unwantedWild = ['.*\\.jquery.com'];