UBlock Origin 和 UBlacklist AI 封锁列表
UBlockOrigin and UBlacklist AI Blocklist

原始链接: https://github.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist

该资源提供一个大型、手动整理的黑名单(1000+个网站),旨在从Google、DuckDuckGo和Bing的图片搜索结果中移除AI生成的内容。它兼容uBlock Origin、uBlacklist、Pi-hole和AdGuard。 安装很简单:uBlock Origin和uBlacklist(仅Chrome)提供一键导入链接,或者所有平台都可以通过URL手动导入。移动用户(iOS/iPadOS via Safari & Android)可以使用uBlacklist。该列表每天自动更新,并提供强制更新选项。 除了主列表外,还有一个“核”列表,针对混合AI/真实内容的网站(如艺术平台)。用户还可以为特定网站创建白名单,并根据关键词过滤结果。欢迎通过pull requests或issue提交来贡献列表。 该项目还链接到相关资源,如反AI搜索技巧和其他有用的黑名单。

## Hacker News 讨论:UBlockOrigin 与 AI 屏蔽列表 一个 GitHub 新项目提供了一个 UBlockOrigin 过滤列表,用于屏蔽 AI 网站,以及令人惊讶的特定条目,例如 Instagram 个人资料和亚马逊商品(甚至一本涂色书!),这在 Hacker News 上引发了争论。 讨论的中心是屏蔽 AI 的更广泛影响——这是否是拒绝“思考机器”,还是仅仅反对 AI 生成内容的滥用及其对就业和创意领域的影响?许多评论员区分了 AI 作为有用的*工具*(例如代码补全)和 AI 作为*产品*取代人类工作。人们对 AI 可能贬值熟练劳动、制造金融泡沫以及将权力集中在大型科技公司手中的可能性表示担忧。 一些人批评该屏蔽列表过于宽泛且受个人偏见驱动,而另一些人则认为对 AI 的反弹是应对颠覆性技术的自然反应。一个反复出现的主题是使用 AI 的道德影响,即使它能提高生产力,以及拒绝它是否是一种合理的立场。对话还涉及 AI 可能加剧现有不平等以及对监管的需求。
相关文章

原文

A huge blocklist of manually curated sites (1000+) that contain AI generated content, for the purposes of cleaning image search engines (Google Search, DuckDuckGo, and Bing) with uBlock Origin or uBlacklist.

Also works on mobile (iOS, iPadOS, Android) via uBlacklist, as well as pihole/adguard (via Hosts file)

Installing it with uBlock Origin

One-click import (any platform)

If you have uBlock Origin installed, click this link to import the filter list in just a click! Quick and simple.

Manual Import

  1. Make sure that you have the uBlock Origin Extension for Firefox, Chrome, or any browser that supports uBlock Origin

  2. Click on the uBlock Origin Extension, and in the bottom right, there is a cog-wheel symbol--named the dashboard. Click it.

  3. Once you are in the dashboard, look towards the top. Click on the tab that says "Filter lists".

  4. Look towards the bottom, and expand the Import button.

  5. Copy and paste this URL into the dialogue box:

https://raw.githubusercontent.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist/main/list.txt
  1. Apply changes, and you're set!
Here's a video guide on how to do this (click the dropdown to expand)
tutorial_ubo.mp4

Tip

uBlock Origin will automatically refresh the filter list once a day, so you'll always have up-to-date filters. If you want to force an update of the filter list, pressing the stopwatch next to the newly added list, then pressing Update now will achieve that.

Important

If you find that your imported list isn't working, it may be due to an outdated web browsing session. If you haven't restarted your web browser for a long time, there's a chance the session won't update how it should, meaning importing the list into uBlock Origin or uBlacklist won't function correctly. Try creating a new session by closing all web browser windows, waiting until all processes are fully closed (4-5 second wait), then re-opening your web browser. That should help; if not, then try clearing your browser's cache.


Installing it with uBlacklist

