UBlock Origin Dev Filter Save Abandoned

Filters to block and remove copycat-websites from DuckDuckGo, Google and other search engines. Specific to dev websites like StackOverflow or GitHub.

Project README

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 add in uBO add in uBO add in uBO add in uBO
DuckDuckGo add in uBO add in uBO add in uBO add in uBO add in uBO
Google+DDG add in uBO add in uBO add in uBO add in uBO add in uBO
Startpage add in uBO add in uBO add in uBO add in uBO add in uBO
Brave add in uBO add in uBO add in uBO add in uBO add in uBO
Ecosia add in uBO add in uBO add in uBO add in uBO add in uBO
All Search Engines add in uBO add in uBO add in uBO add in uBO add in uBO

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.

macOS Userscript

macOS Userscript

For macOS users, this project also provide some Userscripts for Google+DuckDuckGo in dist/userscript/google_duckduckgo/

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:

  • mirrors most of GitHub/SO content, automatically and without useful additional work on the content,
  • prevents the user to interact easily with the resource (upvote, comment or reply),
  • might use SEO techniques to catch users who would have otherwise reached the original resource,
  • overall, offers no benefits for users over the original resource.

To be more precise:

  • I do not consider automatic translation as a benefit;
  • I do consider a mirror with clear attribution to be a copycat;
  • I do not consider a mirror created for privacy concern to be a copycat, except if it uses aggressive SEO techniques;
  • This uBlock filter is my own filter, for my usage and can't obviously satisfy everyone.

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.

Open Source Agenda is not affiliated with "UBlock Origin Dev Filter" Project. README Source: quenhus/uBlock-Origin-dev-filter
Stars
1,859
Open Issues
7
Last Commit
10 months ago

Open Source Agenda Badge

Open Source Agenda Rating