From da27032833a61d5e1e25c617c8734c14de1ccc96 Mon Sep 17 00:00:00 2001 From: Charles Chin Date: Fri, 11 Oct 2024 20:30:50 +0800 Subject: [PATCH] feat: add source laylavish/uBlockOrigin-HUGE-AI-Blocklist --- .github/workflows/go.yml | 8 ++++++-- .gitmodules | 3 +++ README.md | 12 +++++++++++- source/laylavish/uBlockOrigin-HUGE-AI-Blocklist | 1 + source/zweie/some-rules-for-ublacklist | 2 +- 5 files changed, 22 insertions(+), 4 deletions(-) create mode 160000 source/laylavish/uBlockOrigin-HUGE-AI-Blocklist diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5468bc04..db41a71c 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -33,10 +33,14 @@ jobs: rm uBlacklist.txt rm uBlocklist.txt rm tools/uBlacklist_backup.txt - mv reverse_url.txt tools/reverse_url - find . -type f -name "*.txt" -exec cat {} \;> tools/uBlacklist rm source/gyli/Blocklist/blocklist.txt rm source/Paxxs/Google-Blocklist/data -rf + rm source/laylavish/uBlockOrigin-HUGE-AI-Blocklist/additional_list_nuclear.txt + rm source/laylavish/uBlockOrigin-HUGE-AI-Blocklist/list.txt + rm source/laylavish/uBlockOrigin-HUGE-AI-Blocklist/list_uBlacklist_nuclear.txt + rm source/laylavish/uBlockOrigin-HUGE-AI-Blocklist/noai_hosts.txt + mv reverse_url.txt tools/reverse_url + find . -type f -name "*.txt" -exec cat {} \;> tools/uBlacklist # Issue # 48 sed -i '/^http:\/\//d' source/zweie/some-rules-for-ublacklist/Annoyingbastard.txt diff --git a/.gitmodules b/.gitmodules index 0a1169bf..c049d7e9 100644 --- a/.gitmodules +++ b/.gitmodules @@ -37,3 +37,6 @@ [submodule "source/Paxxs/Google-Blocklist"] path = source/Paxxs/Google-Blocklist url = https://github.com/Paxxs/Google-Blocklist +[submodule "source/laylavish/uBlockOrigin-HUGE-AI-Blocklist"] + path = source/laylavish/uBlockOrigin-HUGE-AI-Blocklist + url = https://github.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist diff --git a/README.md b/README.md index 627a276b..8278a413 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ 通过匹配域名的方式,屏蔽搜索引擎的搜索结果。 主要是屏蔽中文 SEO 垃圾站,如机器翻译、AI 生成的内容…… -#### 🔍️ 支持的搜索引擎 (由 [uBlacklist](https://github.com/iorate/ublacklist) 插件决定) +#### 🔍️ 支持的搜索引擎(由 [uBlacklist](https://github.com/iorate/ublacklist) 插件决定) 此扩展支持以下搜索引擎 @@ -106,6 +106,15 @@ https://raw.githubusercontent.com/eallion/uBlacklist-subscription-compilation/ma *://*/so/* ``` +屏蔽 AI 内容农场: + +> 来自:https://github.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist?tab=readme-ov-file#ublacklist-1 + +``` +/(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 +``` + ### 添加/删除 域名 ##### 1. 插件设置 @@ -151,6 +160,7 @@ Subscription: - https://github.com/YeSilin/uBlacklist.git - https://github.com/youzeliang/uBlacklist-Subscription - https://github.com/zweie/some-rules-for-ublacklist +- https://github.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist ### 推荐 diff --git a/source/laylavish/uBlockOrigin-HUGE-AI-Blocklist b/source/laylavish/uBlockOrigin-HUGE-AI-Blocklist new file mode 160000 index 00000000..9cbd4d23 --- /dev/null +++ b/source/laylavish/uBlockOrigin-HUGE-AI-Blocklist @@ -0,0 +1 @@ +Subproject commit 9cbd4d23523a6fcc0346611a37af02245eaac9f8 diff --git a/source/zweie/some-rules-for-ublacklist b/source/zweie/some-rules-for-ublacklist index 5dab50e2..7cf2322e 160000 --- a/source/zweie/some-rules-for-ublacklist +++ b/source/zweie/some-rules-for-ublacklist @@ -1 +1 @@ -Subproject commit 5dab50e2a7065fde651048fce32333462350b2e3 +Subproject commit 7cf2322eebb35698a9b8c2f8e8e78bbf63b28d6f