New version

This commit is contained in:
blackmatrix7
2022-06-04 17:46:59 +08:00
parent e7aba22ebf
commit e54156e2f1
6687 changed files with 2936763 additions and 1400058 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2,89 +2,103 @@
## 前言
本项目的复写去广告规则由《规则生成器》自动整合与去重。
![](https://shields.io/badge/-移除重复规则-ff69b4) ![](https://shields.io/badge/-MITM--HOSTNAME合并-brightgreen) ![](https://shields.io/badge/-正则推导HOSTNAME-033da7)
复写规则所有数据均收集自开源项目,仅为解决引用过多外部资源引起的规则重复问题,不代表我们支持或使用这些服务
本项目的复写去广告规则由《RULE GENERATOR 规则生成器》自动生成
请通过我国(中华人民共和国)合法的互联网出入口信道访问规则中的地址,并确保在使用过程中符合相关法律法规
所有数据均收集自互联网公开信息,不代表我们支持或使用这些服务
请通过【中华人民共和国 People's Republic of China】合法的互联网出入口信道访问规则中的相关服务并确保在使用过程中符合相关法律法规。
## 规则说明
与AdvertisingLite的区别
数据源完全相同AdvertisingLite会去除一些过于宽泛的匹配规则减少MITM的数量。
## 复写统计
## 规则统计
| 类型 | 数量(条) |
| ---- | ---- |
| mitm | 600 |
| force_http_engine_hosts | 12 |
| DOMAIN-SUFFIX | 1 |
| DOMAIN | 2 |
| reject | 859 |
## 配置说明
最后更新时间2022-06-24 02:32:50
实时版:程序定时更新,更新频率高,能尽快同步数据源变化,适合希望尝鲜的人。
各类型规则统计:
| 类型 | 数量(条) |
| ---- | ---- |
| REJECT | 406 |
| MITM | 351 |
| FORCE-HTTP-ENGINE-HOSTS | 6 |
| TOTAL | 763 |
稳定版:不定时手动更新,更新频率低,适合不希望规则频繁变化的人。
稳定版中如含有JavaScript脚本所引用的脚本链接为实时版或外部链接可能会与预期效果有出入建议使用实时版。
## Surge
### Surge
实时版:
#### 文件区别
- Advertising.sgmodule与Advertising_Mock.sgmodule的区别在于后者通过Surge的Mock模拟Reject规则。
#### 规则链接
**MASTER分支 (每日更新)**
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/Advertising/Advertising.sgmodule
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/Advertising/Advertising_Classical.sgmodule
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/Advertising/Advertising_Mock.sgmodule
稳定版:
**MASTER分支 CDN (每日更新)**
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rewrite/Surge/Advertising/Advertising.sgmodule
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rewrite/Surge/Advertising/Advertising_Mock.sgmodule
**MASTER分支 GHProxy (每日更新)**
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/Advertising/Advertising.sgmodule
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/Advertising/Advertising_Mock.sgmodule
**RELEASE分支 (不定时更新)**
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/Advertising/Advertising.sgmodule
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/Advertising/Advertising_Classical.sgmodule
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/Advertising/Advertising_Mock.sgmodule
如果稳定版无法访问 ,可能是尚未从实时版的分支合并,建议您先使用实时版,或等待下次稳定版分支合并。
**RELEASE分支CDN (不定时更新)**
### 特别说明
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@release/rewrite/Surge/Advertising/Advertising.sgmodule
Advertising.sgmodule 使用Mock模拟reject-dict等结果。
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@release/rewrite/Surge/Advertising/Advertising_Mock.sgmodule
Advertising_Classical.sgmodule 采用传统的reject方式直接拒绝请求。
**RELEASE分支 GHProxy (不定时更新)**
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/Advertising/Advertising.sgmodule
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/Advertising/Advertising_Mock.sgmodule
## 子规则
当前分流规则,未包含其他子规则。
根据个人需求,二选一使用即可。
## 数据来源
本项目的复写去广告复写规则的数据来自以下链接,通常已涵盖所有数据来源的复写规则
复写去广告的数据来自以下链接,如与本项目的《复写去广告》规则混合使用,可能造成部分重写重复
如果你正在使用这些复写规则,建议不要与本项目的复写去广告复写规则混合使用,以免造成规则重复。
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/Advertising.conf
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/rewrite/Advertising/advertising.sgmodule
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Module/Block/Advertising.sgmodule
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Shortcuts/reject.txt
- https://raw.githubusercontent.com/GFBG-IT/QuantumultX/main/Advertising.conf
- https://raw.githubusercontent.com/GeQ1an/Rules/master/Loon/Rewrite/Rewrite.list
- https://raw.githubusercontent.com/GeQ1an/Rules/master/QuantumultX/Rewrite/Rewrite.list
- https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/Rewrite_lhie1.conf
- https://raw.githubusercontent.com/NobyDa/Script/master/Surge/Module/RewriteRules.sgmodule
- https://raw.githubusercontent.com/Tartarus2014/For-own-use/master/Loon/Advertising.conf
- https://raw.githubusercontent.com/Tartarus2014/Loon-Script/master/Plugin/Block/Advertising.plugin
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/rewrite/Advertising/advertising.qxrewrite
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/rewrite/Advertising/advertising.sgmodule
- https://raw.githubusercontent.com/eHpo1/Rules/master/Loon/Rewrite.conf
- https://raw.githubusercontent.com/eHpo1/Rules/master/QuantumultX/Rewrite.txt
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/Advertising.conf
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/rewrite/Advertising/advertising.qxrewrite
- https://raw.githubusercontent.com/GeQ1an/Rules/master/QuantumultX/Rewrite/Rewrite.list
- https://raw.githubusercontent.com/eHpo1/Rules/master/Loon/Rewrite.conf
- https://raw.githubusercontent.com/GeQ1an/Rules/master/Loon/Rewrite/Rewrite.list
- https://raw.githubusercontent.com/GFBG-IT/QuantumultX/main/Advertising.conf
- https://raw.githubusercontent.com/githubacct001/QuantumultX/master/Rewrite/githubacct001.conf
- https://raw.githubusercontent.com/Tartarus2014/Loon-Script/master/Plugin/Block/Advertising.plugin
感谢以上复写规则作者的辛勤付出(排名不分先后)。
感谢以上规则作者的辛勤付出(排名不分先后)。
## 最后
### 感谢
[@Tartarus2014](https://github.com/Tartarus2014) [@chenyiping1995](https://github.com/chenyiping1995)
[@Tartarus2014](https://github.com/Tartarus2014) [@chenyiping1995](https://github.com/chenyiping1995) [@vhdj](https://github.com/vhdj)**
提供规则数据源及改进建议。

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2,94 +2,106 @@
## 前言
本项目的复写去广告(严格版)规则由《规则生成器》自动整合与去重。
![](https://shields.io/badge/-移除重复规则-ff69b4) ![](https://shields.io/badge/-DOMAIN与DOMAIN--SUFFIX合并-green) ![](https://shields.io/badge/-DOMAIN--SUFFIX间合并-critical) ![](https://shields.io/badge/-DOMAIN与DOMAIN--KEYWORD合并-9cf) ![](https://shields.io/badge/-DOMAIN--SUFFIX与DOMAIN--KEYWORD合并-blue) ![](https://shields.io/badge/-IP--CIDR(6)合并-blueviolet) ![](https://shields.io/badge/-MITM--HOSTNAME合并-brightgreen) ![](https://shields.io/badge/-正则推导HOSTNAME-033da7)
复写规则所有数据均收集自开源项目,仅为解决引用过多外部资源引起的规则重复问题,不代表我们支持或使用这些服务
本项目的复写去广告(严格版)规则由《RULE GENERATOR 规则生成器》自动生成
请通过我国(中华人民共和国)合法的互联网出入口信道访问规则中的地址,并确保在使用过程中符合相关法律法规
所有数据均收集自互联网公开信息,不代表我们支持或使用这些服务
请通过【中华人民共和国 People's Republic of China】合法的互联网出入口信道访问规则中的相关服务并确保在使用过程中符合相关法律法规。
## 规则说明
AdvertisingLite 与 Advertising的区别
数据源完全相同。
AdvertisingLite 不直接抽取数据源中MITM的hostname仅用正则推导的方式推导对应hostname。
无法推导出MITM的规则会被直接丢弃。
推荐使用此版本!
## 复写统计
## 规则统计
| 类型 | 数量(条) |
| ---- | ---- |
| mitm | 514 |
| force_http_engine_hosts | 12 |
| DOMAIN-SUFFIX | 1 |
| DOMAIN | 2 |
| reject | 765 |
## 配置说明
最后更新时间2022-06-24 02:33:03
实时版:程序定时更新,更新频率高,能尽快同步数据源变化,适合希望尝鲜的人。
各类型规则统计:
| 类型 | 数量(条) |
| ---- | ---- |
| REJECT | 353 |
| MITM | 289 |
| FORCE-HTTP-ENGINE-HOSTS | 6 |
| TOTAL | 648 |
稳定版:不定时手动更新,更新频率低,适合不希望规则频繁变化的人。
稳定版中如含有JavaScript脚本所引用的脚本链接为实时版或外部链接可能会与预期效果有出入建议使用实时版。
## Surge
### Surge
实时版:
#### 文件区别
- AdvertisingLite.sgmodule与AdvertisingLite_Mock.sgmodule的区别在于后者通过Surge的Mock模拟Reject规则。
#### 规则链接
**MASTER分支 (每日更新)**
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/AdvertisingLite/AdvertisingLite.sgmodule
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/AdvertisingLite/AdvertisingLite_Classical.sgmodule
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/AdvertisingLite/AdvertisingLite_Mock.sgmodule
稳定版:
**MASTER分支 CDN (每日更新)**
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rewrite/Surge/AdvertisingLite/AdvertisingLite.sgmodule
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rewrite/Surge/AdvertisingLite/AdvertisingLite_Mock.sgmodule
**MASTER分支 GHProxy (每日更新)**
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/AdvertisingLite/AdvertisingLite.sgmodule
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/AdvertisingLite/AdvertisingLite_Mock.sgmodule
**RELEASE分支 (不定时更新)**
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/AdvertisingLite/AdvertisingLite.sgmodule
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/AdvertisingLite/AdvertisingLite_Classical.sgmodule
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/AdvertisingLite/AdvertisingLite_Mock.sgmodule
如果稳定版无法访问 ,可能是尚未从实时版的分支合并,建议您先使用实时版,或等待下次稳定版分支合并。
**RELEASE分支CDN (不定时更新)**
### 特别说明
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@release/rewrite/Surge/AdvertisingLite/AdvertisingLite.sgmodule
AdvertisingLite.sgmodule 使用Mock模拟reject-dict等结果。
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@release/rewrite/Surge/AdvertisingLite/AdvertisingLite_Mock.sgmodule
AdvertisingLite_Classical.sgmodule 采用传统的reject方式直接拒绝请求。
**RELEASE分支 GHProxy (不定时更新)**
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/AdvertisingLite/AdvertisingLite.sgmodule
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/AdvertisingLite/AdvertisingLite_Mock.sgmodule
## 子规则
当前分流规则,未包含其他子规则。
根据个人需求,二选一使用即可。
## 数据来源
本项目的复写去广告(严格版)复写规则的数据来自以下链接,通常已涵盖所有数据来源的复写规则
复写去广告(严格版)的数据来自以下链接,如与本项目的《复写去广告(严格版)》规则混合使用,可能造成部分重写重复
如果你正在使用这些复写规则,建议不要与本项目的复写去广告(严格版)复写规则混合使用,以免造成规则重复。
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/Advertising.conf
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/rewrite/Advertising/advertising.sgmodule
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Module/Block/Advertising.sgmodule
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Shortcuts/reject.txt
- https://raw.githubusercontent.com/GFBG-IT/QuantumultX/main/Advertising.conf
- https://raw.githubusercontent.com/GeQ1an/Rules/master/Loon/Rewrite/Rewrite.list
- https://raw.githubusercontent.com/GeQ1an/Rules/master/QuantumultX/Rewrite/Rewrite.list
- https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/Rewrite_lhie1.conf
- https://raw.githubusercontent.com/NobyDa/Script/master/Surge/Module/RewriteRules.sgmodule
- https://raw.githubusercontent.com/Tartarus2014/For-own-use/master/Loon/Advertising.conf
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/rewrite/Advertising/advertising.qxrewrite
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/rewrite/Advertising/advertising.sgmodule
- https://raw.githubusercontent.com/eHpo1/Rules/master/Loon/Rewrite.conf
- https://raw.githubusercontent.com/eHpo1/Rules/master/QuantumultX/Rewrite.txt
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/Advertising.conf
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/rewrite/Advertising/advertising.qxrewrite
- https://raw.githubusercontent.com/GeQ1an/Rules/master/QuantumultX/Rewrite/Rewrite.list
- https://raw.githubusercontent.com/eHpo1/Rules/master/Loon/Rewrite.conf
- https://raw.githubusercontent.com/GeQ1an/Rules/master/Loon/Rewrite/Rewrite.list
- https://raw.githubusercontent.com/GFBG-IT/QuantumultX/main/Advertising.conf
- https://raw.githubusercontent.com/githubacct001/QuantumultX/master/Rewrite/githubacct001.conf
感谢以上复写规则作者的辛勤付出(排名不分先后)。
感谢以上规则作者的辛勤付出(排名不分先后)。
## 最后
### 感谢
[@Tartarus2014](https://github.com/Tartarus2014) [@chenyiping1995](https://github.com/chenyiping1995)
[@Tartarus2014](https://github.com/Tartarus2014) [@chenyiping1995](https://github.com/chenyiping1995) [@vhdj](https://github.com/vhdj)**
提供规则数据源及改进建议。

View File

@ -1,11 +1,17 @@
#!name=脚本去广告
#!desc=最后更新时间 2022-05-18 23:27:53
#!name=AdvertisingScript
#!desc=最后更新时间 2022-06-23 17:37:38
#!author=blackmatrix7
#!repo=https://github.com/blackmatrix7/ios_rule_script
#!rewrite=17
#!script=28
#!force_http_engine_hosts=0
#!domain=4
#!ip-cidr=1
#!ip-cidr6=1
#!url-regex=4
#!user-agent=1
#!http-request-script=1
#!http-response-script=27
#!reject=17
#!mitm=23
#!total=79
[Rule]
DOMAIN,118.89.204.198,REJECT
@ -20,56 +26,55 @@ URL-REGEX,^https?:\/\/www\.zhihu\.com\/api\/v4\/answers\/\d+\/recommendations,RE
URL-REGEX,^https?:\/\/www\.zhihu\.com\/api\/v\d+\/brand\/question/\d+/card\?,REJECT
USER-AGENT,AVOS*,REJECT
[URL Rewrite]
"^https?:\/\/api\.zhihu\.com/moments/hybrid\?" - reject
"^https?:\/\/api\.zhihu\.com\/(notifications\/v3\/count|v3\/package|me\/guides|drama\/living-info|ad|fringe|commercial|market\/popovers|search\/(top|tab)|.*featured-comment-ad|appview\/api\/v\d\/answers\/\d+\/recommendations)" - reject
"^https?:\/\/api\.zhihu\.com\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config" - reject
"^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\?" - reject
"^https?:\/\/api\.zhihu\.com\/moments\/recent" - reject
"^https?:\/\/api\.zhihu\.com\/moments\/tab_v2" - reject
"^https?:\/\/api\.zhihu\.com\/people\/self\/new_user_card" - reject
"^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/other_modul" - reject
"^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/user_related_modul" - reject
"^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/wiki_related_modul" - reject
"^https?:\/\/www\.zhihu\.com\/api\/v4/(questions|anwsers)\/\d+/related-readings" - reject
"^https?:\/\/www\.zhihu\.com\/api\/v4\/answers\/\d+\/recommendations" - reject
"^https?:\/\/www\.zhihu\.com\/api\/v4\/hot_recommendation" - reject
"^https?:\/\/www\.zhihu\.com\/api\/v\d+\/brand\/question/\d+/card\?" - reject
"^https?:\/\/www\.zhihu\.com\/appview\/(p|v2\/answer|zvideo)\/.*entry=(preload-topstory|preload-search|preload-subscription)" - reject
"^https?:\/\/www\.zhihu\.com\/commercial_api\/banners_v3\/mobile_banner" - reject
"^https?:\/\/zhuanlan\.zhihu\.com\/api\/articles\/\d+\/recommendation" - reject
[Map Local]
"^https?:\/\/api\.zhihu\.com/moments/hybrid\?" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/api\.zhihu\.com\/(notifications\/v3\/count|v3\/package|me\/guides|drama\/living-info|ad|fringe|commercial|market\/popovers|.*featured-comment-ad)" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/api\.zhihu\.com\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank.txt"
"^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\?" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/api\.zhihu\.com\/moments\/recent" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/api\.zhihu\.com\/moments\/tab_v2" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/api\.zhihu\.com\/people\/self\/new_user_card" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank.txt"
"^https?:\/\/www\.zhihu\.com\/api\/v4/(questions|anwsers)\/\d+/related-readings" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/www\.zhihu\.com\/api\/v4\/answers\/\d+\/recommendations" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/www\.zhihu\.com\/api\/v4\/hot_recommendation" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/www\.zhihu\.com\/api\/v\d+\/brand\/question/\d+/card\?" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/www\.zhihu\.com\/commercial_api\/banners_v3\/mobile_banner" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/zhuanlan\.zhihu\.com\/api\/articles\/\d+\/recommendation" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
[Script]
BiliBili_开屏去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js,pattern=^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list
Fa米家_开屏去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia_checkin.js,pattern=^https?:\/\/fmapp\.chinafamilymart\.com\.cn\/api\/app\/market\/start\/ad
京东_开屏去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/api\.m\.jd\.com\/client\.action\?functionId=start
什么值得买_值会员权益中心banner广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern=^https?:\/\/zhiyou\.m\.smzdm\.com\/user\/vip\/ajax_get_banner
什么值得买_好价去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern=^https?:\/\/haojia-api\.smzdm\.com\/home\/list
什么值得买_好价详情页去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern=^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/article_releated_modul
什么值得买_开屏去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern=^https?:\/\/app-api\.smzdm\.com\/util\/loading
什么值得买_搜索标签去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern=^https?:\/\/s-api\.smzdm\.com\/sou\/filter\/tags\/hot_tags
什么值得买_搜索结果去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern=^https?:\/\/s-api\.smzdm\.com\/sou\/list
什么值得买_百科去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern=^https?:\/\/baike-api\.smzdm\.com\/home_v3\/list
什么值得买_首页去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern=^https?:\/\/homepage-api\.smzdm\.com\/home
嘀嗒出行_开屏去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/capis(-?\w*)?\.didapinche\.com\/ad\/cx\/startup\?
多点_开屏去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/cmsapi\.dmall\.com\/app\/home\/homepageStartUpPic
小爱音箱_开屏去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/hd\.mina\.mi\.com\/splashscreen\/alert
知乎_优化软件配置 = type=http-response,requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config
知乎_信息流去广告及黑名单增强 = type=http-response,requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people)
知乎_回答内容优化 = type=http-response,requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))?
知乎_回答列表去广告 = type=http-response,requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/v4\/questions
知乎_处理用户信息 = type=http-response,requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/people
知乎_官方消息去广告 = type=http-response,requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message)
知乎_屏蔽关键字解锁 = type=http-request,requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/feed-root\/block
知乎_热搜去广告 = type=http-response,requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items
知乎_热榜去广告 = type=http-response,requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/)
知乎_获取黑名单 = type=http-response,requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/settings\/blocked_users
知乎_评论去广告 = type=http-response,requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?
知乎_预置关键词去广告 = type=http-response,requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/search\/preset_words\?
美团外卖_开屏去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/wmapi\.meituan\.com\/api\/v\d+\/loadInfo?
联享家_开屏去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/mi\.gdt\.qq\.com\/gdt_mview\.fcg
知乎_屏蔽关键字解锁 = type=http-request,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/feed-root\/block",requires-body=1
BiliBili_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js,pattern="^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list",requires-body=1
Fa米家_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia_checkin.js,pattern="^https?:\/\/fmapp\.chinafamilymart\.com\.cn\/api\/app\/market\/start\/ad",requires-body=1
京东_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/api\.m\.jd\.com\/client\.action\?functionId=start",requires-body=1
什么值得买_值会员权益中心banner广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern="^https?:\/\/zhiyou\.m\.smzdm\.com\/user\/vip\/ajax_get_banner",requires-body=1,timeout=10
什么值得买_好价去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern="^https?:\/\/haojia-api\.smzdm\.com\/home\/list\?",requires-body=1,timeout=10
什么值得买_好价详情页去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern="^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/article_releated_modul",requires-body=1,timeout=10
什么值得买_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern="^https?:\/\/app-api\.smzdm\.com\/util\/loading",requires-body=1,timeout=10
什么值得买_搜索标签去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern="^https?:\/\/s-api\.smzdm\.com\/sou\/filter\/tags\/hot_tags",requires-body=1,timeout=10
什么值得买_搜索结果去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern="^https?:\/\/s-api\.smzdm\.com\/sou\/list_v10",requires-body=1,timeout=10
什么值得买_百科去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern="^https?:\/\/baike-api\.smzdm\.com\/home_v3\/list",requires-body=1,timeout=10
什么值得买_首页去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern="^https?:\/\/homepage-api\.smzdm\.com\/v3\/home",requires-body=1,timeout=10
嘀嗒出行_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/capis(-?\w*)?\.didapinche\.com\/ad\/cx\/startup\?",requires-body=1
多点_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/cmsapi\.dmall\.com\/app\/home\/homepageStartUpPic",requires-body=1
小爱音箱_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/hd\.mina\.mi\.com\/splashscreen\/alert",requires-body=1
知乎_优化软件配置 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config",requires-body=1
知乎_信息流去广告及黑名单增强 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people)",requires-body=1
知乎_回答内容优化 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))?",requires-body=1
知乎_回答列表去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/v4\/questions",requires-body=1
知乎_处理用户信息 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/people",requires-body=1
知乎_官方消息去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message)",requires-body=1
知乎_热搜去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items",requires-body=1
知乎_热榜去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/)",requires-body=1
知乎_获取黑名单 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/settings\/blocked_users",requires-body=1
知乎_评论去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?",requires-body=1
知乎_预置关键词去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/search\/preset_words\?",requires-body=1
美团外卖_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/wmapi\.meituan\.com\/api\/v\d+\/loadInfo?",requires-body=1
联享家_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/mi\.gdt\.qq\.com\/gdt_mview\.fcg",requires-body=1
[MITM]
hostname = %APPEND% 103.41.167.226,103.41.167.234,103.41.167.235,103.41.167.236,api.m.jd.com,api.zhihu.com,app-api.smzdm.com,app.bilibili.com,appcloud2.zhihu.com,baike-api.smzdm.com,capis*.didapinche.com,cmsapi.dmall.com,fmapp.chinafamilymart.com.cn,haojia-api.smzdm.com,haojia.m.smzdm.com,hd.mina.mi.com,homepage-api.smzdm.com,mi.gdt.qq.com,s-api.smzdm.com,wmapi.meituan.com,www.zhihu.com,zhiyou.m.smzdm.com,zhuanlan.zhihu.com
hostname = %APPEND% 103.41.167.226,103.41.167.234,103.41.167.235,103.41.167.236,api.m.jd.com,api.zhihu.com,app-api.smzdm.com,app.bilibili.com,appcloud2.zhihu.com,baike-api.smzdm.com,capis*.didapinche.com,cmsapi.dmall.com,fmapp.chinafamilymart.com.cn,haojia-api.smzdm.com,haojia.m.smzdm.com,hd.mina.mi.com,homepage-api.smzdm.com,mi.gdt.qq.com,s-api.smzdm.com,wmapi.meituan.com,www.zhihu.com,zhiyou.m.smzdm.com,zhuanlan.zhihu.com

