quenhus / uBlock-Origin-dev-filter

Filters to block and remove copycat-websites from DuckDuckGo, Google and other search engines. Specific to dev websites like StackOverflow or GitHub.
The Unlicense
2.23k stars 43 forks source link
dev ublock ublock-origin

uBlock-Origin-dev-filter

Filters to block and remove copycat-websites from DuckDuckGo, Google and other search engines. Used to be specific to dev websites like StackOverflow or GitHub, but it currently supports others like Wikipedia.

To use this tools, you should have uBlock Origin installed.

Import into uBlock Origin

Select the filters flavors you want, depending on your needs and search engine:

💻 dev supports StackOverflow + GitHub + NPM (the original dev-oriented filter) \ 🌐 global supports StackOverflow + GitHub + NPM + Wikipedia + SEO Spam

dev global
Google uBO - add this filter uBO - add this filter
DuckDuckGo uBO - add this filter uBO - add this filter
Google+DDG uBO - add this filter uBO - add this filter
Startpage uBO - add this filter uBO - add this filter
Brave uBO - add this filter uBO - add this filter
Ecosia uBO - add this filter uBO - add this filter
All Search Engines uBO - add this filter uBO - add this filter


More granular versions (StackOverflow-only, GitHub-only, ...) ||StackOverflow|GitHub|NPM|Wikipedia|SEO Spam| |---|:---:|:---:|:---:|:---:|:---:| |Google|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fgoogle%2Fstackoverflow_copycats.txt&title=uBlock-Origin-dev-filter%20-%20Google%20-%20StackOverflow)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fgoogle%2Fgithub_copycats.txt&title=uBlock-Origin-dev-filter%20-%20Google%20-%20GitHub)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fgoogle%2Fnpm_copycats.txt&title=uBlock-Origin-dev-filter%20-%20Google%20-%20NPM)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fgoogle%2Fwikipedia_copycats.txt&title=uBlock-Origin-dev-filter%20-%20Google%20-%20Wikipedia)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fgoogle%2Fseo_spam.txt&title=uBlock-Origin-dev-filter%20-%20Google%20-%20SEO%20Spam)| |DuckDuckGo|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fduckduckgo%2Fstackoverflow_copycats.txt&title=uBlock-Origin-dev-filter%20-%20DuckDuckGo%20-%20StackOverflow)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fduckduckgo%2Fgithub_copycats.txt&title=uBlock-Origin-dev-filter%20-%20DuckDuckGo%20-%20GitHub)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fduckduckgo%2Fnpm_copycats.txt&title=uBlock-Origin-dev-filter%20-%20DuckDuckGo%20-%20NPM)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fduckduckgo%2Fwikipedia_copycats.txt&title=uBlock-Origin-dev-filter%20-%20DuckDuckGo%20-%20Wikipedia)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fduckduckgo%2Fseo_spam.txt&title=uBlock-Origin-dev-filter%20-%20DuckDuckGo%20-%20SEO%20Spam)| |Google+DDG|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fgoogle_duckduckgo%2Fstackoverflow_copycats.txt&title=uBlock-Origin-dev-filter%20-%20Google%2BDDG%20-%20StackOverflow)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fgoogle_duckduckgo%2Fgithub_copycats.txt&title=uBlock-Origin-dev-filter%20-%20Google%2BDDG%20-%20GitHub)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fgoogle_duckduckgo%2Fnpm_copycats.txt&title=uBlock-Origin-dev-filter%20-%20Google%2BDDG%20-%20NPM)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fgoogle_duckduckgo%2Fwikipedia_copycats.txt&title=uBlock-Origin-dev-filter%20-%20Google%2BDDG%20-%20Wikipedia)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fgoogle_duckduckgo%2Fseo_spam.txt&title=uBlock-Origin-dev-filter%20-%20Google%2BDDG%20-%20SEO%20Spam)| |Startpage|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fstartpage%2Fstackoverflow_copycats.txt&title=uBlock-Origin-dev-filter%20-%20Startpage%20-%20StackOverflow)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fstartpage%2Fgithub_copycats.txt&title=uBlock-Origin-dev-filter%20-%20Startpage%20-%20GitHub)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fstartpage%2Fnpm_copycats.txt&title=uBlock-Origin-dev-filter%20-%20Startpage%20-%20NPM)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fstartpage%2Fwikipedia_copycats.txt&title=uBlock-Origin-dev-filter%20-%20Startpage%20-%20Wikipedia)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fstartpage%2Fseo_spam.txt&title=uBlock-Origin-dev-filter%20-%20Startpage%20-%20SEO%20Spam)| |Brave|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fbrave%2Fstackoverflow_copycats.txt&title=uBlock-Origin-dev-filter%20-%20Brave%20-%20StackOverflow)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fbrave%2Fgithub_copycats.txt&title=uBlock-Origin-dev-filter%20-%20Brave%20-%20GitHub)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fbrave%2Fnpm_copycats.txt&title=uBlock-Origin-dev-filter%20-%20Brave%20-%20NPM)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fbrave%2Fwikipedia_copycats.txt&title=uBlock-Origin-dev-filter%20-%20Brave%20-%20Wikipedia)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fbrave%2Fseo_spam.txt&title=uBlock-Origin-dev-filter%20-%20Brave%20-%20SEO%20Spam)| |Ecosia|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fecosia%2Fstackoverflow_copycats.txt&title=uBlock-Origin-dev-filter%20-%20Ecosia%20-%20StackOverflow)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fecosia%2Fgithub_copycats.txt&title=uBlock-Origin-dev-filter%20-%20Ecosia%20-%20GitHub)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fecosia%2Fnpm_copycats.txt&title=uBlock-Origin-dev-filter%20-%20Ecosia%20-%20NPM)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fecosia%2Fwikipedia_copycats.txt&title=uBlock-Origin-dev-filter%20-%20Ecosia%20-%20Wikipedia)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fecosia%2Fseo_spam.txt&title=uBlock-Origin-dev-filter%20-%20Ecosia%20-%20SEO%20Spam)| |All Search Engines|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fall_search_engines%2Fstackoverflow_copycats.txt&title=uBlock-Origin-dev-filter%20-%20All%20Search%20Engines%20-%20StackOverflow)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fall_search_engines%2Fgithub_copycats.txt&title=uBlock-Origin-dev-filter%20-%20All%20Search%20Engines%20-%20GitHub)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fall_search_engines%2Fnpm_copycats.txt&title=uBlock-Origin-dev-filter%20-%20All%20Search%20Engines%20-%20NPM)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fall_search_engines%2Fwikipedia_copycats.txt&title=uBlock-Origin-dev-filter%20-%20All%20Search%20Engines%20-%20Wikipedia)|[add in uBO](https://subscribe.adblockplus.org/?location=https%3A%2F%2Fraw.githubusercontent.com%2Fquenhus%2FuBlock-Origin-dev-filter%2Fmain%2Fdist%2Fall_search_engines%2Fseo_spam.txt&title=uBlock-Origin-dev-filter%20-%20All%20Search%20Engines%20-%20SEO%20Spam)|


How to import uBlock filters manually ### Manually import filters 1. Open uBlock Origin settings 2. Under the "Filter lists" tab, scroll to the bottom where it says “Custom” and click the “Import” checkbox to reveal the custom URL textbox 3. Append the URL `https://raw.githubusercontent.com/quenhus/uBlock-Origin-dev-filter/main/dist/google_duckduckgo/all.txt` in the textbox 4. Press `Apply Changes` in the upper left Note: In `dist/`, you can find filters for other search engines (Google, DuckDuckGo, Startpage or Brave). You can use and combine these filters by using the raw URL of `dist/` files.

Other filter formats (uBlacklist, hosts filter, ...)

This project also provide filter in other formats:

dev global StackOverflow GitHub NPM Wikipedia SEO Spam
uBlacklist Link Link Link Link Link Link Link
macOS userscript Link Link Link Link Link Link Link
Domains filter Link Link Link Link Link Link Link
DNS hosts filter Link Link Link Link Link Link Link

Adding URL's

Please create a pull-request or start an issue with evidence against the "copycats".

Security

For simplicity and auto-updates, uBlock Origin filters rely on the last commit of the main branch, as every other uBO filters. For now, it seems this method does not raise security issues. However, you can import uBlock Origin filters with a reference to a given commit, not the main branch. Filters won't auto-update but they will be auditable by your own eyes.

Scope of this filter

To me, a copycat is a website that:

To be more precise:

Sources

Do your own

  1. List URL that you want to block in a .txt in the data/ folder
  2. Use src/generate.py, which generate files in dist/ you can use as uBlock filters

Note: You can use letsblock.it to create your own filter.