mirror of
https://github.com/Giu-zhao/ios_rule_script
synced 2024-11-25 01:48:24 +08:00
[开屏] 去除爱奇艺开屏广告
This commit is contained in:
parent
5c78cb2177
commit
8678d668b5
@ -2,34 +2,35 @@
|
||||
|
||||
使用脚本,通过修改开屏广告图片大小、开屏广告持续时间、开屏广告生效时间等方法,去除缓存到本地的APP开屏广告。
|
||||
|
||||
维护去广告项目耗费的精力要远高于维护签到项目,所以当前仅能满足个人常用APP的开屏广告去除,并且不保证去除效果。
|
||||
|
||||
实在是精力有限,暂时无法帮忙去除其他APP开屏广告,欢迎大佬贡献其他去除开屏广告的代码。
|
||||
目前精力有限,仅能满足个人常用APP的开屏广告去除,并且不保证去除效果。
|
||||
|
||||
## 配置说明
|
||||
|
||||
大部分去广告的链接,都已经被整合型的去广告脚本拦截,脚本无法接管请求。如果出现拦截失败,请抓包检查相关请求是不是在脚本处理前就已经被拦截。
|
||||
大部分去广告的链接,都已经被整合型的去广告脚本拦截,脚本无法接管请求。
|
||||
|
||||
### Surge
|
||||
如果出现拦截失败,请抓包检查相关请求是不是在脚本处理前就已经被拦截。
|
||||
|
||||
使用模块
|
||||
## 模块
|
||||
|
||||
```ini
|
||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.sgmodule
|
||||
|
||||
### Loon
|
||||
|
||||
使用远程脚本配置
|
||||
|
||||
```ini
|
||||
[Plugin]
|
||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.lnplugin, tag=开屏去广告, enabled=true
|
||||
```
|
||||
|
||||
### Quantumult X
|
||||
|
||||
配置文件
|
||||
## 插件
|
||||
|
||||
```ini
|
||||
[rewrite_remote]
|
||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.qxrewrite, tag=开屏去广告, enabled=true
|
||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.lnplugin
|
||||
```
|
||||
|
||||
## 重写
|
||||
|
||||
```ini
|
||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.snippet
|
||||
```
|
||||
|
||||
## 覆写
|
||||
|
||||
```ini
|
||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.stoverride
|
||||
```
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
@ -1,9 +1,15 @@
|
||||
# 开屏去广告
|
||||
#!name= 开屏去广告
|
||||
#!desc= 通过脚本去除部分APP顽固开屏广告
|
||||
#!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/source/avatar.jpg
|
||||
|
||||
[Script]
|
||||
http-response ^https?:\/\/capis(-?\w*)?\.didapinche\.com\/ad\/cx\/startup\? requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js,tag=嘀嗒出行_开屏去广告
|
||||
http-response ^https?:\/\/fmapp\.chinafamilymart\.com\.cn\/api\/app\/market\/start\/ad requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia_checkin.js,tag=Fa米家_开屏去广告
|
||||
http-response ^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js,tag=BiliBili_开屏去广告
|
||||
http-response ^https?:\/\/(t7z|kjp)\.cupid\.iqiyi\.com\/mixer\? requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,tag=爱奇艺_开屏去广告
|
||||
http-response ^https?:\/\/capis(-?\w*)?\.didapinche\.com\/ad\/cx\/startup\? requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,tag=嘀嗒出行_开屏去广告
|
||||
http-response ^https?:\/\/fmapp\.chinafamilymart\.com\.cn\/api\/app\/market\/start\/ad requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,tag=Fa米家_开屏去广告
|
||||
http-response ^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/(show|list) requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,tag=BiliBili_开屏去广告
|
||||
http-response ^https?:\/\/wmapi\.meituan\.com\/api\/v\d+\/loadInfo? requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,tag=美团外卖_开屏去广告
|
||||
http-response ^https?:\/\/hd\.mina\.mi\.com\/splashscreen\/alert requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,tag=小爱音箱_开屏去广告
|
||||
http-response ^https?:\/\/hd\.mina\.mi\.com\/splashscreen\/alert requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,tag=京东_开屏去广告
|
||||
@ -11,4 +17,4 @@ http-response ^https?:\/\/mi\.gdt\.qq\.com\/gdt_mview.fcg requires-body=1,script
|
||||
http-response ^https?:\/\/cmsapi\.dmall\.com\/app\/home\/homepageStartUpPic requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,tag=多点_开屏去广告
|
||||
|
||||
[MITM]
|
||||
hostname = capis.didapinche.com,capis*.didapinche.com,fmapp.chinafamilymart.com.cn,app.bilibili.com,wmapi.meituan.com,hd.mina.mi.com,api.m.jd.com,mi.gdt.qq.com,cmsapi.dmall.com
|
||||
hostname = capis.didapinche.com,capis*.didapinche.com,fmapp.chinafamilymart.com.cn,app.bilibili.com,wmapi.meituan.com,hd.mina.mi.com,api.m.jd.com,mi.gdt.qq.com,cmsapi.dmall.com,*.cupid.iqiyi.com
|
@ -2,15 +2,20 @@
|
||||
#!desc=通过脚本去除部分APP的顽固开屏广告
|
||||
#!system=ios
|
||||
|
||||
[General]
|
||||
force-http-engine-hosts = %APPEND% t7z.cupid.iqiyi.com,kjp.cupid.iqiyi.com,*.didapinche.com
|
||||
|
||||
[Script]
|
||||
爱奇艺_开屏去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/(t7z|kjp)\.cupid\.iqiyi\.com\/mixer\?,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js
|
||||
嘀嗒出行_开屏去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/capis(-?\w*)?\.didapinche\.com\/ad\/cx\/startup\?,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js
|
||||
Fa米家_开屏去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/fmapp\.chinafamilymart\.com\.cn\/api\/app\/market\/start\/ad,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia_checkin.js
|
||||
BiliBili_开屏去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js
|
||||
Fa米家_开屏去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/fmapp\.chinafamilymart\.com\.cn\/api\/app\/market\/start\/ad,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js
|
||||
BiliBili_开屏去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/(show|list),script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js
|
||||
美团外卖_开屏去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/wmapi\.meituan\.com\/api\/v\d+\/loadInfo?,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js
|
||||
小爱音箱_开屏去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/hd\.mina\.mi\.com\/splashscreen\/alert,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js
|
||||
京东_开屏去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/api\.m\.jd\.com\/client\.action\?functionId=start,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js
|
||||
联享家_开屏去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/mi\.gdt\.qq\.com\/gdt_mview.fcg,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js
|
||||
多点_开屏去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/cmsapi\.dmall\.com\/app\/home\/homepageStartUpPic,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js
|
||||
轻牛健康_开屏去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/gw\.yolanda\.hk\/api\/servlets\?endpoint=banners\/show_launch_banner,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js
|
||||
|
||||
[MITM]
|
||||
hostname = %APPEND% capis.didapinche.com,capis*.didapinche.com,fmapp.chinafamilymart.com.cn,app.bilibili.com,wmapi.meituan.com,hd.mina.mi.com,api.m.jd.com,mi.gdt.qq.com,cmsapi.dmall.com
|
||||
hostname = %APPEND% capis.didapinche.com,capis*.didapinche.com,fmapp.chinafamilymart.com.cn,app.bilibili.com,wmapi.meituan.com,hd.mina.mi.com,api.m.jd.com,mi.gdt.qq.com,cmsapi.dmall.com,gw.yolanda.hk,t7z.cupid.iqiyi.com,kjp.cupid.iqiyi.com
|
@ -1,9 +1,11 @@
|
||||
# 爱奇艺
|
||||
^https?:\/\/(t7z|kjp)\.cupid\.iqiyi\.com\/mixer\? url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js
|
||||
# 嘀嗒出行
|
||||
^https?:\/\/capis(-?\w*)?\.didapinche\.com\/ad\/cx\/startup\? url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js
|
||||
# Fa米家
|
||||
^https?:\/\/fmapp\.chinafamilymart\.com\.cn\/api\/app\/market\/start\/ad url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia_checkin.js
|
||||
^https?:\/\/fmapp\.chinafamilymart\.com\.cn\/api\/app\/market\/start\/ad url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js
|
||||
# BiliBili
|
||||
^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js
|
||||
^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/(show|list) url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js
|
||||
# 美团外卖
|
||||
^https?:\/\/wmapi\.meituan\.com\/api\/v\d+\/loadInfo? url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js
|
||||
# 小爱音箱
|
||||
@ -15,4 +17,4 @@
|
||||
# 多点
|
||||
^https?:\/\/cmsapi\.dmall\.com\/app\/home\/homepageStartUpPic url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js
|
||||
|
||||
hostname = capis.didapinche.com,capis*.didapinche.com,fmapp.chinafamilymart.com.cn,app.bilibili.com,wmapi.meituan.com,hd.mina.mi.com,api.m.jd.com,mi.gdt.qq.com,cmsapi.dmall.com
|
||||
hostname = *.didapinche.com,fmapp.chinafamilymart.com.cn,app.bilibili.com,wmapi.meituan.com,hd.mina.mi.com,api.m.jd.com,mi.gdt.qq.com,cmsapi.dmall.com,*.cupid.iqiyi.com
|
104
script/startup/startup.stoverride
Normal file
104
script/startup/startup.stoverride
Normal file
@ -0,0 +1,104 @@
|
||||
name: 开屏去广告
|
||||
desc: 通过脚本去除部分APP的顽固开屏广告
|
||||
|
||||
http:
|
||||
script:
|
||||
# 爱奇艺_开屏去广告
|
||||
- match: ^https?:\/\/(t7z|kjp)\.cupid\.iqiyi\.com\/mixer\?
|
||||
name: startup.js
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument: ''
|
||||
|
||||
# 嘀嗒出行_开屏去广告
|
||||
- match: ^https?:\/\/capis(-?\w*)?\.didapinche\.com\/ad\/cx\/startup\?
|
||||
name: startup.js
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument: ''
|
||||
|
||||
# Fa米家_开屏去广告
|
||||
- match: ^https?:\/\/fmapp\.chinafamilymart\.com\.cn\/api\/app\/market\/start\/ad
|
||||
name: startup.js
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument: ''
|
||||
|
||||
# BiliBili_开屏去广告
|
||||
- match: ^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/(show|list)
|
||||
name: startup.js
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument: ''
|
||||
|
||||
# 美团外卖_开屏去广告
|
||||
- match: ^https?:\/\/wmapi\.meituan\.com\/api\/v\d+\/loadInfo?
|
||||
name: startup.js
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument: ''
|
||||
|
||||
# 小爱音箱_开屏去广告
|
||||
- match: ^https?:\/\/hd\.mina\.mi\.com\/splashscreen\/alert
|
||||
name: startup.js
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument: ''
|
||||
|
||||
# 京东_开屏去广告
|
||||
- match: ^https?:\/\/api\.m\.jd\.com\/client\.action\?functionId=start
|
||||
name: startup.js
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument: ''
|
||||
|
||||
# 联享家_开屏去广告
|
||||
- match: ^https?:\/\/mi\.gdt\.qq\.com\/gdt_mview.fcg
|
||||
name: startup.js
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument: ''
|
||||
|
||||
# 多点_开屏去广告
|
||||
- match: ^https?:\/\/cmsapi\.dmall\.com\/app\/home\/homepageStartUpPic
|
||||
name: startup.js
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument: ''
|
||||
|
||||
# 轻牛健康_开屏去广告
|
||||
- match: ^https?:\/\/gw\.yolanda\.hk\/api\/servlets\?endpoint=banners\/show_launch_banner
|
||||
name: startup.js
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument: ''
|
||||
|
||||
mitm:
|
||||
- "capis.didapinche.com"
|
||||
- "capis*.didapinche.com"
|
||||
- "fmapp.chinafamilymart.com.cn"
|
||||
- "app.bilibili.com"
|
||||
- "wmapi.meituan.com"
|
||||
- "hd.mina.mi.com"
|
||||
- "api.m.jd.com"
|
||||
- "mi.gdt.qq.com"
|
||||
- "cmsapi.dmall.com"
|
||||
- "gw.yolanda.hk"
|
||||
- "t7z.cupid.iqiyi.com"
|
||||
- "kjp.cupid.iqiyi.com"
|
||||
|
||||
script-providers:
|
||||
startup.js:
|
||||
url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js
|
||||
interval: 86400
|
||||
|
Loading…
Reference in New Issue
Block a user