View File

@ -1,73 +0,0 @@
#!name=脚本去广告
#!desc=最后更新时间 2022-05-18 23:27:53
#!author=blackmatrix7
#!repo=https://github.com/blackmatrix7/ios_rule_script
#!rewrite=17
#!script=28
#!force_http_engine_hosts=0
#!mitm=23
[Rule]
DOMAIN,118.89.204.198,REJECT
DOMAIN,appcloud2.in.zhihu.com,REJECT
DOMAIN,mqtt.zhihu.com,REJECT
DOMAIN,sugar.zhihu.com,REJECT
IP-CIDR,118.89.204.198/32,REJECT,no-resolve
IP-CIDR6,2402:4e00:1200:ed00:0:9089:6dac:96b6/128,REJECT,no-resolve
URL-REGEX,^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\?,REJECT
URL-REGEX,^https?:\/\/api\.zhihu\.com\/commercial_api\/launch_v2\?,REJECT
URL-REGEX,^https?:\/\/www\.zhihu\.com\/api\/v4\/answers\/\d+\/recommendations,REJECT
URL-REGEX,^https?:\/\/www\.zhihu\.com\/api\/v\d+\/brand\/question/\d+/card\?,REJECT
USER-AGENT,AVOS*,REJECT
[URL Rewrite]
"^https?:\/\/api\.zhihu\.com/moments/hybrid\?" - reject
"^https?:\/\/api\.zhihu\.com\/(notifications\/v3\/count|v3\/package|me\/guides|drama\/living-info|ad|fringe|commercial|market\/popovers|.*featured-comment-ad)" - reject
"^https?:\/\/api\.zhihu\.com\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config" - reject
"^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\?" - reject
"^https?:\/\/api\.zhihu\.com\/moments\/recent" - reject
"^https?:\/\/api\.zhihu\.com\/moments\/tab_v2" - reject
"^https?:\/\/api\.zhihu\.com\/people\/self\/new_user_card" - reject
"^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/other_modul" - reject
"^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/user_related_modul" - reject
"^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/wiki_related_modul" - reject
"^https?:\/\/www\.zhihu\.com\/api\/v4/(questions|anwsers)\/\d+/related-readings" - reject
"^https?:\/\/www\.zhihu\.com\/api\/v4\/answers\/\d+\/recommendations" - reject
"^https?:\/\/www\.zhihu\.com\/api\/v4\/hot_recommendation" - reject
"^https?:\/\/www\.zhihu\.com\/api\/v\d+\/brand\/question/\d+/card\?" - reject
"^https?:\/\/www\.zhihu\.com\/appview\/(p|v2\/answer|zvideo)\/.*entry=(preload-topstory|preload-search|preload-subscription)" - reject
"^https?:\/\/www\.zhihu\.com\/commercial_api\/banners_v3\/mobile_banner" - reject
"^https?:\/\/zhuanlan\.zhihu\.com\/api\/articles\/\d+\/recommendation" - reject
[Script]
BiliBili_开屏去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js,pattern=^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list
Fa米家_开屏去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia_checkin.js,pattern=^https?:\/\/fmapp\.chinafamilymart\.com\.cn\/api\/app\/market\/start\/ad
京东_开屏去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/api\.m\.jd\.com\/client\.action\?functionId=start
什么值得买_值会员权益中心banner广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern=^https?:\/\/zhiyou\.m\.smzdm\.com\/user\/vip\/ajax_get_banner
什么值得买_好价去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern=^https?:\/\/haojia-api\.smzdm\.com\/home\/list
什么值得买_好价详情页去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern=^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/article_releated_modul
什么值得买_开屏去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern=^https?:\/\/app-api\.smzdm\.com\/util\/loading
什么值得买_搜索标签去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern=^https?:\/\/s-api\.smzdm\.com\/sou\/filter\/tags\/hot_tags
什么值得买_搜索结果去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern=^https?:\/\/s-api\.smzdm\.com\/sou\/list
什么值得买_百科去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern=^https?:\/\/baike-api\.smzdm\.com\/home_v3\/list
什么值得买_首页去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern=^https?:\/\/homepage-api\.smzdm\.com\/home
嘀嗒出行_开屏去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/capis(-?\w*)?\.didapinche\.com\/ad\/cx\/startup\?
多点_开屏去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/cmsapi\.dmall\.com\/app\/home\/homepageStartUpPic
小爱音箱_开屏去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/hd\.mina\.mi\.com\/splashscreen\/alert
知乎_优化软件配置 = type=http-response,requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config
知乎_信息流去广告及黑名单增强 = type=http-response,requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people)
知乎_回答内容优化 = type=http-response,requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))?
知乎_回答列表去广告 = type=http-response,requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/v4\/questions
知乎_处理用户信息 = type=http-response,requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/people
知乎_官方消息去广告 = type=http-response,requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message)
知乎_屏蔽关键字解锁 = type=http-request,requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/feed-root\/block
知乎_热搜去广告 = type=http-response,requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items
知乎_热榜去广告 = type=http-response,requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/)
知乎_获取黑名单 = type=http-response,requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/settings\/blocked_users
知乎_评论去广告 = type=http-response,requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?
知乎_预置关键词去广告 = type=http-response,requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/search\/preset_words\?
美团外卖_开屏去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/wmapi\.meituan\.com\/api\/v\d+\/loadInfo?
联享家_开屏去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/mi\.gdt\.qq\.com\/gdt_mview\.fcg
[MITM]
hostname = %APPEND% 103.41.167.226,103.41.167.234,103.41.167.235,103.41.167.236,api.m.jd.com,api.zhihu.com,app-api.smzdm.com,app.bilibili.com,appcloud2.zhihu.com,baike-api.smzdm.com,capis*.didapinche.com,cmsapi.dmall.com,fmapp.chinafamilymart.com.cn,haojia-api.smzdm.com,haojia.m.smzdm.com,hd.mina.mi.com,homepage-api.smzdm.com,mi.gdt.qq.com,s-api.smzdm.com,wmapi.meituan.com,www.zhihu.com,zhiyou.m.smzdm.com,zhuanlan.zhihu.com

