1. CJX全家桶(4)

发布页:https://github.com/cjx82630/cjxlist
EasyList: https://easylist-downloads.adblockplus.org/easylist.txt
EasyList China: https://easylist-downloads.adblockplus.org/easylistchina.txt
EasyPrivacy: https://easylist-downloads.adblockplus.org/easyprivacy.txt
CJX's Annoyance List: https://raw.githubusercontent.com/cjx82630/cjxlist/master/cjx-annoyance.txt

2. 乘风规则(3)

发布页:https://github.com/xinggsf/Adblock-Plus-Rule
乘风 广告过滤规则: https://raw.githubusercontent.com/xinggsf/Adblock-Plus-Rule/master/rule.txt
乘风 视频过滤规则: https://raw.githubusercontent.com/xinggsf/Adblock-Plus-Rule/master/mv.txt
乘风 小众视频过滤规则: https://raw.githubusercontent.com/xinggsf/Adblock-Plus-Rule/master/minority-mv.txt

3. 酷安@大萌主(1)

发布页:https://github.com/damengzhu/banad
轻量广告拦截规则:https://raw.githubusercontent.com/damengzhu/banad/main/jiekouAD.txt

4. 四大金刚

【1】发布页: https://github.com/TG-Twilight/AWAvenue-Ads-Rule
【2】发布页: https://github.com/BlueSkyXN/AdGuardHomeRules
【3】发布页: https://github.com/hululu1068/AdGuard-Rule
【4】发布页: https://github.com/5whys-adblock/AdGuardHome-rules
【1】AWAvenue Ads Rule: https://raw.githubusercontent.com/TG-Twilight/AWAvenue-Ads-Rule/main/AWAvenue-Ads-Rule.txt
【2】BlueSkyXN/all: https://raw.githubusercontent.com/BlueSkyXN/AdGuardHomeRules/master/all.txt
【2】BlueSkyXN/skyrules: https://raw.githubusercontent.com/BlueSkyXN/AdGuardHomeRules/master/skyrules.txt
【2】BlueSkyXN/ok: https://raw.githubusercontent.com/BlueSkyXN/AdGuardHomeRules/master/ok.txt
【3】hululu1068/AdGuard-Rule: https://raw.githubusercontent.com/hululu1068/AdGuard-Rule/main/rule/all.txt
【4】5whys Full block Adguard Home Rules List: https://raw.githubusercontent.com/5whys-adblock/AdGuardHome-rules/main/rules/output_full.txt

5. openclash | 无插件广告拦截功能设置方案

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/sh
. /usr/share/openclash/log.sh
. /lib/functions.sh
# This script is called by /etc/init.d/openclash
# Add your custom firewall rules here, they will be added after the end of the OpenClash iptables rules
LOG_OUT "Tip: Start Add Custom Firewall Rules..."

# ==========================================
# 删除已存在的 AdBlock DNSMasq 规则文件
rm /tmp/dnsmasq.d/anti-ad-for-dnsmasq.conf
rm /tmp/dnsmasq.d/adblockdnsmasq.txt
# 以下是广告过滤规则拉取脚本
LOG_OUT "拉取 AdBlock DNSMasq 广告过滤规则…"
curl -s https://raw.githubusercontent.com/Aethersailor/adblockfilters/main/rules/adblockdnsmasq.txt -o /tmp/dnsmasq.d/adblockdnsmasq.txt
# 广告过滤规则拉取脚本结束

# 以下是 GitHub520 加速规则拉取脚本
LOG_OUT "拉取 GitHub520 加速规则…"
sed -i '/# GitHub520 Host Start/,/# GitHub520 Host End/d' /etc/hosts
curl https://raw.hellogithub.com/hosts >> /etc/hosts
sed -i '/^$/d' /etc/hosts
sed -i '/!/d' /etc/hosts
# GitHub520 加速规则拉取脚本结束

# 清理 DNS 缓存
LOG_OUT "清理 DNS 缓存…"
/etc/init.d/dnsmasq restart
/etc/init.d/dnsmasq reload
/etc/init.d/dnsmasq restart
# ==========================================

exit 0
exit 0

[up主专用,视频内嵌代码贴在这]