uBlock-Origin-dev-filter
Filters to block and remove copycat-websites from DuckDuckGo and Google. Specific to dev websites like StackOverflow or GitHub.
Import into uBlock Origin
- Open uBlock Origin settings
- Under the "Filter" tab, scroll to the bottom where it says “Custom” and click the “Import” checkbox to reveal the custom URL textbox
- Append the URL
https://raw.githubusercontent.com/quenhus/uBlock-Origin-dev-filter/main/dist/google_duckduckgo/all.txtin the textbox - Press
Apply Changesin the upper right
Adding URL's
Please create a pull-request or start an issue with evidence against the "copycats".
Sources
- uBlacklist Stack Overflow Translation
- uBlacklist GitHub Translation
- uBlock Origin - Shitty Copy-Paste websites filter
- Quenhus Stackoverflow/Github copy-cats
Do your own
- List URL that you want to block in a
.txtin thedata/folder - Use
src/generate.py, which generate files indist/you can use as uBlock filters
Manual Google filter
- Take an URL
*.abc.example.comoriam.copycat.com/* - Remove
*prefix or/*suffix - Surround the URL with
google.*##.g:has(a[href*="and"]) - For example, it gives
google.*##.g:has(a[href*=".abc.example.com"])andgoogle.*##.g:has(a[href*="iam.copycat.com"])
Manual DuckDuckGo filter
- Take an URL
*.abc.example.comoriam.copycat.com/* - Remove
*prefix or/*suffix - Surround the URL with
duckduckgo.*##.results > div:has(a[href*="and"]) - For example, it gives
duckduckgo.*##.results > div:has(a[href*=".abc.example.com"])andduckduckgo.*##.results > div:has(a[href*="iam.copycat.com"])