View File

@ -0,0 +1,81 @@
#!name=AdvertisingScript
#!desc=最后更新时间 2022-06-23 17:37:38
#!author=blackmatrix7
#!repo=https://github.com/blackmatrix7/ios_rule_script
#!domain=4
#!ip-cidr=1
#!ip-cidr6=1
#!url-regex=4
#!user-agent=1
#!http-request-script=1
#!http-response-script=27
#!reject=17
#!mitm=23
#!total=79
[Rule]
DOMAIN,118.89.204.198,REJECT
DOMAIN,appcloud2.in.zhihu.com,REJECT
DOMAIN,mqtt.zhihu.com,REJECT
DOMAIN,sugar.zhihu.com,REJECT
IP-CIDR,118.89.204.198/32,REJECT,no-resolve
IP-CIDR6,2402:4e00:1200:ed00:0:9089:6dac:96b6/128,REJECT,no-resolve
URL-REGEX,^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\?,REJECT
URL-REGEX,^https?:\/\/api\.zhihu\.com\/commercial_api\/launch_v2\?,REJECT
URL-REGEX,^https?:\/\/www\.zhihu\.com\/api\/v4\/answers\/\d+\/recommendations,REJECT
URL-REGEX,^https?:\/\/www\.zhihu\.com\/api\/v\d+\/brand\/question/\d+/card\?,REJECT
USER-AGENT,AVOS*,REJECT
[URL Rewrite]
"^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/other_modul" - reject
"^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/user_related_modul" - reject
"^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/wiki_related_modul" - reject
"^https?:\/\/www\.zhihu\.com\/appview\/(p|v2\/answer|zvideo)\/.*entry=(preload-topstory|preload-search|preload-subscription)" - reject
[Map Local]
"^https?:\/\/api\.zhihu\.com/moments/hybrid\?" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/api\.zhihu\.com\/(notifications\/v3\/count|v3\/package|me\/guides|drama\/living-info|ad|fringe|commercial|market\/popovers|search\/(top|tab)|.*featured-comment-ad|appview\/api\/v\d\/answers\/\d+\/recommendations)" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/api\.zhihu\.com\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank.txt"
"^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\?" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/api\.zhihu\.com\/moments\/recent" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/api\.zhihu\.com\/moments\/tab_v2" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/api\.zhihu\.com\/people\/self\/new_user_card" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank.txt"
"^https?:\/\/www\.zhihu\.com\/api\/v4/(questions|anwsers)\/\d+/related-readings" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/www\.zhihu\.com\/api\/v4\/answers\/\d+\/recommendations" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/www\.zhihu\.com\/api\/v4\/hot_recommendation" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/www\.zhihu\.com\/api\/v\d+\/brand\/question/\d+/card\?" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/www\.zhihu\.com\/commercial_api\/banners_v3\/mobile_banner" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/zhuanlan\.zhihu\.com\/api\/articles\/\d+\/recommendation" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
[Script]
知乎_屏蔽关键字解锁 = type=http-request,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/feed-root\/block",requires-body=1
BiliBili_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js,pattern="^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list",requires-body=1
Fa米家_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia_checkin.js,pattern="^https?:\/\/fmapp\.chinafamilymart\.com\.cn\/api\/app\/market\/start\/ad",requires-body=1
京东_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/api\.m\.jd\.com\/client\.action\?functionId=start",requires-body=1
什么值得买_值会员权益中心banner广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern="^https?:\/\/zhiyou\.m\.smzdm\.com\/user\/vip\/ajax_get_banner",requires-body=1,timeout=10
什么值得买_好价去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern="^https?:\/\/haojia-api\.smzdm\.com\/home\/list\?",requires-body=1,timeout=10
什么值得买_好价详情页去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern="^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/article_releated_modul",requires-body=1,timeout=10
什么值得买_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern="^https?:\/\/app-api\.smzdm\.com\/util\/loading",requires-body=1,timeout=10
什么值得买_搜索标签去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern="^https?:\/\/s-api\.smzdm\.com\/sou\/filter\/tags\/hot_tags",requires-body=1,timeout=10
什么值得买_搜索结果去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern="^https?:\/\/s-api\.smzdm\.com\/sou\/list_v10",requires-body=1,timeout=10
什么值得买_百科去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern="^https?:\/\/baike-api\.smzdm\.com\/home_v3\/list",requires-body=1,timeout=10
什么值得买_首页去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern="^https?:\/\/homepage-api\.smzdm\.com\/v3\/home",requires-body=1,timeout=10
嘀嗒出行_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/capis(-?\w*)?\.didapinche\.com\/ad\/cx\/startup\?",requires-body=1
多点_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/cmsapi\.dmall\.com\/app\/home\/homepageStartUpPic",requires-body=1
小爱音箱_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/hd\.mina\.mi\.com\/splashscreen\/alert",requires-body=1
知乎_优化软件配置 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config",requires-body=1
知乎_信息流去广告及黑名单增强 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people)",requires-body=1
知乎_回答内容优化 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))?",requires-body=1
知乎_回答列表去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/v4\/questions",requires-body=1
知乎_处理用户信息 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/people",requires-body=1
知乎_官方消息去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message)",requires-body=1
知乎_热搜去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items",requires-body=1
知乎_热榜去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/)",requires-body=1
知乎_获取黑名单 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/settings\/blocked_users",requires-body=1
知乎_评论去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?",requires-body=1
知乎_预置关键词去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/search\/preset_words\?",requires-body=1
美团外卖_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/wmapi\.meituan\.com\/api\/v\d+\/loadInfo?",requires-body=1
联享家_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/mi\.gdt\.qq\.com\/gdt_mview\.fcg",requires-body=1
[MITM]
hostname = %APPEND% 103.41.167.226,103.41.167.234,103.41.167.235,103.41.167.236,api.m.jd.com,api.zhihu.com,app-api.smzdm.com,app.bilibili.com,appcloud2.zhihu.com,baike-api.smzdm.com,capis*.didapinche.com,cmsapi.dmall.com,fmapp.chinafamilymart.com.cn,haojia-api.smzdm.com,haojia.m.smzdm.com,hd.mina.mi.com,homepage-api.smzdm.com,mi.gdt.qq.com,s-api.smzdm.com,wmapi.meituan.com,www.zhihu.com,zhiyou.m.smzdm.com,zhuanlan.zhihu.com

View File