One-click filter import (Only for Chrome, Firefox doesn't support one-click import)

If you use Google Chrome/Chromium and have uBlacklist installed, you can import the list in just one click. Click this link to automatically subscribe to the list.

Manual Import

  1. Make sure that you have the uBlacklist extension for Firefox, Chrome, or any browser that supports uBlacklist

  2. Click on your extensions list, select uBlacklist, then click on the "options" text, highlighted in blue.

  3. Enable other search engines by clicking on the 'Other search engines/SERPINFO' button, and click on the search engines you want this list to work on. A list of compatible search engines (with images support) is linked here.

  4. Scroll all the way down until you see the "Subscription" tab, and click on the blue "Add a subscription" button.

  5. Give a name for the added blocklist (eg. Main AI blocklist).

  6. Copy and paste this url

https://raw.githubusercontent.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist/main/list_uBlacklist.txt

into the URL part of the dialogue box, then press the blue Add button.

  1. Set the update interval to an hour for near-realtime list updates, and you're done!

Mobile installation (iOS, iPadOS & Android)

iOS, iPadOS (Safari only)

Note

Both iOS and iPadOS don't have support for uBlock Origin. So, we'll be using uBlacklist for this. Safari is the only browser we can use that allows the use of extensions.

  1. Download uBlacklist, available on the App Store

  2. Go into settings, scroll down until you see Safari, and tap on it.

  3. Once in the Safari settings, in General, hit Extensions. Turn on the uBlacklist extension.

  4. While still in uBlacklist's settings, in the Permissions for uBlacklist section, scroll down to your preferred search engine and change the permission from "Ask" to "Allow."

Important

This may look cumbersome, but all you really need to do is just allow the extension to hit your search engine's locale, for example, google.fr or google.co.uk. You can go through all of them and allow them, but it's not necessary.

  1. Now scroll back up, and hit the blue Extension Settings button. It will bring you to Safari and open uBlacklist's settings panel.

  2. Scroll all the way down until you see the "Subscription" tab, and click on the blue "Add a subscription" button.

  3. Give a name for the added blocklist (eg. Main AI blocklist).

  4. Copy and paste this url

https://raw.githubusercontent.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist/main/list_uBlacklist.txt

into the URL part of the dialogue box, then press the blue Add button.

  1. Set the update interval to an hour for near-realtime list updates, and you're done!
Installation for uBlock Origin (expand)

One-click import

If you have uBlock Origin installed, click this link to import the filter list in just a click! Quick and simple.

Manual Import

  1. Make sure that you have the uBlock Origin Extension for Firefox.

  2. Hit the three dots in the top right, and hit the Extensions button.

  3. Click on the uBlock Origin Extension, and in the bottom right, there is a cog-wheel symbol--named the dashboard. Click it.

  4. Once you are in the dashboard, look towards the top. Click on the tab that says Filter lists.

  5. Look towards the bottom, and expand the Import button.

  6. Copy and paste this URL into the dialogue box:

https://raw.githubusercontent.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist/main/list.txt
  1. Apply changes, and you're set!
Installation for uBlacklist (expand)

Manual Import

  1. Make sure that you have the uBlacklist extension for Firefox, Chrome, or any browser that supports uBlacklist

  2. Hit the three dots in the top right, and hit the Extensions button.

  3. Click on your extensions list, select uBlacklist, then click on the "options" text, highlighted in blue.

  4. Enable other search engines by clicking on the 'Other search engines/SERPINFO' button, and click on the search engine(s) you want this list to work on. A list of compatible search engines (with images support) is here.

  5. Scroll all the way down until you see the "Subscription" tab, and click on the blue "Add a subscription" button.

  6. Give a name for the added blocklist (eg. Main AI blocklist).

  7. Copy and paste this url

https://raw.githubusercontent.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist/main/list_uBlacklist.txt

into the URL part of the dialogue box, then press the blue Add button.

  1. Set the update interval to an hour for near-realtime list updates, and you're done!

Hosts file for pi-hole/adguard

I've added a list in HOSTS format for pi-hole/adguard or for use in your own operating system's hosts file.

https://raw.githubusercontent.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist/main/noai_hosts.txt

For use in your operating system, visit the url and copy-paste the contents inside your operating systems hosts file.

Here's a simple guide on how to access your hosts file on Linux, macOS, and Windows.

  1. Visit your admin's dashboard
  2. Click on Adlists
  3. Copy and paste the url into the address: box
  4. Hit the add button, and it should be added.
  1. Open Adguard Home Dashboard
  2. Go to filters --> DNS blocklists.
  3. Click Add blocklist, then Add a custom list.
  4. Enter the name of the list (eg. AI blocklist) into the first dialogue box.
  5. Copy and paste the url into the second dialogue box.
  6. Hit save, and the list is added!

Currently, there are two lists: The main default list, and the nuclear list.

The nuclear list has sites that contain a mix of authentic and AI generated imagery (eg. DeviantArt, Artstation, Stock Photography sites, etc), which make it tricky to outright block in the main filter list, so I've designated it to a separate list that you can toggle on and off if you so desire.

uBlock Origin Nuclear List (expand)
https://raw.githubusercontent.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist/main/additional_list_nuclear.txt
uBlacklist Nuclear List (expand)
https://raw.githubusercontent.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist/main/list_uBlacklist_nuclear.txt

Don't like a certain site being blocked? You can easily create an allowlist in your own personal uBlock Origin or uBlacklist filter list.

Here's how to do it.

Steps for uBlock Origin (expand)
  1. Toggle the DOM inspector </> through uBlock Origin's logger.
  2. Locate the URL you want to allowlist.
  3. Click on the filter you want to disable (eg. vecteezy.com); it should then be crossed out.
  4. Press the save icon, then the "Create" button.

Boom! Now it's allowlisted!

Or, if you don't want to go through that mumbo-jumbo, add this line in your filter list:

#@#a[href*="example.com"]:upward(li):remove()

Change "example.com" to the URL you want to allowlist. Copy & paste that in uBlock Origin's "My filters" list, and you're set!

Steps for uBlacklist (expand)
  1. Enter uBlacklist's options panel.
  2. In the text box, add this line in the text box:
  1. Change "example.com" to a website you want allowlisted.
  2. Click save. Done!

It is possible to filter AI results based on keywords. It was originally in the list, but it's been taken out to make it configurable and/or optional.

In your personal filter list, you can use this template to add your own keywords you would like to block.

google.com,duckduckgo.com,bing.com##div>a:has-text(/Your Text Here/i):upward(div):style(opacity:0!important)

Replace "Your Text Here" with your preferred keywords. A short list of optional procedural filters that you can use for uBlock Origin are listed in a dropdown below:

Optional procedural filters for uBlock Origin
google.com,duckduckgo.com,bing.com##div>a:has-text(/Stable Diffusion/i):upward(div):style(opacity:0!important)
google.com,duckduckgo.com,bing.com##div>a:has-text(/AI Art/i):upward(div):style(opacity:0!important)
google.com,duckduckgo.com,bing.com##div>a:has-text(/Generative AI/i):upward(div):style(opacity:0!important)
google.com,duckduckgo.com,bing.com##div>a:has-text(/Ai/):upward(div):style(opacity:0!important)
google.com,duckduckgo.com,bing.com##div>a:has-text(/AI/):upward(div):style(opacity:0!important)
google.com,duckduckgo.com,bing.com##div>a:has-text(/Lora Model/i):upward(div):style(opacity:0!important)
google.com,duckduckgo.com,bing.com##div>a:has-text(/diffusion/i):upward(div):style(opacity:0!important)
google.com,duckduckgo.com,bing.com##div>a:has-text(/midjourney/i):upward(div):style(opacity:0!important)
google.com,duckduckgo.com,bing.com##div>a:has-text(/niji/i):upward(div):style(opacity:0!important)
google.com,duckduckgo.com,bing.com##div>a:has-text(/SDXL/i):upward(div):style(opacity:0!important)
google.com,duckduckgo.com,bing.com##div>a:has-text(/ai generated/i):upward(div):style(opacity:0!important)
google.com,duckduckgo.com,bing.com##div>a:has-text(/aiart/i):upward(div):style(opacity:0!important)
google.com,duckduckgo.com,bing.com##div>a:has-text(/AI illustration/i):upward(div):style(opacity:0!important)

For uBlacklist, you can use regular expressions to filter AI results based on keywords.

An example of a regular expression for uBlacklist would be: /ai *(generated)?|stable *diffusion/i

Below is a small list of optional regular expressions that can be used to filter out AI results based on keywords:

Optional regular expressions for uBlacklist
/(generative)? *AI *(art|generated|illustration)?/i
/(ada)?Lo(RA|Con) *(model)?|(stable)?.*diffusion|midjourney|niji|sd *(xl|1.5)|(text|txt|img|image) *(to|2) *(image|img|video)/i

If you'd like to contribute to the list, feel free to clone this repo and create a pull request for the site(s) you'd like to add to the list. Make sure to update all files (including hosts file) wherever necesessary (except the nuclear list if you want the site to appear in the main list of course).

If you don't know how to do that or don't want to, you can instead create an issue of the site that you'd like to be included in the list, wherein I'd look over it and add it in myself. Any way that you contribute is greatly appreciated!

LGBTQ+ Rights! 🏳️‍🌈🏳️‍⚧️

Special thanks to:

Super SEO Spam Suppressor (SSSS) by NotaInutilis

An anticapitalist blocklist targeting websites abusing SEO tactics to spam web searches with data pollution and security risks: content farms, scrapers, copycats, generative AI, scams, advertisements, malwares, and useless wasteful garbage in general. It is best used with uBlacklist.

Blocklist for AI Music on Youtube by surasshu

A blocklist that targets AI music channels on YouTube, through the use of the Blocktube extension.

Journey Buster 3 by k0vac

A Chromium extension that lets you know if an image is AI generated, for use on Twitter.

Awesome List of uBlacklist Subscriptions by rjaus

A compilation of awesome uBlacklist subscriptions to block various sites from appearing in Google, Bing, or DuckDuckGo search.

Anti-AI Google Search Tips by yours truly

Tips and tricks to make Google Search (and other search engines that have similar operators) return authentic imagery.

联系我们 contact @ memedata.com