forked from sve1r/Rules-For-Quantumult-X
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
83 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
// ==UserScript== | ||
// @ScriptName BiliBili_AdBlock_DIY | ||
// @Author @ddgksf2013, @blackmatrix7, @app2smile, @yjqiang, @kokoryh | ||
// @ForHelp 若有屏蔽广告的需求,可公众号后台回复APP名称 | ||
// @TaiWanBilibili https://apps.apple.com/tw/app/id1517062289 | ||
// @HKBilibili https://apps.apple.com/hk/app/id1517062289 | ||
// @FanjuChuChai https://space.bilibili.com/11783021/ | ||
// @WechatID 公众号墨鱼手记 | ||
// @TgChannel https://t.me/ddgksf2021 | ||
// @Contribute https://t.me/ddgksf2013_bot | ||
// @Feedback 📮 [email protected] 📮 | ||
// @UpdateTime 2023-02-09 | ||
// @ConfigVersion V2.0.108 | ||
// @Attention 如果广告仍然存在,请清除缓存或卸载应用重新安装 | ||
// @Attention 如需引用请注明出处,谢谢合作! | ||
// @Function 去广告配置(自用,不定期更新) | ||
// @Suitable 自行观看“# > ”注释内容 | ||
// @ScriptURL https://github.com/ddgksf2013/Rewrite/raw/master/AdBlock/Bilibili.conf | ||
// ==/UserScript== | ||
|
||
|
||
hostname = -broadcast.chat.bilibili.com, -*cdn*.biliapi.net, -*tracker*.biliapi.net, app.bilibili.com, api.live.bilibili.com, *.bilibili.com, *.bilibili.*, grpc.biliapi.net,*biliapi.net | ||
|
||
# ~ BiliBili_哔哩哔哩_屏蔽直播页顶部轮播图@ddgksf2013 | ||
^https?:\/\/api\.live\.bilibili\.com\/xlive\/app-interface\/v2\/index\/feed url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Bilibili/bilibili_json.js | ||
# ~ BiliBili_哔哩哔哩_屏蔽直播间商品广告浮窗[还有一个域名]@ddgksf2013 | ||
^https?:\/\/api\.live\.bilibili\.com\/xlive\/e-commerce-interface\/v\d\/ecommerce-user\/get_shopping_info\? url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Bilibili/bilibili_json.js | ||
# ~ BiliBili_哔哩哔哩_屏蔽广告浮窗@ddgksf2013 | ||
^https?:\/\/api\.bilibili\.com\/pgc\/activity\/deliver\/material\/receive url reject-dict | ||
# ~ BiliBili_哔哩哔哩_屏蔽IP请求@ddgksf2013 | ||
^https?:\/\/app\.bilibili\.com\/x\/resource\/ip url reject | ||
# ~ BiliBili_哔哩哔哩_屏蔽DefaultWord@ddgksf2013 | ||
^https?:\/\/(app\.bilibili\.com|grpc\.biliapi\.net)\/bilibili\.app\.interface\.v1\.Search\/Default url reject | ||
# ~ BiliBili_哔哩哔哩_屏蔽首页右上活动@ddgksf2013 | ||
^https?:\/\/app\.bilibili\.com\/x\/resource\/top\/activity url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Bilibili/bilibili_json.js | ||
# ~ BiliBili_哔哩哔哩_观影页面去广告@ddgksf2013 | ||
^https?:\/\/api\.(bilibili|biliapi)\.(com|net)\/pgc\/page\/cinema\/tab\? url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Bilibili/bilibili_json.js | ||
# ~ BiliBili_哔哩哔哩_应用开屏去广告@bm7 | ||
^https://app.bilibili.com/x/v2/splash/show url reject-dict | ||
# ~ BiliBili_哔哩哔哩_应用开屏广告预加载@yjqiang | ||
^https:\/\/app\.bilibili\.com\/x\/v2\/splash\/list url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Bilibili/bilibili_json.js | ||
# ~ BiliBili_哔哩哔哩_1080P高码率+4K画质[番剧和影视除外]@ddgksf2013 | ||
^https?:\/\/app\.bilibili\.com\/x\/v2\/account\/myinfo\? url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Bilibili/bilibili_json.js | ||
# ~ BiliBili_哔哩哔哩_热搜发现@ddgksf2013 | ||
^https://app.bilibili.com/x/v2/search/square url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Bilibili/bilibili_json.js | ||
# ~ BiliBili_哔哩哔哩_Defaultword@ddgksf2013 | ||
^https://app.bilibili.com/x/v2/search/defaultwords url reject-dict | ||
# ~ BiliBili_哔哩哔哩_Material_Ad@ddgksf2013 | ||
^https?:\/\/api\.bilibili\.com\/x\/vip\/ads\/material\/report url reject-dict | ||
# ~ BiliBili_哔哩哔哩_小卡片广告@ddgksf2013 | ||
^https://api.bilibili.com/pgc/season/player/cards url reject-dict | ||
# ~ BiliBili_哔哩哔哩_漫画去广告@ddgksf2013 | ||
^https?:\/\/manga\.bilibili\.com\/twirp\/comic\.v\d\.Comic\/(Flash|ListFlash|GetActivityTab) url reject-dict | ||
# ~ BiliBili_哔哩哔哩_推荐去广告@ddgksf2013 | ||
^https?:\/\/app\.bilibili\.com\/x\/v2\/feed\/index url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Bilibili/bilibili_json.js | ||
# ~ BiliBili_哔哩哔哩_追番去广告@ddgksf2013 | ||
^https?:\/\/api\.(bilibili|biliapi)\.(com|net)\/pgc\/page\/bangumi url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Bilibili/bilibili_json.js | ||
# ~ BiliBili_哔哩哔哩_直播去广告@bm7 | ||
^https?:\/\/api\.live\.bilibili\.com\/xlive\/app-room\/v1\/index\/getInfoByRoom url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Bilibili/bilibili_json.js | ||
# ~ BiliBili_哔哩哔哩_标签页处理@ddgksf2013 | ||
^https?:\/\/app\.bilibili\.com\/x\/resource\/show\/tab url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Bilibili/bilibili_json.js | ||
# ~ BiliBili_哔哩哔哩_我的页面处理@ddgksf2013 | ||
^https?:\/\/app\.bilibili\.com\/x\/v2\/account\/mine url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Bilibili/bilibili_json.js | ||
# ~ BiliBili_哔哩哔哩_UP主推荐广告[适配ipad端]@app2smile@ddgksf2013 | ||
^https?:\/\/(app\.bilibili\.com|grpc\.biliapi\.net)\/bilibili\.app\.view\.v1\.View\/View$ url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/Unlock/BiliBili-proto.js | ||
# ~ BiliBili_哔哩哔哩_动态页面去广告@app2smile@kokoryh@ddgksf2013 | ||
^https?:\/\/(app\.bilibili\.com|grpc\.biliapi\.net)\/bilibili\.app\.dynamic\.v2\.Dynamic\/DynAll$ url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/Unlock/BiliBili-proto.js | ||
# ~ BiliBili_哔哩哔哩_启动时开启直连模式[自行启用]@ddgksf2013 | ||
;^https?:\/\/app\.bilibili\.com\/x\/resource\/domain url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/bilibili_startup_direct.js | ||
# ~ BiliBili_哔哩哔哩_繁体CC字幕转中文简体[自行启用]@ddgksf2013 | ||
;^https?:\/\/i.\.hdslb\.com\/bfs\/subtitle\/.+\.json$ url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/bilibili_cc.js | ||
# ~ BiliBili_哔哩哔哩_去除统一设置的皮肤[注释留存]@ddgksf2013 | ||
;^https?:\/\/app\.bilibili\.com\/x\/resource\/show\/skin\? url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Bilibili/bilibili_json.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// ==UserScript== | ||
// @ScriptName BiliBili_AdBlock_DIY | ||
// @Author @ddgksf2013, @blackmatrix7, @app2smile, @yjqiang | ||
// @Author @ddgksf2013, @blackmatrix7, @app2smile, @yjqiang, @kokoryh | ||
// @ForHelp 若有屏蔽广告的需求,可公众号后台回复APP名称 | ||
// @TaiWanBilibili https://apps.apple.com/tw/app/id1517062289 | ||
// @HKBilibili https://apps.apple.com/hk/app/id1517062289 | ||
|
@@ -9,8 +9,8 @@ | |
// @TgChannel https://t.me/ddgksf2021 | ||
// @Contribute https://t.me/ddgksf2013_bot | ||
// @Feedback 📮 [email protected] 📮 | ||
// @UpdateTime 2023-02-08 | ||
// @ConfigVersion V2.0.107 | ||
// @UpdateTime 2023-02-09 | ||
// @ConfigVersion V2.0.108 | ||
// @Attention 如果广告仍然存在,请清除缓存或卸载应用重新安装 | ||
// @Attention 如需引用请注明出处,谢谢合作! | ||
// @Function 去广告配置(自用,不定期更新) | ||
|
@@ -72,7 +72,7 @@ | |
//2023-01-22 49、处理B站直播间右下角商品推广 | ||
//2023-02-02 50、特别说明:由于粉B与白B首页顶部都统一了样式,在代理情况下,港澳台的[动画]页面不会出现,建议关闭重写,代理进入即可看到[动画]tab | ||
//2023-02-07 51、由于proto数据源未更新,致使新版粉B的动态页面,图文混合推送中文字不显示,如果介意此bug,可使用解析器排除该重写#out=DynAll | ||
|
||
//2023-02-09 52、更新biliJson数据源@kokoryh,解决粉色B站动态页面图文混合推送中文字不显示的bug | ||
|
||
|
||
hostname = -broadcast.chat.bilibili.com, -*cdn*.biliapi.net, -*tracker*.biliapi.net, app.bilibili.com, api.live.bilibili.com, *.bilibili.com, *.bilibili.*, grpc.biliapi.net,*biliapi.net | ||
|
@@ -119,11 +119,11 @@ hostname = -broadcast.chat.bilibili.com, -*cdn*.biliapi.net, -*tracker*.biliapi. | |
^https?:\/\/app\.bilibili\.com\/x\/v2\/account\/mine url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Bilibili/bilibili_json.js | ||
# ~ BiliBili_哔哩哔哩_UP主推荐广告[适配ipad端]@app2smile@ddgksf2013 | ||
^https?:\/\/(app\.bilibili\.com|grpc\.biliapi\.net)\/bilibili\.app\.view\.v1\.View\/View$ url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/Unlock/BiliBili-proto.js | ||
# ~ BiliBili_哔哩哔哩_动态页面去广告[#out=DynAll]@app2smile@ddgksf2013 | ||
# ~ BiliBili_哔哩哔哩_动态页面去广告@app2smile@kokoryh@ddgksf2013 | ||
^https?:\/\/(app\.bilibili\.com|grpc\.biliapi\.net)\/bilibili\.app\.dynamic\.v2\.Dynamic\/DynAll$ url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/Unlock/BiliBili-proto.js | ||
# ~ BiliBili_哔哩哔哩_启动时开启直连模式[自行启用]@ddgksf2013 | ||
;^https?:\/\/app\.bilibili\.com\/x\/resource\/domain url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/bilibili_startup_direct.js | ||
;^https?:\/\/app\.bilibili\.com\/x\/resource\/domain url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/bilibili_startup_direct.js | ||
# ~ BiliBili_哔哩哔哩_繁体CC字幕转中文简体[自行启用]@ddgksf2013 | ||
;^https?:\/\/i.\.hdslb\.com\/bfs\/subtitle\/.+\.json$ url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/bilibili_cc.js | ||
;^https?:\/\/i.\.hdslb\.com\/bfs\/subtitle\/.+\.json$ url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/bilibili_cc.js | ||
# ~ BiliBili_哔哩哔哩_去除统一设置的皮肤[注释留存]@ddgksf2013 | ||
;^https?:\/\/app\.bilibili\.com\/x\/resource\/show\/skin\? url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Bilibili/bilibili_json.js |
Large diffs are not rendered by default.
Oops, something went wrong.