mirror of
https://github.com/blackmatrix7/ios_rule_script.git
synced 2025-12-14 20:32:13 +00:00
移除部分过时的代码
This commit is contained in:
114
script/archive/smzdm/README.md
Normal file
114
script/archive/smzdm/README.md
Normal file
@@ -0,0 +1,114 @@
|
||||
# 什么值得买
|
||||
|
||||
## 签到与每日任务
|
||||
|
||||
什么值得买签到和任务脚本,每日完成Android端签到、抽奖一次,收藏文章7次。
|
||||
|
||||
## 特别说明
|
||||
|
||||
### 脚本执行时间
|
||||
|
||||
什么值得买执行任务时,对每次任务的时间间隔有一定的要求,过短的时间间隔可能会没有任何奖励。如果在短时间内并行发起大量请求的话,严重的情况会导致账号异常,需要修改密码。所以在每次执行任务时,都加入休眠时间,这会导致脚本的执行时间需要非常长。请把脚本超时时间设置到最长,建议2分钟以上,以免因为超时被强制中断。
|
||||
|
||||
### 账号异常
|
||||
|
||||
可能会导致账号被拉入小黑屋,无法参与幸运屋抽奖,其他功能暂未发现异常,不在意抽奖的可以继续使用,在意抽奖的请谨慎考虑。
|
||||
|
||||
可以BoxJS中,开启在执行脚本时进行小黑屋检测,如果账号已在小黑屋中会弹出通知。
|
||||
|
||||
## 最近更新
|
||||
|
||||
2023年1月31日
|
||||
|
||||
1. 去除Web端签到,改为Android签到,感谢匿名大佬提供的签名算法
|
||||
2. 签到时增加黑号检测
|
||||
|
||||
### 配置说明
|
||||
|
||||
#### Surge
|
||||
|
||||
##### **安装模块**
|
||||
|
||||
```ini
|
||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.sgmodule
|
||||
```
|
||||
|
||||
### Loon
|
||||
|
||||
安装插件
|
||||
|
||||
```ini
|
||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.lnplugin
|
||||
```
|
||||
|
||||
### Quantumult X
|
||||
|
||||
配置重写
|
||||
|
||||
```ini
|
||||
[rewrite_remote]
|
||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.snippet, tag=什么值得买_获取Cookie, update-interval=86400, opt-parser=false, enabled=true
|
||||
|
||||
[task_local]
|
||||
5 10 * * * https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.js, tag=什么值得买每日签到
|
||||
```
|
||||
|
||||
## 获取Cookies
|
||||
|
||||
打开什么值得买APP,点击“我的”,进入右上角的签到页面,等待脚本弹出获取Cookie成功的通知即可。
|
||||
|
||||
~~使用Safari,不要使用第三方浏览器!~~
|
||||
|
||||
~~使用Safari访问 https://zhiyou.smzdm.com/ 进行一次登录,通常会显示获取Cookie成功。~~
|
||||
|
||||
~~可能因为重定向的问题,登录成功后访问的不是https://zhiyou.smzdm.com/user/ ,则重新在浏览器中访问一次https://zhiyou.smzdm.com/user/ 即可。~~
|
||||
|
||||
~~如果还是没有获取到Cookie,请查阅Surge等第三方App的执行日志。~~
|
||||
|
||||
### 多账号获取Cookies
|
||||
|
||||
使用浏览器的无痕模式、隐身模式等功能实现不同账号的登录和切换。
|
||||
|
||||
## 脚本变量
|
||||
|
||||
| 名称 | 类型 | 默认值 | 说明 |
|
||||
| ------------------- | ---- | ------ | --------------------------------- |
|
||||
| smzdm_cookie | Json | 无 | 存储什么值得买Cookies |
|
||||
| smzdm_cookie_id | Json | 无 | 辅助判断什么值得买Cookies是否变化 |
|
||||
| smzdm_signin | Bool | true | 是否打开什么值得买签到 |
|
||||
| smzdm_mission | Bool | false | 是否打开什么值得买每日任务 |
|
||||
| smzdm_lottery | Bool | false | 是否打开什么值得买每日抽奖 |
|
||||
| smzdm_sync_qinglong | Bool | false | 是否同步Cookies至青龙面板 |
|
||||
| smzdm_blackroom | Bool | true | 是否打开小黑屋检测 |
|
||||
|
||||
## 去广告
|
||||
|
||||
去除什么值得买首页、好价、好文内的广告
|
||||
|
||||
### 配置说明
|
||||
|
||||
#### Surge
|
||||
|
||||
使用模块
|
||||
|
||||
```ini
|
||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.sgmodule
|
||||
```
|
||||
|
||||
### Loon
|
||||
|
||||
使用插件
|
||||
|
||||
```ini
|
||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.lnplugin
|
||||
```
|
||||
|
||||
### Quantumult X
|
||||
|
||||
配置重写
|
||||
|
||||
```ini
|
||||
[rewrite_remote]
|
||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.qxrewrite, tag=什么值得买_去广告, update-interval=86400, opt-parser=false, enabled=true
|
||||
```
|
||||
|
||||
896
script/archive/smzdm/backup/smzdm_checkin.js
Normal file
896
script/archive/smzdm/backup/smzdm_checkin.js
Normal file
File diff suppressed because one or more lines are too long
7
script/archive/smzdm/backup/smzdm_checkin.lnscript
Normal file
7
script/archive/smzdm/backup/smzdm_checkin.lnscript
Normal file
@@ -0,0 +1,7 @@
|
||||
# 什么值得买每日自动签到
|
||||
|
||||
http-request ^https?:\/\/zhiyou\.smzdm\.com\/user$ requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_checkin.js,tag=什么值得买_获取cookie
|
||||
http-request ^https?:\/\/user-api\.smzdm\.com\/user_login\/normal$ requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_checkin.js,tag=什么值得买_获取账号密码
|
||||
cron "5 0 * * *" script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_checkin.js,timeout=120,tag=什么值得买_每日签到
|
||||
|
||||
hostname = zhiyou.smzdm.com,user-api.smzdm.com
|
||||
6
script/archive/smzdm/backup/smzdm_checkin.qxrewrite
Normal file
6
script/archive/smzdm/backup/smzdm_checkin.qxrewrite
Normal file
@@ -0,0 +1,6 @@
|
||||
# 什么值得买每日自动签到
|
||||
|
||||
^https?:\/\/zhiyou\.smzdm\.com\/user$ url script-request-header https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_checkin.js
|
||||
^https?:\/\/user-api\.smzdm\.com\/user_login\/normal$ url script-request-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_checkin.js
|
||||
|
||||
hostname = zhiyou.smzdm.com,user-api.smzdm.com
|
||||
11
script/archive/smzdm/backup/smzdm_checkin.sgmodule
Normal file
11
script/archive/smzdm/backup/smzdm_checkin.sgmodule
Normal file
@@ -0,0 +1,11 @@
|
||||
#!name=什么值得买
|
||||
#!desc=什么值得买每日自动签到与完成任务
|
||||
#!system=ios
|
||||
|
||||
[Script]
|
||||
什么值得买_每日签到 = script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_checkin.js,timeout=120,type=cron,cronexp=5 0 * * *
|
||||
什么值得买_获取cookie = script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_checkin.js,type=http-request,requires-body=true,pattern=^https?:\/\/zhiyou\.smzdm\.com\/user$
|
||||
什么值得买_获取账号密码 = script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_checkin.js,type=http-request,requires-body=true,pattern=^https?:\/\/user-api\.smzdm\.com\/user_login\/normal$
|
||||
|
||||
[MITM]
|
||||
hostname = %APPEND% zhiyou.smzdm.com, user-api.smzdm.com
|
||||
78
script/archive/smzdm/backup/smzdm_remove_ads.js
Normal file
78
script/archive/smzdm/backup/smzdm_remove_ads.js
Normal file
@@ -0,0 +1,78 @@
|
||||
let body = $response.body;
|
||||
body=JSON.parse(body);
|
||||
|
||||
let homepage_regex = /^https?:\/\/homepage-api.smzdm.com\/home/;
|
||||
let haojia_regex = /^https?:\/\/haojia-api.smzdm.com\/home\/list/;
|
||||
let article_regex = /^https?:\/\/article-api.smzdm.com\/article\/index_home_page/;
|
||||
let util_regex = /^https?:\/\/app-api\.smzdm\.com\/util\/update/;
|
||||
let sou_regex = /^https?:\/\/s-api\.smzdm\.com\/sou\/list/;
|
||||
|
||||
// 去除首页推荐广告
|
||||
if (homepage_regex.test($request.url)){
|
||||
if (!!body){
|
||||
if (body['data'].hasOwnProperty('banner')){
|
||||
if (body['data']['banner'].hasOwnProperty('big_banner')){
|
||||
delete body['data']['banner']['big_banner'];
|
||||
}
|
||||
if (body['data']['banner'].hasOwnProperty('tonglan_banner')){
|
||||
delete body['data']['banner']['tonglan_banner'];
|
||||
}
|
||||
}
|
||||
if (body.hasOwnProperty('data') && body['data'].hasOwnProperty('rows')){
|
||||
let rows = body['data']['rows'].filter((item) =>{
|
||||
return item['model_type'] != 'ads' && item['model_type'] != 'cluster';
|
||||
})
|
||||
body['data']['rows'] = rows;
|
||||
}
|
||||
delete body['data']['widget'];
|
||||
}
|
||||
}
|
||||
// 好价去广告
|
||||
else if(haojia_regex.test($request.url)){
|
||||
if (body['data'].hasOwnProperty('banner')){
|
||||
if (body['data']['banner'].hasOwnProperty('two_banner')){
|
||||
delete body['data']['banner']['two_banner'];
|
||||
}
|
||||
if (body['data']['banner'].hasOwnProperty('big_banner')){
|
||||
delete body['data']['banner']['big_banner'];
|
||||
}
|
||||
if (body['data']['banner'].hasOwnProperty('calendar_banner')){
|
||||
delete body['data']['banner']['calendar_banner'];
|
||||
}
|
||||
if (body['data']['banner'].hasOwnProperty('hongbao_banner')){
|
||||
delete body['data']['banner']['hongbao_banner'];
|
||||
}
|
||||
}
|
||||
let rows = body['data']['rows'].filter((item) =>{
|
||||
return item['tag'] != '广告';
|
||||
})
|
||||
body['data']['rows'] = rows;
|
||||
}
|
||||
// 社区好文去广告
|
||||
else if(article_regex.test($request.url)){
|
||||
if (body['data'].hasOwnProperty('big_banner')){
|
||||
delete body['data']['big_banner'];
|
||||
}
|
||||
if (body['data'].hasOwnProperty('notice')){
|
||||
delete body['data']['notice'];
|
||||
}
|
||||
}
|
||||
// 去除浮动广告
|
||||
else if (util_regex.test($request.url)){
|
||||
delete body['data']['ad_filter'];
|
||||
delete body['data']['operation_float_7_0'];
|
||||
delete body['data']['operation_full'];
|
||||
delete body['data']['operation_float_screen'];
|
||||
delete body['data']['operation_float'];
|
||||
}
|
||||
// 去除搜索结果广告
|
||||
else if (sou_regex.test($request.url)){
|
||||
if (body.hasOwnProperty('data') && body['data'].hasOwnProperty('rows')){
|
||||
let rows = body['data']['rows'].filter((item) =>{
|
||||
return item['model_type'] != 'ads';
|
||||
})
|
||||
body['data']['rows'] = rows;
|
||||
}
|
||||
}
|
||||
body=JSON.stringify(body);
|
||||
$done({body});
|
||||
16
script/archive/smzdm/backup/smzdm_remove_ads.lnplugin
Normal file
16
script/archive/smzdm/backup/smzdm_remove_ads.lnplugin
Normal file
@@ -0,0 +1,16 @@
|
||||
# 什么值得买去广告
|
||||
|
||||
[URL Rewrite]
|
||||
^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/banner - reject
|
||||
^https?:\/\/api\.smzdm\.com\/v\d\/util\/(banner|loading) - reject
|
||||
^https?:\/\/app-api\.smzdm\.com\/util\/loading - reject
|
||||
|
||||
[Script]
|
||||
http-response ^https?:\/\/homepage-api\.smzdm\.com\/home script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/backup/smzdm_remove_ads.js, requires-body=true, timeout=10, tag=什么值得买_首页去广告
|
||||
http-response ^https?:\/\/haojia-api\.smzdm\.com\/home\/list script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/backup/smzdm_remove_ads.js, requires-body=true, timeout=10, tag=什么值得买_好价去广告
|
||||
http-response ^https?:\/\/app-api\.smzdm\.com\/util\/update script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/backup/smzdm_remove_ads.js, requires-body=true, timeout=10, tag=什么值得买_去浮动广告
|
||||
http-response ^https?:\/\/article-api\.smzdm\.com\/article\/index_home_page script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/backup/smzdm_remove_ads.js, requires-body=true, timeout=10, tag=什么值得买_首页去广告
|
||||
http-response ^https?:\/\/s-api\.smzdm\.com\/sou\/list script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/backup/smzdm_remove_ads.js, requires-body=true, timeout=10, tag=什么值得买_搜索去广告
|
||||
|
||||
[MITM]
|
||||
hostname = homepage-api.smzdm.com,haojia-api.smzdm.com,article-api.smzdm.com,haojia.m.smzdm.com,app-api.smzdm.com,s-api.smzdm.com
|
||||
19
script/archive/smzdm/backup/smzdm_remove_ads.qxrewrite
Normal file
19
script/archive/smzdm/backup/smzdm_remove_ads.qxrewrite
Normal file
@@ -0,0 +1,19 @@
|
||||
# 什么值得买去广告
|
||||
|
||||
# 详情页去广告
|
||||
^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/banner url reject-dict
|
||||
# 首页去广告
|
||||
^https?:\/\/homepage-api\.smzdm\.com\/home url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/backup/smzdm_remove_ads.js
|
||||
# 好价去广告
|
||||
^https?:\/\/haojia-api\.smzdm\.com\/home\/list url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/backup/smzdm_remove_ads.js
|
||||
# 去浮动广告
|
||||
^https?:\/\/app-api\.smzdm\.com\/util\/update url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/backup/smzdm_remove_ads.js
|
||||
# 好文去广告
|
||||
^https?:\/\/article-api\.smzdm\.com\/article\/index_home_page url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/backup/smzdm_remove_ads.js
|
||||
# 搜索去广告
|
||||
^https?:\/\/s-api\.smzdm\.com\/sou\/list url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/backup/smzdm_remove_ads.js
|
||||
# 其他
|
||||
^https?:\/\/api\.smzdm\.com\/v\d\/util\/(banner|loading) url reject-dict
|
||||
^https?:\/\/app-api\.smzdm\.com\/util\/loading url reject-dict
|
||||
|
||||
hostname = homepage-api.smzdm.com,haojia-api.smzdm.com,article-api.smzdm.com,haojia.m.smzdm.com,app-api.smzdm.com,s-api.smzdm.com
|
||||
18
script/archive/smzdm/backup/smzdm_remove_ads.sgmodule
Normal file
18
script/archive/smzdm/backup/smzdm_remove_ads.sgmodule
Normal file
@@ -0,0 +1,18 @@
|
||||
#!name=什么值得买
|
||||
#!desc=什么值得买APP去广告
|
||||
|
||||
[URL Rewrite]
|
||||
^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/banner - reject
|
||||
^https?:\/\/api\.smzdm\.com\/v\d\/util\/(banner|loading) - reject
|
||||
^https?:\/\/app-api\.smzdm\.com\/util\/loading - reject
|
||||
|
||||
[Script]
|
||||
什么值得买_首页去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/homepage-api\.smzdm\.com\/home,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/backup/smzdm_remove_ads.js
|
||||
什么值得买_去浮动广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/app-api\.smzdm\.com\/util\/update,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/backup/smzdm_remove_ads.js
|
||||
什么值得买_好价去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/haojia-api\.smzdm\.com\/home\/list\?,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/backup/smzdm_remove_ads.js
|
||||
什么值得买_好文去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/article-api\.smzdm\.com\/article\/index_home_page,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/backup/smzdm_remove_ads.js
|
||||
什么值得买_搜索去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/s-api\.smzdm\.com\/sou\/list,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/backup/smzdm_remove_ads.js
|
||||
|
||||
|
||||
[MITM]
|
||||
hostname = %APPEND% homepage-api.smzdm.com,haojia-api.smzdm.com,article-api.smzdm.com,haojia.m.smzdm.com,app-api.smzdm.com,s-api.smzdm.com
|
||||
BIN
script/archive/smzdm/images/01.png
Normal file
BIN
script/archive/smzdm/images/01.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 298 KiB |
BIN
script/archive/smzdm/smzdm.png
Normal file
BIN
script/archive/smzdm/smzdm.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.3 KiB |
650
script/archive/smzdm/smzdm_daily.js
Normal file
650
script/archive/smzdm/smzdm_daily.js
Normal file
File diff suppressed because one or more lines are too long
13
script/archive/smzdm/smzdm_daily.lnplugin
Normal file
13
script/archive/smzdm/smzdm_daily.lnplugin
Normal file
@@ -0,0 +1,13 @@
|
||||
#!name= 什么值得买
|
||||
#!desc= 什么值得买每日签到、抽奖与任务
|
||||
#!openUrl=https://github.com/blackmatrix7/ios_rule_script
|
||||
#!author= blackmatrix7
|
||||
#!homepage= https://github.com/blackmatrix7/ios_rule_script
|
||||
#!icon= https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm.png
|
||||
|
||||
[Script]
|
||||
http-request ^https?:\/\/user-api\.smzdm\.com\/checkin$ script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.js,tag=什么值得买_获取Cookie
|
||||
cron "5 10 * * *" script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.js,timeout=60,tag=什么值得买_每日签到
|
||||
|
||||
[MITM]
|
||||
hostname = user-api.smzdm.com
|
||||
10
script/archive/smzdm/smzdm_daily.sgmodule
Normal file
10
script/archive/smzdm/smzdm_daily.sgmodule
Normal file
@@ -0,0 +1,10 @@
|
||||
#!name=什么值得买
|
||||
#!desc=什么值得买每日自动签到
|
||||
#!system=ios
|
||||
|
||||
[Script]
|
||||
什么值得买_每日签到 = script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.js,timeout=120,type=cron,cronexp=5 10 * * *
|
||||
什么值得买_获取cookie = script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.js,type=http-request,requires-body=false,pattern=^https?:\/\/user-api\.smzdm\.com\/checkin$
|
||||
|
||||
[MITM]
|
||||
hostname = %APPEND% user-api.smzdm.com
|
||||
5
script/archive/smzdm/smzdm_daily.snippet
Normal file
5
script/archive/smzdm/smzdm_daily.snippet
Normal file
@@ -0,0 +1,5 @@
|
||||
# 什么值得买每日自动签到
|
||||
|
||||
^https?:\/\/user-api\.smzdm\.com\/checkin$ url script-request-header https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.js
|
||||
|
||||
hostname = user-api.smzdm.com
|
||||
154
script/archive/smzdm/smzdm_remove_ads.js
Normal file
154
script/archive/smzdm/smzdm_remove_ads.js
Normal file
File diff suppressed because one or more lines are too long
22
script/archive/smzdm/smzdm_remove_ads.lnplugin
Normal file
22
script/archive/smzdm/smzdm_remove_ads.lnplugin
Normal file
@@ -0,0 +1,22 @@
|
||||
# 什么值得买去广告
|
||||
|
||||
[URL Rewrite]
|
||||
# 什么值得买_好价详情页去广告
|
||||
^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/other_modul - reject
|
||||
# 什么值得买_好价详情页红包小助手
|
||||
^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/user_related_modul - reject
|
||||
# 什么值得买_Wiki(618晒物活动推广,将来可能不是广告)
|
||||
^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/wiki_related_modul - reject
|
||||
|
||||
[Script]
|
||||
http-response ^https?:\/\/app-api\.smzdm\.com\/util\/loading script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js, requires-body=true, timeout=10, tag=什么值得买_开屏去广告
|
||||
http-response ^https?:\/\/homepage-api\.smzdm\.com\/v3\/home script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js, requires-body=true, timeout=10, tag=什么值得买_首页去广告
|
||||
http-response ^https?:\/\/haojia-api\.smzdm\.com\/home\/list script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js, requires-body=true, timeout=10, tag=什么值得买_好价去广告
|
||||
http-response ^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/article_releated_modul script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js, requires-body=true, timeout=10, tag=什么值得买_好价详情页去广告
|
||||
http-response ^https?:\/\/baike-api\.smzdm\.com\/home_v3\/list script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js, requires-body=true, timeout=10, tag=什么值得买_百科去广告
|
||||
http-response ^https?:\/\/s-api\.smzdm\.com\/sou\/list_v10 script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js, requires-body=true, timeout=10, tag=什么值得买_搜索结果去广告
|
||||
http-response ^https?:\/\/s-api\.smzdm\.com\/sou\/filter\/tags\/hot_tags script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js, requires-body=true, timeout=10, tag=什么值得买_搜索标签去广告
|
||||
http-response ^https?:\/\/zhiyou\.m\.smzdm\.com\/user\/vip\/ajax_get_banner script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js, requires-body=true, timeout=10, tag=什么值得买_值会员权益中心banner广告
|
||||
|
||||
[MITM]
|
||||
hostname = app-api.smzdm.com,homepage-api.smzdm.com,haojia-api.smzdm.com,haojia.m.smzdm.com,baike-api.smzdm.com,s-api.smzdm.com,zhiyou.m.smzdm.com
|
||||
27
script/archive/smzdm/smzdm_remove_ads.qxrewrite
Normal file
27
script/archive/smzdm/smzdm_remove_ads.qxrewrite
Normal file
@@ -0,0 +1,27 @@
|
||||
# 什么值得买去广告
|
||||
|
||||
# 好价详情页去广告
|
||||
^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/other_modul url reject
|
||||
# 好价详情页红包小助手
|
||||
^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/user_related_modul url reject
|
||||
# Wiki(618晒物活动推广,将来可能不是广告)
|
||||
^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/wiki_related_modul url reject
|
||||
|
||||
# 开屏去广告
|
||||
^https?:\/\/app-api\.smzdm\.com\/util\/loading url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js
|
||||
# 首页去广告
|
||||
^https?:\/\/homepage-api\.smzdm\.com\/v3\/home url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js
|
||||
# 好价去广告
|
||||
^https?:\/\/haojia-api\.smzdm\.com\/home\/list url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js
|
||||
# 好价详情页去广告
|
||||
^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/article_releated_modul url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js
|
||||
# 百科去广告
|
||||
^https?:\/\/baike-api\.smzdm\.com\/home_v3\/list url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js
|
||||
# 搜索结果去广告
|
||||
^https?:\/\/s-api\.smzdm\.com\/sou\/list_v10 url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js
|
||||
# 搜索标签去广告
|
||||
^https?:\/\/s-api\.smzdm\.com\/sou\/filter\/tags\/hot_tags url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js
|
||||
# 值会员权益中心banner广告
|
||||
^https?:\/\/zhiyou\.m\.smzdm\.com\/user\/vip\/ajax_get_banner url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js
|
||||
|
||||
hostname = app-api.smzdm.com,homepage-api.smzdm.com,haojia-api.smzdm.com,haojia.m.smzdm.com,baike-api.smzdm.com,s-api.smzdm.com,zhiyou.m.smzdm.com
|
||||
24
script/archive/smzdm/smzdm_remove_ads.sgmodule
Normal file
24
script/archive/smzdm/smzdm_remove_ads.sgmodule
Normal file
@@ -0,0 +1,24 @@
|
||||
#!name=什么值得买
|
||||
#!desc=什么值得买APP去广告
|
||||
|
||||
[URL Rewrite]
|
||||
# 什么值得买_好价详情页去广告
|
||||
^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/other_modul - reject
|
||||
# 什么值得买_好价详情页红包小助手
|
||||
^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/user_related_modul - reject
|
||||
# 什么值得买_Wiki(618晒物活动推广,将来可能不是广告)
|
||||
^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/wiki_related_modul - reject
|
||||
|
||||
[Script]
|
||||
什么值得买_开屏去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/app-api\.smzdm\.com\/util\/loading,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js
|
||||
什么值得买_首页去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/homepage-api\.smzdm\.com\/v3\/home,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js
|
||||
什么值得买_好价去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/haojia-api\.smzdm\.com\/home\/list,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js
|
||||
什么值得买_好价详情页去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/article_releated_modul,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js
|
||||
什么值得买_百科去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/baike-api\.smzdm\.com\/home_v3\/list,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js
|
||||
什么值得买_搜索结果去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/s-api\.smzdm\.com\/sou\/list_v10,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js
|
||||
什么值得买_搜索标签去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/s-api\.smzdm\.com\/sou\/filter\/tags\/hot_tags,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js
|
||||
什么值得买_值会员权益中心banner去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/zhiyou\.m\.smzdm\.com\/user\/vip\/ajax_get_banner,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js
|
||||
|
||||
|
||||
[MITM]
|
||||
hostname = %APPEND% app-api.smzdm.com,homepage-api.smzdm.com,haojia-api.smzdm.com,haojia.m.smzdm.com,baike-api.smzdm.com,s-api.smzdm.com,zhiyou.m.smzdm.com
|
||||
Reference in New Issue
Block a user