GithubHelp home page GithubHelp logo

jendrikw / ublock-origin-dev-filter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from quenhus/ublock-origin-dev-filter

0.0 0.0 0.0 3.02 MB

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

License: The Unlicense

JavaScript 24.66% Python 75.34%

ublock-origin-dev-filter's Introduction

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.

ublock-origin-dev-filter's People

Contributors

actions-user avatar alanning avatar axnsan12 avatar ben-xx avatar bitboxx avatar cennoxx avatar dylanarmstrong avatar explosion-scratch avatar fedemp avatar feirell avatar growse avatar im-bruno avatar jackblk avatar jjnilton avatar kamer avatar lunaneff avatar maybach91 avatar michaelmcdonnell avatar mwnciau avatar nelsonjchen avatar quenhus avatar reeseovine avatar rubenvanerk avatar saul avatar stillhart-at-bechterew avatar thorncorona avatar trashman9000 avatar veyndan avatar xvello avatar zekxtreme avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.