@ -2,80 +2,98 @@
## 前言
本项目的脚本去广告规则由《规则生成器》自动整合与去重。
![](https://shields.io/badge/-移除重复规则-ff69b4) ![](https://shields.io/badge/-DOMAIN与DOMAIN--SUFFIX合并-green) ![](https://shields.io/badge/-DOMAIN--SUFFIX间合并-critical) ![](https://shields.io/badge/-DOMAIN与DOMAIN--KEYWORD合并-9cf) ![](https://shields.io/badge/-DOMAIN--SUFFIX与DOMAIN--KEYWORD合并-blue) ![](https://shields.io/badge/-IP--CIDR(6)合并-blueviolet) ![](https://shields.io/badge/-MITM--HOSTNAME合并-brightgreen) ![](https://shields.io/badge/-正则推导HOSTNAME-033da7)
复写规则所有数据均收集自开源项目,仅为解决引用过多外部资源引起的规则重复问题,不代表我们支持或使用这些服务
本项目的脚本去广告规则由《RULE GENERATOR 规则生成器》自动生成
请通过我国(中华人民共和国)合法的互联网出入口信道访问规则中的地址,并确保在使用过程中符合相关法律法规
所有数据均收集自互联网公开信息,不代表我们支持或使用这些服务
请通过【中华人民共和国 People's Republic of China】合法的互联网出入口信道访问规则中的相关服务并确保在使用过程中符合相关法律法规。
## 规则说明
整合知乎 什么值得买APP去广告及脚本去除开屏广告复写。
整合知乎 什么值得买APP去广告及脚本去除开屏广告复写。
## 复写统计
## 规则统计
| 类型 | 数量(条) |
| ---- | ---- |
| mitm | 23 |
| force_http_engine_hosts | 0 |
| IP-CIDR | 1 |
| URL-REGEX | 4 |
| DOMAIN | 4 |
| IP-CIDR6 | 1 |
| USER-AGENT | 1 |
| reject | 17 |
| http-response | 27 |
| http-request | 1 |
## 配置说明
最后更新时间2022-06-23 17:37:38
实时版:程序定时更新,更新频率高,能尽快同步数据源变化,适合希望尝鲜的人。
各类型规则统计:
| 类型 | 数量(条) |
| ---- | ---- |
| DOMAIN | 4 |
| IP-CIDR | 1 |
| IP-CIDR6 | 1 |
| URL-REGEX | 4 |
| USER-AGENT | 1 |
| HTTP-REQUEST-SCRIPT | 1 |
| HTTP-RESPONSE-SCRIPT | 27 |
| REJECT | 17 |
| MITM | 23 |
| TOTAL | 79 |
稳定版:不定时手动更新,更新频率低,适合不希望规则频繁变化的人。
稳定版中如含有JavaScript脚本所引用的脚本链接为实时版或外部链接可能会与预期效果有出入建议使用实时版。
## Surge
### Surge
实时版:
#### 文件区别
- AdvertisingScript.sgmodule与AdvertisingScript_Mock.sgmodule的区别在于后者通过Surge的Mock模拟Reject规则。
#### 规则链接
**MASTER分支 (每日更新)**
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/AdvertisingScript/AdvertisingScript.sgmodule
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/AdvertisingScript/AdvertisingScript_Classical.sgmodule
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/AdvertisingScript/AdvertisingScript_Mock.sgmodule
稳定版:
**MASTER分支 CDN (每日更新)**
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rewrite/Surge/AdvertisingScript/AdvertisingScript.sgmodule
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rewrite/Surge/AdvertisingScript/AdvertisingScript_Mock.sgmodule
**MASTER分支 GHProxy (每日更新)**
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/AdvertisingScript/AdvertisingScript.sgmodule
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/AdvertisingScript/AdvertisingScript_Mock.sgmodule
**RELEASE分支 (不定时更新)**
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/AdvertisingScript/AdvertisingScript.sgmodule
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/AdvertisingScript/AdvertisingScript_Classical.sgmodule
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/AdvertisingScript/AdvertisingScript_Mock.sgmodule
如果稳定版无法访问 ,可能是尚未从实时版的分支合并,建议您先使用实时版,或等待下次稳定版分支合并。
**RELEASE分支CDN (不定时更新)**
### 特别说明
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@release/rewrite/Surge/AdvertisingScript/AdvertisingScript.sgmodule
AdvertisingScript.sgmodule 使用Mock模拟reject-dict等结果。
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@release/rewrite/Surge/AdvertisingScript/AdvertisingScript_Mock.sgmodule
AdvertisingScript_Classical.sgmodule 采用传统的reject方式直接拒绝请求。
**RELEASE分支 GHProxy (不定时更新)**
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/AdvertisingScript/AdvertisingScript.sgmodule
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/AdvertisingScript/AdvertisingScript_Mock.sgmodule
## 子规则
当前分流规则,未包含其他子规则。
根据个人需求,二选一使用即可。
## 数据来源
本项目的脚本去广告复写规则的数据来自以下链接,通常已涵盖所有数据来源的复写规则
如果你正在使用这些复写规则,建议不要与本项目的脚本去广告复写规则混合使用,以免造成规则重复。
脚本去广告的数据来自以下链接,如与本项目的《脚本去广告》规则混合使用,可能造成部分重写重复
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.lnplugin
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.lnplugin
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.sgmodule
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.lnplugin
感谢以上复写规则作者的辛勤付出(排名不分先后)。
感谢以上规则作者的辛勤付出(排名不分先后)。
## 最后
### 感谢
[@Tartarus2014](https://github.com/Tartarus2014) [@chenyiping1995](https://github.com/chenyiping1995)
[@Tartarus2014](https://github.com/Tartarus2014) [@chenyiping1995](https://github.com/chenyiping1995) [@vhdj](https://github.com/vhdj)**
提供规则数据源及改进建议。

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2,100 +2,119 @@
## 前言
本项目的AllInOne规则由《规则生成器》自动整合与去重。
![](https://shields.io/badge/-移除重复规则-ff69b4) ![](https://shields.io/badge/-DOMAIN与DOMAIN--SUFFIX合并-green) ![](https://shields.io/badge/-DOMAIN--SUFFIX间合并-critical) ![](https://shields.io/badge/-DOMAIN与DOMAIN--KEYWORD合并-9cf) ![](https://shields.io/badge/-DOMAIN--SUFFIX与DOMAIN--KEYWORD合并-blue) ![](https://shields.io/badge/-IP--CIDR(6)合并-blueviolet) ![](https://shields.io/badge/-MITM--HOSTNAME合并-brightgreen) ![](https://shields.io/badge/-Surge定制化规则-7cd1e3) ![](https://shields.io/badge/-正则推导HOSTNAME-033da7)
复写规则所有数据均收集自开源项目,仅为解决引用过多外部资源引起的规则重复问题,不代表我们支持或使用这些服务
本项目的AllInOne规则由《RULE GENERATOR 规则生成器》自动生成
请通过我国(中华人民共和国)合法的互联网出入口信道访问规则中的地址,并确保在使用过程中符合相关法律法规
所有数据均收集自互联网公开信息,不代表我们支持或使用这些服务
请通过【中华人民共和国 People's Republic of China】合法的互联网出入口信道访问规则中的相关服务并确保在使用过程中符合相关法律法规。
## 规则说明
汇总Advertising写去广告、AdvertisingScript通过脚本去除广告、Redirect重定向复写。QuantumultX需要添加部分分流规则才能生效具体配置请参照数据源说明。复写汇总内容需要自行确认安全性
汇总Advertising写去广告、AdvertisingScript通过脚本去除广告、Redirect重定向重写
QuantumultX需要添加部分分流规则才能生效具体配置请参照数据源说明。
重写汇总内容,需要自行确认安全性。
## 复写统计
## 规则统计
| 类型 | 数量(条) |
| ---- | ---- |
| mitm | 545 |
| force_http_engine_hosts | 12 |
| IP-CIDR | 1 |
| DOMAIN | 6 |
| URL-REGEX | 4 |
| IP-CIDR6 | 1 |
| USER-AGENT | 1 |
| DOMAIN-SUFFIX | 1 |
| reject | 794 |
| http-response | 27 |
| http-request | 3 |
| redirect | 49 |
## 配置说明
最后更新时间2022-06-24 02:33:00
实时版:程序定时更新,更新频率高,能尽快同步数据源变化,适合希望尝鲜的人。
各类型规则统计:
| 类型 | 数量(条) |
| ---- | ---- |
| DOMAIN | 4 |
| IP-CIDR | 1 |
| IP-CIDR6 | 1 |
| URL-REGEX | 4 |
| USER-AGENT | 1 |
| HTTP-REQUEST-SCRIPT | 1 |
| HTTP-RESPONSE-SCRIPT | 27 |
| REDIRECT | 62 |
| REJECT | 433 |
| MITM | 487 |
| FORCE-HTTP-ENGINE-HOSTS | 6 |
| TOTAL | 1027 |
稳定版:不定时手动更新,更新频率低,适合不希望规则频繁变化的人。
稳定版中如含有JavaScript脚本所引用的脚本链接为实时版或外部链接可能会与预期效果有出入建议使用实时版。
## Surge
### Surge
实时版:
#### 文件区别
- AllInOne.sgmodule与AllInOne_Mock.sgmodule的区别在于后者通过Surge的Mock模拟Reject规则。
#### 规则链接
**MASTER分支 (每日更新)**
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/AllInOne/AllInOne.sgmodule
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/AllInOne/AllInOne_Classical.sgmodule
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/AllInOne/AllInOne_Mock.sgmodule
稳定版:
**MASTER分支 CDN (每日更新)**
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rewrite/Surge/AllInOne/AllInOne.sgmodule
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rewrite/Surge/AllInOne/AllInOne_Mock.sgmodule
**MASTER分支 GHProxy (每日更新)**
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/AllInOne/AllInOne.sgmodule
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/AllInOne/AllInOne_Mock.sgmodule
**RELEASE分支 (不定时更新)**
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/AllInOne/AllInOne.sgmodule
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/AllInOne/AllInOne_Classical.sgmodule
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/AllInOne/AllInOne_Mock.sgmodule
如果稳定版无法访问 ,可能是尚未从实时版的分支合并,建议您先使用实时版,或等待下次稳定版分支合并。
**RELEASE分支CDN (不定时更新)**
### 特别说明
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@release/rewrite/Surge/AllInOne/AllInOne.sgmodule
AllInOne.sgmodule 使用Mock模拟reject-dict等结果。
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@release/rewrite/Surge/AllInOne/AllInOne_Mock.sgmodule
AllInOne_Classical.sgmodule 采用传统的reject方式直接拒绝请求。
**RELEASE分支 GHProxy (不定时更新)**
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/AllInOne/AllInOne.sgmodule
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/AllInOne/AllInOne_Mock.sgmodule
## 子规则
当前分流规则,未包含其他子规则。
根据个人需求,二选一使用即可。
## 数据来源
本项目的AllInOne复写规则的数据来自以下链接,通常已涵盖所有数据来源的复写规则
AllInOne的数据来自以下链接,如与本项目的《AllInOne》规则混合使用可能造成部分重写重复
如果你正在使用这些复写规则建议不要与本项目的AllInOne复写规则混合使用以免造成规则重复。
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/Advertising.conf
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/General.conf
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/rewrite/Advertising/advertising.sgmodule
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Module/Block/Advertising.sgmodule
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Module/General.sgmodule
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Shortcuts/reject.txt
- https://raw.githubusercontent.com/GFBG-IT/QuantumultX/main/Advertising.conf
- https://raw.githubusercontent.com/GeQ1an/Rules/master/Loon/Rewrite/Rewrite.list
- https://raw.githubusercontent.com/eHpo1/Rules/master/QuantumultX/Rewrite.txt
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/Advertising.conf
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/rewrite/Advertising/advertising.qxrewrite
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/rewrite/Upgrade/Upgrade.qxrewrite
- https://raw.githubusercontent.com/GeQ1an/Rules/master/QuantumultX/Rewrite/Rewrite.list
- https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/Rewrite_lhie1.conf
- https://raw.githubusercontent.com/NobyDa/Script/master/Surge/Module/RewriteRules.sgmodule
- https://raw.githubusercontent.com/Tartarus2014/For-own-use/master/Loon/Advertising.conf
- https://raw.githubusercontent.com/Tartarus2014/Loon-Script/master/Plugin/Block/Advertising.plugin
- https://raw.githubusercontent.com/eHpo1/Rules/master/Loon/Rewrite.conf
- https://raw.githubusercontent.com/GeQ1an/Rules/master/Loon/Rewrite/Rewrite.list
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.lnplugin
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.lnplugin
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.sgmodule
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.lnplugin
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/rewrite/Advertising/advertising.qxrewrite
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/rewrite/Advertising/advertising.sgmodule
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/rewrite/Upgrade/Upgrade.qxrewrite
- https://raw.githubusercontent.com/eHpo1/Rules/master/Loon/Rewrite.conf
- https://raw.githubusercontent.com/eHpo1/Rules/master/QuantumultX/Rewrite.txt
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Module/General.sgmodule
- https://raw.githubusercontent.com/GFBG-IT/QuantumultX/main/Advertising.conf
- https://raw.githubusercontent.com/githubacct001/QuantumultX/master/Rewrite/githubacct001.conf
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/General.conf
- https://raw.githubusercontent.com/Tartarus2014/Loon-Script/master/Plugin/Block/Advertising.plugin
感谢以上复写规则作者的辛勤付出(排名不分先后)。
感谢以上规则作者的辛勤付出(排名不分先后)。
## 最后
### 感谢
[@Tartarus2014](https://github.com/Tartarus2014) [@chenyiping1995](https://github.com/chenyiping1995)
[@Tartarus2014](https://github.com/Tartarus2014) [@chenyiping1995](https://github.com/chenyiping1995) [@vhdj](https://github.com/vhdj)**
提供规则数据源及改进建议。

View File

@ -0,0 +1,15 @@
#!name=General
#!desc=最后更新时间 2022-06-23 17:37:44
#!author=blackmatrix7
#!repo=https://github.com/blackmatrix7/ios_rule_script
#!skip-proxy=3
#!always-real-ip=99
#!tun-excluded_routes=1
#!total=103
[General]
skip-proxy = %APPEND% passenger.t3go.cn,www.baidu.com,yunbusiness.ccb.com
always-real-ip = %APPEND% *.126.net,*.example,*.ffxiv.com,*.finalfantasyxiv.com,*.home.arpa,*.invalid,*.kuwo.cn,*.lan,*.linksys.com,*.linksyssmartwifi.com,*.local,*.localdomain,*.localhost,*.logon.battle.net,*.logon.battlenet.com.cn,*.msftconnecttest.com,*.msftconnecttest.com,*.msftncsi.com,*.msftncsi.com,*.music.163.com,*.music.migu.cn,*.ntp.org.cn,*.router.asus.com,*.square-enix.com,*.srv.nintendo.net,*.stun.playstation.net,*.test,*.time.edu.cn,*.xboxlive.com,*.xiami.com,*.y.qq.com,+.battlenet.com.cn,+.nflxvideo.net,+.pool.ntp.org,+.srv.nintendo.net,+.stun.*.*,+.stun.*.*.*,+.stun.*.*.*.*,+.stun.playstation.net,+.wargaming.net,+.wggames.cn,+.wotgame.cn,+.wowsgame.cn,amobile.music.tc.qq.co,api-jooxtt.sanook.com,api.joox.com,aqqmusic.tc.qq.com,dl.stream.qqmusic.qq.com,heartbeat.belkin.com,isure.stream.qqmusic.qq.com,joox.com,lens.l.google.com,localhost.ptlogin2.qq.com,localhost.sec.qq.com,mesu.apple.com,mobileoc.music.tc.qq.com,msftconnecttest.com,msftncsi.com,music.163.com,music.migu.cn,music.taihe.com,musicapi.taihe.com,ntp.*.com,ntp1.*.com,ntp2.*.com,ntp3.*.com,ntp4.*.com,ntp5.*.com,ntp6.*.com,ntp7.*.com,proxy.golang.org,songsearch.kugou.com,streamoc.music.tc.qq.com,stun.*.*,stun.*.*.*,stun.l.google.com,stun.l.google.com,swcdn.apple.com,swdist.apple.com,swdownload.apple.com,swquery.apple.com,swscan.apple.com,time.*.apple.com,time.*.com,time.*.edu.cn,time.*.gov,time1.*.com,time1.cloud.tencent.com,time2.*.com,time3.*.com,time4.*.com,time5.*.com,time6.*.com,time7.*.com,trackercdn.kugou.com,xbox.*.microsoft.com,xbox.*.microsoft.com,xnotify.xboxlive.com,y.qq.com
tun-excluded-routes = %APPEND% 239.255.255.250/32

View File

@ -0,0 +1,81 @@
# General
## 前言
![](https://shields.io/badge/-移除重复规则-ff69b4)
本项目的General规则由《RULE GENERATOR 规则生成器》自动生成。
所有数据均收集自互联网公开信息,不代表我们支持或使用这些服务。
请通过【中华人民共和国 People's Republic of China】合法的互联网出入口信道访问规则中的相关服务并确保在使用过程中符合相关法律法规。
## 规则说明
抽取神机规则中的General.sgmodule。
但是去除重定向规则、脚本处理、MITM。
## 规则统计
最后更新时间2022-06-23 17:37:44
各类型规则统计:
| 类型 | 数量(条) |
| ---- | ---- |
| SKIP-PROXY | 3 |
| ALWAYS-REAL-IP | 99 |
| TUN-EXCLUDED_ROUTES | 1 |
| TOTAL | 103 |
## Surge
#### 规则链接
**MASTER分支 (每日更新)**
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/General/General.sgmodule
**MASTER分支 CDN (每日更新)**
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rewrite/Surge/General/General.sgmodule
**MASTER分支 GHProxy (每日更新)**
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/General/General.sgmodule
**RELEASE分支 (不定时更新)**
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/General/General.sgmodule
**RELEASE分支CDN (不定时更新)**
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@release/rewrite/Surge/General/General.sgmodule
**RELEASE分支 GHProxy (不定时更新)**
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/General/General.sgmodule
## 子规则
当前分流规则,未包含其他子规则。
## 数据来源
《General》的数据来自以下链接如与本项目的《General》规则混合使用可能造成部分重写重复。
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Module/General.sgmodule
感谢以上规则作者的辛勤付出(排名不分先后)。
## 最后
### 感谢
[@Tartarus2014](https://github.com/Tartarus2014) [@chenyiping1995](https://github.com/chenyiping1995) [@vhdj](https://github.com/vhdj)**
提供规则数据源及改进建议。
### 其他
请不要对外宣传本项目。

View File

@ -1,24 +1,21 @@
#!name=获取签到脚本Cookie
#!desc=最后更新时间 2022-03-04 16:25:59
#!name=GetCookie
#!desc=最后更新时间 2022-06-23 17:37:38
#!author=blackmatrix7
#!repo=https://github.com/blackmatrix7/ios_rule_script
#!rewrite=0
#!script=11
#!force_http_engine_hosts=0
#!mitm=11
#!http-request-script=10
#!mitm=10
#!total=20
[Script]
Fa米家_获取cookie = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia_checkin.js,pattern=^https?:\/\/fmapp\.chinafamilymart\.com\.cn\/api\/app\/market\/member\/(signin\/usersign|sign\/current)
Luka_获取cookie = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/luka/luka_signin.js,pattern=^https?:\/\/luka\-graphql\.ling\.cn\/graphql\/mobile\?operation=UserInfoWithPendingRobotQuery
什么值得买_获取cookie = type=http-request,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_signin.js,pattern=^https?:\/\/zhiyou\.smzdm\.com\/user$
叮咚买菜_获取cookie = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.js,pattern=^https?:\/\/maicai\.api\.ddxq\.mobi\/point\/home\?api_version
嘀嗒出行_获取cookie = type=http-request,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/didachuxing/didachuxing_plus.js,pattern=^https?:\/\/www\.didapinche\.com\/hapis\/api\/t\/Jifen\/.*\?userCid=.*
家长帮_获取cookie = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/jiazhangbang/jiazhangbang_checkin.js,pattern=^https?:\/\/pgc-cms\.jzb\.com\/api\/channel\/recommend
慢慢买_获取cookie = type=http-request,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/manmanbuy/manmanbuy_checkin.js,pattern=^https?:\/\/apph5\.manmanbuy\.com\/taolijin\/(login.aspx|logserver.aspx)
美团买菜_获取cookie = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/meituan/maicai_checkin.js,pattern=^https?:\/\/mall\.meituan\.com\/api\/c\/mallcoin\/checkIn\/getWeekCheckInProgressBar\?
贴吧_获取cookie = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/tieba/tieba_checkin.js,pattern=https?:\/\/(c\.tieba\.baidu\.com|180\.97\.\d+\.\d+)\/c\/s\/login
贴吧_获取新版cookie = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/tieba/tieba_checkin.js,pattern=^https?:\/\/c\.tieba\.baidu\.com\/c\/s\/channelIconConfig
饿了么_获取cookie = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.js,pattern=^https?:\/\/h5\.ele\.me\/restapi\/biz\.svip_scene\/svip\/engine\/queryTrafficSupply
Fa米家_获取cookie = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia_checkin.js,pattern="^https?:\/\/fmapp\.chinafamilymart\.com\.cn\/api\/app\/market\/member\/(signin\/usersign|sign\/current)"
Luka_获取cookie = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/luka/luka_signin.js,pattern="^https?:\/\/luka\-graphql\.ling\.cn\/graphql\/mobile\?operation=UserInfoWithPendingRobotQuery"
什么值得买_获取cookie = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_signin.js,pattern="^https?:\/\/zhiyou\.smzdm\.com\/user$",requires-body=1
叮咚买菜_获取cookie = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.js,pattern="^https?:\/\/maicai\.api\.ddxq\.mobi\/point\/home\?api_version"
家长帮_获取cookie = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/jiazhangbang/jiazhangbang_checkin.js,pattern="^https?:\/\/pgc-cms\.jzb\.com\/api\/channel\/recommend"
慢慢买_获取cookie = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/manmanbuy/manmanbuy_checkin.js,pattern="^https?:\/\/apph5\.manmanbuy\.com\/taolijin\/(login.aspx|logserver.aspx)",requires-body=1
美团买菜_获取cookie = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/meituan/maicai_checkin.js,pattern="^https?:\/\/mall\.meituan\.com\/api\/c\/mallcoin\/checkIn\/getWeekCheckInProgressBar\?"
贴吧_获取cookie = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/tieba/tieba_checkin.js,pattern="https?:\/\/(c\.tieba\.baidu\.com|180\.97\.\d+\.\d+)\/c\/s\/login"
贴吧_获取新版cookie = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/tieba/tieba_checkin.js,pattern="^https?:\/\/c\.tieba\.baidu\.com\/c\/s\/channelIconConfig"
饿了么_获取cookie = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.js,pattern="^https?:\/\/h5\.ele\.me\/restapi\/biz\.svip_scene\/svip\/engine\/queryTrafficSupply"
[MITM]
hostname = %APPEND% apph5.manmanbuy.com,c.tieba.baidu.com,fmapp.chinafamilymart.com.cn,h5.ele.me,luka-graphql.ling.cn,maicai.api.ddxq.mobi,mall.meituan.com,mp.jzb.com,pgc-cms.jzb.com,www.didapinche.com,zhiyou.smzdm.com
hostname = %APPEND% apph5.manmanbuy.com,c.tieba.baidu.com,fmapp.chinafamilymart.com.cn,h5.ele.me,luka-graphql.ling.cn,maicai.api.ddxq.mobi,mall.meituan.com,mp.jzb.com,pgc-cms.jzb.com,zhiyou.smzdm.com

View File

@ -2,70 +2,82 @@
## 前言
本项目的获取签到脚本Cookie规则由《规则生成器》自动整合与去重。
![](https://shields.io/badge/-移除重复规则-ff69b4) ![](https://shields.io/badge/-MITM--HOSTNAME合并-brightgreen) ![](https://shields.io/badge/-正则推导HOSTNAME-033da7)
复写规则所有数据均收集自开源项目,仅为解决引用过多外部资源引起的规则重复问题,不代表我们支持或使用这些服务
本项目的获取签到脚本Cookie规则由《RULE GENERATOR 规则生成器》自动生成
请通过我国(中华人民共和国)合法的互联网出入口信道访问规则中的地址,并确保在使用过程中符合相关法律法规
所有数据均收集自互联网公开信息,不代表我们支持或使用这些服务
请通过【中华人民共和国 People's Republic of China】合法的互联网出入口信道访问规则中的相关服务并确保在使用过程中符合相关法律法规。
## 规则说明
含有我自己所有签到脚本的GetCookie复写
签到脚本的GetCookie集合
## 复写统计
## 规则统计
| 类型 | 数量(条) |
| ---- | ---- |
| mitm | 11 |
| force_http_engine_hosts | 0 |
| http-request | 11 |
## 配置说明
最后更新时间2022-06-23 17:37:38
实时版:程序定时更新,更新频率高,能尽快同步数据源变化,适合希望尝鲜的人。
各类型规则统计:
| 类型 | 数量(条) |
| ---- | ---- |
| HTTP-REQUEST-SCRIPT | 10 |
| MITM | 10 |
| TOTAL | 20 |
稳定版:不定时手动更新,更新频率低,适合不希望规则频繁变化的人。
稳定版中如含有JavaScript脚本所引用的脚本链接为实时版或外部链接可能会与预期效果有出入建议使用实时版。
### Surge
实时版:
## Surge
#### 规则链接
**MASTER分支 (每日更新)**
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/GetCookie/GetCookie.sgmodule
**MASTER分支 CDN (每日更新)**
稳定版:
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rewrite/Surge/GetCookie/GetCookie.sgmodule
**MASTER分支 GHProxy (每日更新)**
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/GetCookie/GetCookie.sgmodule
**RELEASE分支 (不定时更新)**
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/GetCookie/GetCookie.sgmodule
**RELEASE分支CDN (不定时更新)**
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@release/rewrite/Surge/GetCookie/GetCookie.sgmodule
**RELEASE分支 GHProxy (不定时更新)**
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/GetCookie/GetCookie.sgmodule
## 子规则
当前分流规则,未包含其他子规则。
如果稳定版无法访问 ,可能是尚未从实时版的分支合并,建议您先使用实时版,或等待下次稳定版分支合并。
## 数据来源
本项目的获取签到脚本Cookie复写规则的数据来自以下链接,通常已涵盖所有数据来源的复写规则
获取签到脚本Cookie的数据来自以下链接,如与本项目的《获取签到脚本Cookie》规则混合使用可能造成部分重写重复
如果你正在使用这些复写规则建议不要与本项目的获取签到脚本Cookie复写规则混合使用以免造成规则重复。
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/didachuxing/didachuxing_plus.lnscript
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/manmanbuy/manmanbuy_checkin.lnscript
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/dingdong/dingdong_checkin.sgmodule
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/eleme/eleme_daily.sgmodule
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia_checkin.sgmodule
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/jiazhangbang/jiazhangbang_checkin.sgmodule
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/luka/luka_signin.sgmodule
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/manmanbuy/manmanbuy_checkin.lnscript
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/meituan/maicai_checkin.sgmodule
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_signin.sgmodule
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/meituan/maicai_checkin.sgmodule
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/tieba/tieba_checkin.sgmodule
感谢以上复写规则作者的辛勤付出(排名不分先后)。
感谢以上规则作者的辛勤付出(排名不分先后)。
## 最后
### 感谢
[@Tartarus2014](https://github.com/Tartarus2014) [@chenyiping1995](https://github.com/chenyiping1995)
[@Tartarus2014](https://github.com/Tartarus2014) [@chenyiping1995](https://github.com/chenyiping1995) [@vhdj](https://github.com/vhdj)**
提供规则数据源及改进建议。

View File

@ -2,62 +2,81 @@
## 前言
本项目的重定向规则由《规则生成器》自动整合与去重。
![](https://shields.io/badge/-移除重复规则-ff69b4) ![](https://shields.io/badge/-MITM--HOSTNAME合并-brightgreen) ![](https://shields.io/badge/-正则推导HOSTNAME-033da7)
复写规则所有数据均收集自开源项目,仅为解决引用过多外部资源引起的规则重复问题,不代表我们支持或使用这些服务
本项目的重定向规则由《RULE GENERATOR 规则生成器》自动生成
请通过我国(中华人民共和国)合法的互联网出入口信道访问规则中的地址,并确保在使用过程中符合相关法律法规
所有数据均收集自互联网公开信息,不代表我们支持或使用这些服务
请通过【中华人民共和国 People's Republic of China】合法的互联网出入口信道访问规则中的相关服务并确保在使用过程中符合相关法律法规。
## 规则说明
重定向的写策略,可能存在安全风险。如将正常的网站重定向到钓鱼网站,以窃取输入的数据。当前重定向复写规则仅为程序自动爬取整合,未对安全性做任何校验,如使用此复写规则需要自行承担风险。建议使用前逐条阅读重定向的目标地址,确认无安全问题后再使用。同时禁止此复写规则自动更新,或将此复写规则的内容复制到本地作为本地文件使用。
重定向的写策略,可能存在安全风险。
如将正常的网站重定向到钓鱼网站,以窃取输入的数据。
当前重定向重写规则仅为程序自动爬取整合,未对安全性做任何校验,如使用此重写规则需要自行承担风险。
建议使用前逐条阅读重定向的目标地址,确认无安全问题后再使用。同时禁止此重写规则自动更新,或将此重写规则的内容复制到本地作为本地文件使用。
## 复写统计
## 规则统计
| 类型 | 数量(条) |
| ---- | ---- |
| mitm | 5 |
| force_http_engine_hosts | 0 |
| redirect | 61 |
## 配置说明
最后更新时间2022-06-23 17:34:12
实时版:程序定时更新,更新频率高,能尽快同步数据源变化,适合希望尝鲜的人。
各类型规则统计:
| 类型 | 数量(条) |
| ---- | ---- |
| REDIRECT | 62 |
| MITM | 123 |
| TOTAL | 185 |
稳定版:不定时手动更新,更新频率低,适合不希望规则频繁变化的人。
稳定版中如含有JavaScript脚本所引用的脚本链接为实时版或外部链接可能会与预期效果有出入建议使用实时版。
### Surge
实时版:
## Surge
#### 规则链接
**MASTER分支 (每日更新)**
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/Redirect/Redirect.sgmodule
**MASTER分支 CDN (每日更新)**
稳定版:
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rewrite/Surge/Redirect/Redirect.sgmodule
**MASTER分支 GHProxy (每日更新)**
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/Redirect/Redirect.sgmodule
**RELEASE分支 (不定时更新)**
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/Redirect/Redirect.sgmodule
**RELEASE分支CDN (不定时更新)**
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@release/rewrite/Surge/Redirect/Redirect.sgmodule
**RELEASE分支 GHProxy (不定时更新)**
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/Redirect/Redirect.sgmodule
## 子规则
当前分流规则,未包含其他子规则。
如果稳定版无法访问 ,可能是尚未从实时版的分支合并,建议您先使用实时版,或等待下次稳定版分支合并。
## 数据来源
本项目的重定向复写规则的数据来自以下链接,通常已涵盖所有数据来源的复写规则
《重定向》的数据来自以下链接,如与本项目的《重定向》规则混合使用,可能造成部分重写重复
如果你正在使用这些复写规则,建议不要与本项目的重定向复写规则混合使用,以免造成规则重复。
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/General.conf
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Module/General.sgmodule
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/General.conf
感谢以上复写规则作者的辛勤付出(排名不分先后)。
感谢以上规则作者的辛勤付出(排名不分先后)。
## 最后
### 感谢
[@Tartarus2014](https://github.com/Tartarus2014) [@chenyiping1995](https://github.com/chenyiping1995)
[@Tartarus2014](https://github.com/Tartarus2014) [@chenyiping1995](https://github.com/chenyiping1995) [@vhdj](https://github.com/vhdj)**
提供规则数据源及改进建议。

View File

@ -1,15 +1,14 @@
#!name=重定向
#!desc=最后更新时间 2022-02-20 02:11:18
#!name=Redirect
#!desc=最后更新时间 2022-06-23 17:34:12
#!author=blackmatrix7
#!repo=https://github.com/blackmatrix7/ios_rule_script
#!rewrite=61
#!script=0
#!force_http_engine_hosts=0
#!mitm=5
#!redirect=62
#!mitm=123
#!total=185
[URL Rewrite]
"(^https?:\/\/app\.biliintl\.com\/(x\/)?(intl|dm|reply|history|v\d/msgfeed).+)(&s_locale=zh-Hans_[A-Z]{2})(.+)(&sim_code=\d+)(.+)" $1&s_locale=zh-Hans_PH$6&sim_code=51503$8 header
"(^https?:\/\/passport\.biliintl\.com\/x\/intl\/passport-login\/.+)(&s_locale=zh-Hans_[A-Z]{2})(.+)(&sim_code=\d+)(.+)" $1&s_locale=zh-Hans_PH$35&sim_code=51503$5 header
"(^https?:\/\/app\.biliintl\.com\/(x\/)?(intl|dm|reply|history|v\d\/(fav|msgfeed)).+?)(&s_locale=zh-Hans_[A-Z]{2})(.+?)(&sim_code=\d+)(.+)" $1&s_locale=zh-Hans_PH$6&sim_code=51503$8 302
"(^https?:\/\/passport\.biliintl\.com\/x\/intl\/passport-login\/.+)(&s_locale=zh-Hans_[A-Z]{2})(.+)(&sim_code=\d+)(.+)" $1&s_locale=zh-Hans_PH$35&sim_code=51503$5 302
"^http:\/\/(www.)?aicoin\.cn\/$" https://www.aicoin.com/ 302
"^http?:\/\/(www.)?jd\.com\/" https://www.jd.com/ 302
"^https?:\/\/(ditu|maps).google\.cn" https://maps.google.com 302
@ -18,7 +17,7 @@
"^https?:\/\/(www.)?(mycleanmymac|xitongqingli)\.com\/" https://macpaw.com/ 302
"^https?:\/\/(www.)?abbyychina\.com\/" https://www.abbyy.cn/ 302
"^https?:\/\/(www.)?alienskins\.cn\/" https://exposure.software/ 302
"^https?:\/\/(www.)?anydeskchina.cn/" https://anydesk.com/zhs 302
"^https?:\/\/(www.)?anydeskchina\.cn\/" https://anydesk.com/zhs 302
"^https?:\/\/(www.)?bartender\.cc\/" https://www.macbartender.com/ 302
"^https?:\/\/(www.)?beyondcompare\.cc\/" https://www.scootersoftware.com/ 302
"^https?:\/\/(www.)?bingdianhuanyuan\.cn\/" https://www.faronics.com/zh-hans/products/deep-freeze 302
@ -51,7 +50,7 @@
"^https?:\/\/(www.)?mindmanager\.(cc|cn)\/" https://www.mindjet.com/cn/ 302
"^https?:\/\/(www.)?mindmapper\.cc\/" https://www.mindmapper.com/ 302
"^https?:\/\/(www.)?nicelabel\.cc\/" https://www.nicelabel.com/zh/ 302
"^https?:\/\/(www.)?ntfsformac\.cc\/" https://china.paragon-software.com/home-mac/ntfs-for-mac/ 302
"^https?:\/\/(www.)?ntfsformac\.cn\/" https://china.paragon-software.com/home-mac/ntfs-for-mac/ 302
"^https?:\/\/(www.)?officesoftcn\.com\/" https://www.microsoft.com/zh-cn/microsoft-365 302
"^https?:\/\/(www.)?overturechina\.com\/" https://sonicscores.com/ 302
"^https?:\/\/(www.)?passwordrecovery\.cn\/" https://cn.elcomsoft.com/aopr.html 302
@ -65,10 +64,12 @@
"^https?:\/\/(www.)?yhd\.com\/" https://yhd.com/ 302
"^https?:\/\/(www.)?yuanchengxiezuo\.com\/" https://www.teamviewer.com/ 302
"^https?:\/\/(www.)?zbrushcn.com/" https://pixologic.com/ 302
"^https?:\/\/(www.)?zbrushcn\.com/" https://pixologic.com/ 302
"^https?:\/\/cn\.ultraiso\.net\/" https://cn.ezbsystems.com/ultraiso/ 302
"^https?:\/\/hypersnap\.mairuan\.com\/" https://www.keyshot.com/ 302
"^https?:\/\/logoshejishi\.mairuan\.com\/" https://www.sothink.com/product/logo-design-software/ 302
"^https?:\/\/you\.163\.com\/" https://you.163.com/ 302
[MITM]
hostname = %APPEND% *.google.cn,api.abema.io,app.biliintl.com,passport.biliintl.com,www.firefox.com.cn
hostname = %APPEND% abbyychina.com,aicoin.cn,alienskins.cn,anydeskchina.cn,app.biliintl.com,bartender.cc,beyondcompare.cc,bingdianhuanyuan.cn,chemdraw.com.cn,cn.ultraiso.net,codesoftchina.com,coreldrawchina.com,crossoverchina.com,ditu.google.cn,dongmansoft.com,earmasterchina.cn,easyrecoverychina.com,ediuschina.com,firefox.com.cn,flstudiochina.com,folxchina.cn,formysql.com,g.cn,google.cn,guitarpro.cc,huishenghuiying.com.cn,hypeapp.cn,hypersnap.mairuan.com,iconworkshop.cn,idmchina.net,ign.xn--fiqs8s,imazingchina.com,imindmap.cc,jd.com,jihehuaban.com.cn,kingdeecn.cn,logoshejishi.com,logoshejishi.mairuan.com,luping.net.cn,map.google.cn,mathtype.cn,mi.com,mindmanager.cc,mindmanager.cn,mindmapper.cc,mycleanmymac.com,nicelabel.cc,ntfsformac.cn,officesoftcn.com,overturechina.com,passport.biliintl.com,passwordrecovery.cn,pdfexpert.cc,photozoomchina.com,shankejingling.com,suning.com,taobao.com,vegaschina.cn,www.abbyychina.com,www.aicoin.cn,www.alienskins.cn,www.anydeskchina.cn,www.bartender.cc,www.betterzip.com,www.betterzip.net,www.betterzipcn.com,www.betterzipcn.net,www.beyondcompare.cc,www.bingdianhuanyuan.cn,www.chemdraw.com.cn,www.codesoftchina.com,www.coreldrawchina.com,www.crossoverchina.com,www.dongmansoft.com,www.earmasterchina.cn,www.easyrecoverychina.com,www.ediuschina.com,www.firefox.com.cn,www.flstudiochina.com,www.folxchina.cn,www.formysql.com,www.g.cn,www.google.cn,www.guitarpro.cc,www.huishenghuiying.com.cn,www.hypeapp.cn,www.iconworkshop.cn,www.idmchina.net,www.ign.xn--fiqs8s,www.imazingchina.com,www.imindmap.cc,www.jd.com,www.jihehuaban.com.cn,www.kingdeecn.cn,www.logoshejishi.com,www.luping.net.cn,www.mathtype.cn,www.mi.com,www.mindmanager.cc,www.mindmanager.cn,www.mindmapper.cc,www.mycleanmymac.com,www.nicelabel.cc,www.ntfsformac.cn,www.officesoftcn.com,www.overturechina.com,www.passwordrecovery.cn,www.pdfexpert.cc,www.photozoomchina.com,www.shankejingling.com,www.suning.com,www.taobao.com,www.xitongqingli.com,www.xshellcn.com,www.yhd.com,www.yuanchengxiezuo.com,www.zbrushcn.com,xitongqingli.com,xshellcn.com,yhd.com,you.163.com,yuanchengxiezuo.com,zbrushcn.com

View File

@ -0,0 +1,87 @@
# 安全重定向
## 前言
![](https://shields.io/badge/-移除重复规则-ff69b4) ![](https://shields.io/badge/-MITM--HOSTNAME合并-brightgreen) ![](https://shields.io/badge/-安全重定向-c07ce3) ![](https://shields.io/badge/-正则推导HOSTNAME-033da7)
本项目的安全重定向规则由《RULE GENERATOR 规则生成器》自动生成。
所有数据均收集自互联网公开信息,不代表我们支持或使用这些服务。
请通过【中华人民共和国 People's Republic of China】合法的互联网出入口信道访问规则中的相关服务并确保在使用过程中符合相关法律法规。
## 规则说明
重定向的操作一直存在跳转到钓鱼网站导致信息泄露的风险。
所以增加安全重定向,在原先重定向规则的基础上,只有主域名相同才允许重定向。主域名不同的重定向会被暂存在后台,直到手动确认后才会添加。手动确认的频率看时间、精力和心情,几天到几个月不等。
举个例子,可以从 http://www.jd.com 重定向到 https://www.jd.com ,但是不允许从 http://www.360buy.com 重定向到 https://www.jd.com直到手动确认安全。
需要注意的是,安全重定向只是尽量确保重定向的安全性,但不代表使用安全重定向就可以高枕无忧,更不代表本项目对安全重定向的使用结果负责。因为即使经过人工核验,依旧有可能因为目标网站被挂马、域名到期被抢注等导致不可知的安全风险。
实际上,绝大多数的重定向都是不必要的。
## 规则统计
最后更新时间2022-06-23 17:37:38
各类型规则统计:
| 类型 | 数量(条) |
| ---- | ---- |
| REDIRECT | 60 |
| MITM | 123 |
| TOTAL | 183 |
## Surge
#### 规则链接
**MASTER分支 (每日更新)**
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/SafeRedirect/SafeRedirect.sgmodule
**MASTER分支 CDN (每日更新)**
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rewrite/Surge/SafeRedirect/SafeRedirect.sgmodule
**MASTER分支 GHProxy (每日更新)**
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/SafeRedirect/SafeRedirect.sgmodule
**RELEASE分支 (不定时更新)**
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/SafeRedirect/SafeRedirect.sgmodule
**RELEASE分支CDN (不定时更新)**
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@release/rewrite/Surge/SafeRedirect/SafeRedirect.sgmodule
**RELEASE分支 GHProxy (不定时更新)**
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/SafeRedirect/SafeRedirect.sgmodule
## 子规则
当前分流规则,未包含其他子规则。
## 数据来源
《安全重定向》的数据来自以下链接,如与本项目的《安全重定向》规则混合使用,可能造成部分重写重复。
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Module/General.sgmodule
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/General.conf
感谢以上规则作者的辛勤付出(排名不分先后)。
## 最后
### 感谢
[@Tartarus2014](https://github.com/Tartarus2014) [@chenyiping1995](https://github.com/chenyiping1995) [@vhdj](https://github.com/vhdj)**
提供规则数据源及改进建议。
### 其他
请不要对外宣传本项目。

View File

@ -0,0 +1,73 @@
#!name=SafeRedirect
#!desc=最后更新时间 2022-06-23 17:37:38
#!author=blackmatrix7
#!repo=https://github.com/blackmatrix7/ios_rule_script
#!redirect=60
#!mitm=123
#!total=183
[URL Rewrite]
"(^https?:\/\/app\.biliintl\.com\/(x\/)?(intl|dm|reply|history|v\d\/(fav|msgfeed)).+?)(&s_locale=zh-Hans_[A-Z]{2})(.+?)(&sim_code=\d+)(.+)" $1&s_locale=zh-Hans_PH$6&sim_code=51503$8 302
"(^https?:\/\/passport\.biliintl\.com\/x\/intl\/passport-login\/.+)(&s_locale=zh-Hans_[A-Z]{2})(.+)(&sim_code=\d+)(.+)" $1&s_locale=zh-Hans_PH$35&sim_code=51503$5 302
"^http:\/\/(www.)?aicoin\.cn\/$" https://www.aicoin.com/ 302
"^http?:\/\/(www.)?jd\.com\/" https://www.jd.com/ 302
"^https?:\/\/(ditu|maps).google\.cn" https://maps.google.com 302
"^https?:\/\/(www.)?(betterzipcn|betterzip)\.(com|net)\/" https://macitbetter.com/ 302
"^https?:\/\/(www.)?(g|google)\.cn" https://www.google.com 302
"^https?:\/\/(www.)?(mycleanmymac|xitongqingli)\.com\/" https://macpaw.com/ 302
"^https?:\/\/(www.)?abbyychina\.com\/" https://www.abbyy.cn/ 302
"^https?:\/\/(www.)?alienskins\.cn\/" https://exposure.software/ 302
"^https?:\/\/(www.)?anydeskchina\.cn\/" https://anydesk.com/zhs 302
"^https?:\/\/(www.)?bartender\.cc\/" https://www.macbartender.com/ 302
"^https?:\/\/(www.)?beyondcompare\.cc\/" https://www.scootersoftware.com/ 302
"^https?:\/\/(www.)?bingdianhuanyuan\.cn\/" https://www.faronics.com/zh-hans/products/deep-freeze 302
"^https?:\/\/(www.)?chemdraw\.com\.cn\/" https://www.perkinelmer.com.cn/ 302
"^https?:\/\/(www.)?codesoftchina\.com\/" https://www.teklynx.com/ 302
"^https?:\/\/(www.)?coreldrawchina\.com\/" https://www.coreldraw.com/cn/ 302
"^https?:\/\/(www.)?crossoverchina\.com\/" https://www.codeweavers.com/ 302
"^https?:\/\/(www.)?dongmansoft\.com\/" https://www.udongman.cn/ 302
"^https?:\/\/(www.)?earmasterchina\.cn\/" https://www.earmaster.com/ 302
"^https?:\/\/(www.)?easyrecoverychina\.com\/" https://www.ontrack.com/ 302
"^https?:\/\/(www.)?ediuschina\.com\/" https://www.grassvalley.com/ 302
"^https?:\/\/(www.)?firefox\.com\.cn\/(download\/)?$" https://www.mozilla.org/zh-CN/firefox/new/ 302
"^https?:\/\/(www.)?flstudiochina\.com\/" https://www.image-line.com/ 302
"^https?:\/\/(www.)?folxchina\.cn\/" https://mac.eltima.com/cn/download-manager.html 302
"^https?:\/\/(www.)?formysql\.com\/" https://www.navicat.com.cn/ 302
"^https?:\/\/(www.)?guitarpro\.cc\/" https://www.guitar-pro.com/ 302
"^https?:\/\/(www.)?huishenghuiying\.com\.cn\/" https://www.coreldraw.com/cn/ 302
"^https?:\/\/(www.)?hypeapp\.cn\/" https://tumult.com/hype/ 302
"^https?:\/\/(www.)?iconworkshop\.cn\/" https://www.axialis.com/ 302
"^https?:\/\/(www.)?idmchina\.net\/" https://www.internetdownloadmanager.com/ 302
"^https?:\/\/(www.)?ign\.xn--fiqs8s\/" http://cn.ign.com/ccpref/us 302
"^https?:\/\/(www.)?imazingchina\.com\/" https://imazing.com/zh 302
"^https?:\/\/(www.)?imindmap\.cc\/" https://www.ayoa.com/previously-imindmap/ 302
"^https?:\/\/(www.)?jihehuaban\.com\.cn\/" https://www.chartwellyorke.com/sketchpad/x24795.html 302
"^https?:\/\/(www.)?kingdeecn\.cn\/" http://www.kingdee.com/ 302
"^https?:\/\/(www.)?logoshejishi\.com" https://www.sothink.com/product/logo-design-software/ 302
"^https?:\/\/(www.)?luping\.net\.cn\/" https://www.techsmith.com/ 302
"^https?:\/\/(www.)?mathtype\.cn\/" https://www.dessci.com/ 302
"^https?:\/\/(www.)?mi\.com\/" https://www.mi.com/ 302
"^https?:\/\/(www.)?mindmanager\.(cc|cn)\/" https://www.mindjet.com/cn/ 302
"^https?:\/\/(www.)?mindmapper\.cc\/" https://www.mindmapper.com/ 302
"^https?:\/\/(www.)?nicelabel\.cc\/" https://www.nicelabel.com/zh/ 302
"^https?:\/\/(www.)?ntfsformac\.cn\/" https://china.paragon-software.com/home-mac/ntfs-for-mac/ 302
"^https?:\/\/(www.)?officesoftcn\.com\/" https://www.microsoft.com/zh-cn/microsoft-365 302
"^https?:\/\/(www.)?overturechina\.com\/" https://sonicscores.com/ 302
"^https?:\/\/(www.)?passwordrecovery\.cn\/" https://cn.elcomsoft.com/aopr.html 302
"^https?:\/\/(www.)?pdfexpert\.cc\/" https://pdfexpert.com/zh 302
"^https?:\/\/(www.)?photozoomchina\.com\/" https://www.benvista.com/ 302
"^https?:\/\/(www.)?shankejingling\.com\/" https://www.sothink.com/product/flashdecompiler/ 302
"^https?:\/\/(www.)?suning\.com\/" https://suning.com/ 302
"^https?:\/\/(www.)?taobao\.com\/" https://taobao.com/ 302
"^https?:\/\/(www.)?vegaschina\.cn\/" https://www.vegascreativesoftware.com/ 302
"^https?:\/\/(www.)?xshellcn\.com\/" https://www.netsarang.com/zh/xshell/ 302
"^https?:\/\/(www.)?yhd\.com\/" https://yhd.com/ 302
"^https?:\/\/(www.)?yuanchengxiezuo\.com\/" https://www.teamviewer.com/ 302
"^https?:\/\/cn\.ultraiso\.net\/" https://cn.ezbsystems.com/ultraiso/ 302
"^https?:\/\/hypersnap\.mairuan\.com\/" https://www.keyshot.com/ 302
"^https?:\/\/logoshejishi\.mairuan\.com\/" https://www.sothink.com/product/logo-design-software/ 302
"^https?:\/\/you\.163\.com\/" https://you.163.com/ 302
[MITM]
hostname = %APPEND% abbyychina.com,aicoin.cn,alienskins.cn,anydeskchina.cn,app.biliintl.com,bartender.cc,beyondcompare.cc,bingdianhuanyuan.cn,chemdraw.com.cn,cn.ultraiso.net,codesoftchina.com,coreldrawchina.com,crossoverchina.com,ditu.google.cn,dongmansoft.com,earmasterchina.cn,easyrecoverychina.com,ediuschina.com,firefox.com.cn,flstudiochina.com,folxchina.cn,formysql.com,g.cn,google.cn,guitarpro.cc,huishenghuiying.com.cn,hypeapp.cn,hypersnap.mairuan.com,iconworkshop.cn,idmchina.net,ign.xn--fiqs8s,imazingchina.com,imindmap.cc,jd.com,jihehuaban.com.cn,kingdeecn.cn,logoshejishi.com,logoshejishi.mairuan.com,luping.net.cn,map.google.cn,mathtype.cn,mi.com,mindmanager.cc,mindmanager.cn,mindmapper.cc,mycleanmymac.com,nicelabel.cc,ntfsformac.cn,officesoftcn.com,overturechina.com,passport.biliintl.com,passwordrecovery.cn,pdfexpert.cc,photozoomchina.com,shankejingling.com,suning.com,taobao.com,vegaschina.cn,www.abbyychina.com,www.aicoin.cn,www.alienskins.cn,www.anydeskchina.cn,www.bartender.cc,www.betterzip.com,www.betterzip.net,www.betterzipcn.com,www.betterzipcn.net,www.beyondcompare.cc,www.bingdianhuanyuan.cn,www.chemdraw.com.cn,www.codesoftchina.com,www.coreldrawchina.com,www.crossoverchina.com,www.dongmansoft.com,www.earmasterchina.cn,www.easyrecoverychina.com,www.ediuschina.com,www.firefox.com.cn,www.flstudiochina.com,www.folxchina.cn,www.formysql.com,www.g.cn,www.google.cn,www.guitarpro.cc,www.huishenghuiying.com.cn,www.hypeapp.cn,www.iconworkshop.cn,www.idmchina.net,www.ign.xn--fiqs8s,www.imazingchina.com,www.imindmap.cc,www.jd.com,www.jihehuaban.com.cn,www.kingdeecn.cn,www.logoshejishi.com,www.luping.net.cn,www.mathtype.cn,www.mi.com,www.mindmanager.cc,www.mindmanager.cn,www.mindmapper.cc,www.mycleanmymac.com,www.nicelabel.cc,www.ntfsformac.cn,www.officesoftcn.com,www.overturechina.com,www.passwordrecovery.cn,www.pdfexpert.cc,www.photozoomchina.com,www.shankejingling.com,www.suning.com,www.taobao.com,www.xitongqingli.com,www.xshellcn.com,www.yhd.com,www.yuanchengxiezuo.com,www.zbrushcn.com,xitongqingli.com,xshellcn.com,yhd.com,you.163.com,yuanchengxiezuo.com,zbrushcn.com

View File

@ -2,75 +2,89 @@
## 前言
本项目的屏蔽APP更新检查规则由《规则生成器》自动整合与去重。
![](https://shields.io/badge/-移除重复规则-ff69b4) ![](https://shields.io/badge/-DOMAIN与DOMAIN--SUFFIX合并-green) ![](https://shields.io/badge/-DOMAIN--SUFFIX间合并-critical) ![](https://shields.io/badge/-DOMAIN与DOMAIN--KEYWORD合并-9cf) ![](https://shields.io/badge/-DOMAIN--SUFFIX与DOMAIN--KEYWORD合并-blue) ![](https://shields.io/badge/-IP--CIDR(6)合并-blueviolet) ![](https://shields.io/badge/-MITM--HOSTNAME合并-brightgreen) ![](https://shields.io/badge/-正则推导HOSTNAME-033da7)
复写规则所有数据均收集自开源项目,仅为解决引用过多外部资源引起的规则重复问题,不代表我们支持或使用这些服务
本项目的屏蔽APP更新检查规则由《RULE GENERATOR 规则生成器》自动生成
请通过我国(中华人民共和国)合法的互联网出入口信道访问规则中的地址,并确保在使用过程中符合相关法律法规
所有数据均收集自互联网公开信息,不代表我们支持或使用这些服务
请通过【中华人民共和国 People's Republic of China】合法的互联网出入口信道访问规则中的相关服务并确保在使用过程中符合相关法律法规。
## 规则说明
通过写屏蔽部分APP的更新检查。
目前已知问题:
屏蔽随申办更新检查后会导致无法登录请登录随申办APP后再开启此复写。
通过写屏蔽部分APP的更新检查。
## 复写统计
## 规则统计
| 类型 | 数量(条) |
| ---- | ---- |
| mitm | 11 |
| force_http_engine_hosts | 0 |
| reject | 11 |
## 配置说明
最后更新时间2022-06-23 17:37:38
实时版:程序定时更新,更新频率高,能尽快同步数据源变化,适合希望尝鲜的人。
各类型规则统计:
| 类型 | 数量(条) |
| ---- | ---- |
| REJECT | 11 |
| MITM | 11 |
| TOTAL | 22 |
稳定版:不定时手动更新,更新频率低,适合不希望规则频繁变化的人。
稳定版中如含有JavaScript脚本所引用的脚本链接为实时版或外部链接可能会与预期效果有出入建议使用实时版。
## Surge
### Surge
实时版:
#### 文件区别
- Upgrade.sgmodule与Upgrade_Mock.sgmodule的区别在于后者通过Surge的Mock模拟Reject规则。
#### 规则链接
**MASTER分支 (每日更新)**
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/Upgrade/Upgrade.sgmodule
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/Upgrade/Upgrade_Classical.sgmodule
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/Upgrade/Upgrade_Mock.sgmodule
稳定版:
**MASTER分支 CDN (每日更新)**
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rewrite/Surge/Upgrade/Upgrade.sgmodule
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rewrite/Surge/Upgrade/Upgrade_Mock.sgmodule
**MASTER分支 GHProxy (每日更新)**
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/Upgrade/Upgrade.sgmodule
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Surge/Upgrade/Upgrade_Mock.sgmodule
**RELEASE分支 (不定时更新)**
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/Upgrade/Upgrade.sgmodule
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/Upgrade/Upgrade_Classical.sgmodule
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/Upgrade/Upgrade_Mock.sgmodule
如果稳定版无法访问 ,可能是尚未从实时版的分支合并,建议您先使用实时版,或等待下次稳定版分支合并。
**RELEASE分支CDN (不定时更新)**
### 特别说明
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@release/rewrite/Surge/Upgrade/Upgrade.sgmodule
Upgrade.sgmodule 使用Mock模拟reject-dict等结果。
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@release/rewrite/Surge/Upgrade/Upgrade_Mock.sgmodule
Upgrade_Classical.sgmodule 采用传统的reject方式直接拒绝请求。
**RELEASE分支 GHProxy (不定时更新)**
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/Upgrade/Upgrade.sgmodule
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Surge/Upgrade/Upgrade_Mock.sgmodule
## 子规则
当前分流规则,未包含其他子规则。
根据个人需求,二选一使用即可。
## 数据来源
本项目的屏蔽APP更新检查复写规则的数据来自以下链接,通常已涵盖所有数据来源的复写规则
如果你正在使用这些复写规则建议不要与本项目的屏蔽APP更新检查复写规则混合使用以免造成规则重复。
屏蔽APP更新检查的数据来自以下链接,如与本项目的《屏蔽APP更新检查》规则混合使用可能造成部分重写重复
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/rewrite/Upgrade/Upgrade.qxrewrite
感谢以上复写规则作者的辛勤付出(排名不分先后)。
感谢以上规则作者的辛勤付出(排名不分先后)。
## 最后
### 感谢
[@Tartarus2014](https://github.com/Tartarus2014) [@chenyiping1995](https://github.com/chenyiping1995)
[@Tartarus2014](https://github.com/Tartarus2014) [@chenyiping1995](https://github.com/chenyiping1995) [@vhdj](https://github.com/vhdj)**
提供规则数据源及改进建议。

View File

@ -1,26 +1,24 @@
#!name=屏蔽APP更新检查
#!desc=最后更新时间 2022-01-18 23:35:38
#!name=Upgrade
#!desc=最后更新时间 2022-06-23 17:37:38
#!author=blackmatrix7
#!repo=https://github.com/blackmatrix7/ios_rule_script
#!rewrite=11
#!script=0
#!force_http_engine_hosts=0
#!reject=11
#!mitm=11
#!total=22
[URL Rewrite]
"^https?:\/\/api\.ishansong\.com\/app\/check\/v\d+\/check" - reject
"^https?:\/\/api\.m\.jd\.com\/openUpgrade" - reject
"^https?:\/\/apimobile\.meituan\.com\/appupdate\/mach\/checkUpdate?" - reject
"^https?:\/\/apprn\.pizzahut\.com\.cn\/updateCheck\?" - reject
"^https?:\/\/capis(-?\w*)?\.didapinche\.com\/publish\/api\/upgrade" - reject
"^https?:\/\/ccsp-egmas\.sf-express\.com\/cx-app-base\/base\/app\/appVersion\/detectionUpgrade" - reject
"^https?:\/\/consumer\.fcbox\.com\/v1\/version\/getNewVersion" - reject
"^https?:\/\/fmapp\.chinafamilymart\.com\.cn\/api\/app\/biz\/base\/appversion\/latest" - reject
"^https?:\/\/m\.client\.10010\.com\/mobileService\/(activity|customer)\/(accountListData|get_client_adv|get_startadv)" - reject
"^https?:\/\/sso\.lxjapp\.com\/\/chims\/servlet\/csGetLatestSoftwareVersionServlet" - reject
"^https?:\/\/www\.meituan\.com\/api\/v\d\/appstatus\?" - reject
[Map Local]
"^https?:\/\/api\.m\.jd\.com\/openUpgrade" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/apprn\.pizzahut\.com\.cn\/updateCheck\?" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/capis(-?\w*)?\.didapinche\.com\/publish\/api\/upgrade" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/ccsp-egmas\.sf-express\.com\/cx-app-base\/base\/app\/appVersion\/detectionUpgrade" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/consumer\.fcbox\.com\/v1\/version\/getNewVersion" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/m\.client\.10010\.com\/mobileService\/customer\/getclientconfig\.htm" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/sso\.lxjapp\.com\/\/chims\/servlet\/csGetLatestSoftwareVersionServlet" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
[MITM]
hostname = %APPEND% api.ishansong.com,api.m.jd.com,apimobile.meituan.com,apprn.pizzahut.com.cn,capis*.didapinche.com,ccsp-egmas.sf-express.com,consumer.fcbox.com,fmapp.chinafamilymart.com.cn,m.client.10010.com,sso.lxjapp.com,www.meituan.com
hostname = %APPEND% api.ishansong.com,api.m.jd.com,apimobile.meituan.com,apprn.pizzahut.com.cn,capis*.didapinche.com,ccsp-egmas.sf-express.com,consumer.fcbox.com,fmapp.chinafamilymart.com.cn,m.client.10010.com,sso.lxjapp.com,www.meituan.com

View File

@ -1,24 +0,0 @@
#!name=屏蔽APP更新检查
#!desc=最后更新时间 2022-01-18 23:35:38
#!author=blackmatrix7
#!repo=https://github.com/blackmatrix7/ios_rule_script
#!rewrite=11
#!script=0
#!force_http_engine_hosts=0
#!mitm=11
[URL Rewrite]
"^https?:\/\/api\.ishansong\.com\/app\/check\/v\d+\/check" - reject
"^https?:\/\/api\.m\.jd\.com\/openUpgrade" - reject
"^https?:\/\/apimobile\.meituan\.com\/appupdate\/mach\/checkUpdate?" - reject
"^https?:\/\/apprn\.pizzahut\.com\.cn\/updateCheck\?" - reject
"^https?:\/\/capis(-?\w*)?\.didapinche\.com\/publish\/api\/upgrade" - reject
"^https?:\/\/ccsp-egmas\.sf-express\.com\/cx-app-base\/base\/app\/appVersion\/detectionUpgrade" - reject
"^https?:\/\/consumer\.fcbox\.com\/v1\/version\/getNewVersion" - reject
"^https?:\/\/fmapp\.chinafamilymart\.com\.cn\/api\/app\/biz\/base\/appversion\/latest" - reject
"^https?:\/\/m\.client\.10010\.com\/mobileService\/customer\/getclientconfig\.htm" - reject
"^https?:\/\/sso\.lxjapp\.com\/\/chims\/servlet\/csGetLatestSoftwareVersionServlet" - reject
"^https?:\/\/www\.meituan\.com\/api\/v\d\/appstatus\?" - reject
[MITM]
hostname = %APPEND% api.ishansong.com,api.m.jd.com,apimobile.meituan.com,apprn.pizzahut.com.cn,capis*.didapinche.com,ccsp-egmas.sf-express.com,consumer.fcbox.com,fmapp.chinafamilymart.com.cn,m.client.10010.com,sso.lxjapp.com,www.meituan.com

View File

@ -0,0 +1,25 @@
#!name=Upgrade
#!desc=最后更新时间 2022-06-23 17:37:38
#!author=blackmatrix7
#!repo=https://github.com/blackmatrix7/ios_rule_script
#!reject=11
#!mitm=11
#!total=22
[URL Rewrite]
"^https?:\/\/api\.ishansong\.com\/app\/check\/v\d+\/check" - reject
"^https?:\/\/apimobile\.meituan\.com\/appupdate\/mach\/checkUpdate?" - reject
"^https?:\/\/fmapp\.chinafamilymart\.com\.cn\/api\/app\/biz\/base\/appversion\/latest" - reject
"^https?:\/\/www\.meituan\.com\/api\/v\d\/appstatus\?" - reject
[Map Local]
"^https?:\/\/api\.m\.jd\.com\/openUpgrade" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/apprn\.pizzahut\.com\.cn\/updateCheck\?" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/capis(-?\w*)?\.didapinche\.com\/publish\/api\/upgrade" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/ccsp-egmas\.sf-express\.com\/cx-app-base\/base\/app\/appVersion\/detectionUpgrade" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/consumer\.fcbox\.com\/v1\/version\/getNewVersion" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/m\.client\.10010\.com\/mobileService\/(activity|customer)\/(accountListData|get_client_adv|get_startadv)" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
"^https?:\/\/sso\.lxjapp\.com\/\/chims\/servlet\/csGetLatestSoftwareVersionServlet" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
[MITM]
hostname = %APPEND% api.ishansong.com,api.m.jd.com,apimobile.meituan.com,apprn.pizzahut.com.cn,capis*.didapinche.com,ccsp-egmas.sf-express.com,consumer.fcbox.com,fmapp.chinafamilymart.com.cn,m.client.10010.com,sso.lxjapp.com,www.meituan.com