Skip to content

Commit

Permalink
feat: add source laylavish/uBlockOrigin-HUGE-AI-Blocklist
Browse files Browse the repository at this point in the history
  • Loading branch information
eallion committed Oct 11, 2024
1 parent f611cef commit da27032
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -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
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
通过匹配域名的方式,屏蔽搜索引擎的搜索结果。
主要是屏蔽中文 SEO 垃圾站,如机器翻译、AI 生成的内容……

#### 🔍️ 支持的搜索引擎 (由 [uBlacklist](https://github.com/iorate/ublacklist) 插件决定)
#### 🔍️ 支持的搜索引擎(由 [uBlacklist](https://github.com/iorate/ublacklist) 插件决定)

此扩展支持以下搜索引擎

Expand Down Expand Up @@ -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. 插件设置
Expand Down Expand Up @@ -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

### 推荐

Expand Down
1 change: 1 addition & 0 deletions source/laylavish/uBlockOrigin-HUGE-AI-Blocklist
2 changes: 1 addition & 1 deletion source/zweie/some-rules-for-ublacklist

0 comments on commit da27032

Please sign in to comment.