-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBilibili.conf
94 lines (87 loc) · 7.99 KB
/
Bilibili.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
// ==UserScript==
// @ScriptName BiliBili_AdBlock_DIY
// @Author @ddgksf2013, @blackmatrix7, @app2smile, @yjqiang
// @RelatedGitHub https://github.com/blackmatrix7
// @RelatedGitHub https://github.com/ddgksf2013/Cuttlefish
// @RelatedGitHub https://github.com/app2smile/rules
// @RelatedGitHub https://github.com/yjqiang/surge_scripts
// @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
// @Feedback https://t.me/ddgksf2013_bot
// @UpdateTime 2022-03-13 07:29
// @Attention 如果廣告仍然存在,請清除緩存或卸載應用重新安裝
// @Function 去廣告配置(自用,不定期更新)
// @Suitable 自行觀看「# > 」注釋內容
// @ScriptURL https://github.com/ddgksf2013/Cuttlefish/raw/master/Rewrite/AdBlock/Bilibili.conf
// ==/UserScript==
//更新日誌:Made by ddgksf2013
//2021-12-20 1、 移除首頁右上角的玩遊戲
//2022-01-08 2、 首頁頂部只保留直播|推薦|追番|影視
//2022-02-10 3、 移除我的->推薦服務中的會員購
//2022-02-15 4、 代理模式進入國區B站,首頁頂部添加追番頁(代理進入不會彈青少年彈窗)
//2022-02-15 5、 動態去廣告切換為@app2smile的
//2022-02-17 6、 應用去廣告樣式兼容國內版和台灣版
//2022-02-21 7、 新增嗶哩嗶哩Defaultword、熱搜、搜索發現的屏蔽
//2022-02-21 8、 新增屏蔽嗶哩嗶哩視頻播放左上角小卡片廣告
//2022-02-21 9、 修復首頁成單列模式加載失敗的問題(經測試,blackmatrix7原重寫引用也存在此問題)
//2022-03-01 10、修復APP內(我的頁面)腳本打開出現bug問題
//2022-03-05 11、解鎖B站普通視頻的1080P高畫質或4K畫質功能
//2022-03-05 12、去除B站統一設置的皮膚
//2022-03-05 13、修復B站每次打開都是默認粉色皮膚的問題
//2022-03-06 14、應群友要求,去除嗶哩嗶哩概念版应用下方的頻道和消息按鈕
//2022-03-07 15、B站概念版里我的頁面增加聯絡客服,使整體樣式與B站原版、台灣區B站保持一致
//2022-03-09 16、B站去廣告配置兼容國區、概念版、台灣版、港版嗶哩嗶哩,強烈推薦使用台灣B站
//2022-03-12 17、去除B站我的頁面的[創作中心]內容,及其下面的[隨手分享春天,瓜分萬元獎金]條幅
//2022-03-12 18、新增屏蔽視頻播放下方的UP主推薦廣告
//2022-03-13 19、B站預加載開屏廣告處理from yjqiang:不能粗暴reject屏蔽
hostname = app.biliintl.com, app.bilibili.com,api.live.bilibili.com,api.vc.bilibili.com, api.bilibili.com, manga.bilibili.com,grpc.biliapi.net
# ~ BiliBili_嗶哩嗶哩_應用開屏去廣告@bm7
^https://app.bilibili.com/x/v2/splash/show - reject-dict
# ~ BiliBili_嗶哩嗶哩_應用開屏廣告预加载@yjqiang
http-response ^https:\/\/app\.bilibili\.com\/x\/v2\/splash\/list script-path=https://raw.githubusercontent.com/ddgksf2013/Cuttlefish/master/Script/bilibili_diy.js, requires-body=true, tag=嗶哩嗶哩_應用開屏廣告预加载, enable=true
# ~ BiliBili_嗶哩嗶哩_去除統一設置的皮膚@ddgksf2013
http-response ^https?:\/\/app\.bilibili\.com\/x\/resource\/show\/skin\? script-path=https://raw.githubusercontent.com/ddgksf2013/Cuttlefish/master/Script/bilibili_diy.js, requires-body=true, tag=嗶哩嗶哩_去除統一設置的皮膚, enable=true
# ~ BiliBili_嗶哩嗶哩_1080P高码率+4K畫質(番劇和影視除外)@ddgksf2013
http-response ^https?:\/\/app\.bilibili\.com\/x\/v2\/account\/myinfo\? script-path=https://raw.githubusercontent.com/ddgksf2013/Cuttlefish/master/Script/bilibili_diy.js, requires-body=true, tag=嗶哩嗶哩_1080P高码率+4K畫質(番劇和影視除外), enable=true
# ~ BiliBili_嗶哩嗶哩_热搜发现@ddgksf2013
http-response ^https://app.bilibili.com/x/v2/search/square script-path=https://raw.githubusercontent.com/ddgksf2013/Cuttlefish/master/Script/bilibili_diy.js, requires-body=true, tag=嗶哩嗶哩_热搜发现, enable=true
# ~ BiliBili_嗶哩嗶哩_Defaultword@ddgksf2013
^https://app.bilibili.com/x/v2/search/defaultwords - reject-dict
# ~ BiliBili_嗶哩嗶哩_Material_Ad@ddgksf2013
^https?:\/\/api\.bilibili\.com\/x\/vip\/ads\/material\/report - reject-dict
# ~ BiliBili_嗶哩嗶哩_收藏前10
http-response ;^https:\/\/app\.bilibili\.com\/x\/v2\/space\?access_key script-path=https://raw.githubusercontent.com/ddgksf2013/Cuttlefish/master/Script/bilibili_space_10.js, requires-body=true, tag=嗶哩嗶哩_收藏前10, enable=true
# ~ BiliBili_嗶哩嗶哩_小卡片廣告@ddgksf2013
^https://api.bilibili.com/pgc/season/player/cards - reject-dict
# ~ BiliBili_嗶哩嗶哩_解除SIM卡地區限制
(^https?:\/\/app\.biliintl.com\/intl\/.+)(&sim_code=\d+)(.+) 302 $1$3
# ~ BiliBili_嗶哩嗶哩_去除搜索中的大家都在搜@bm7
^https?:\/\/api\.vc\.bilibili\.com\/search_svr\/v\d\/Search\/recommend_words - reject
# ~ BiliBili_嗶哩嗶哩_去除動態中的話題@bm7
^https?:\/\/api\.vc\.bilibili\.com\/topic_svr\/v1\/topic_svr - reject-dict
# ~ BiliBili_嗶哩嗶哩_去除動態中的最常訪問@bm7
;^https?:\/\/api\.vc\.bilibili\.com\/dynamic_svr\/v1\/dynamic_svr\/mix_uplist - reject-dict
# ~ BiliBili_嗶哩嗶哩_可能的一些推廣(beta)@bm7
^https?:\/\/api\.bilibili\.com\/pgc\/season\/app\/related\/recommend\? - reject-dict
# ~ BiliBili_嗶哩嗶哩_漫畫去廣告@ddgksf2013
^https?:\/\/manga\.bilibili\.com\/twirp\/comic\.v\d\.Comic\/(Flash|ListFlash) - reject-dict
# ~ BiliBili_嗶哩嗶哩_推薦去廣告@ddgksf2013
http-response ^https?:\/\/app\.bilibili\.com\/x\/v2\/feed\/index script-path=https://raw.githubusercontent.com/ddgksf2013/Cuttlefish/master/Script/bilibili_diy.js, requires-body=true, tag=嗶哩嗶哩_推薦去廣告, enable=true
# ~ BiliBili_嗶哩嗶哩_追番去廣告@bm7
http-response ^https?:\/\/api\.bilibili\.com\/pgc\/page\/bangumi script-path=https://raw.githubusercontent.com/ddgksf2013/Cuttlefish/master/Script/bilibili_diy.js, requires-body=true, tag=嗶哩嗶哩_追番去廣告, enable=true
# ~ BiliBili_嗶哩嗶哩_直播去廣告@bm7
http-response ^https?:\/\/api\.live\.bilibili\.com\/xlive\/app-room\/v1\/index\/getInfoByRoom script-path=https://raw.githubusercontent.com/ddgksf2013/Cuttlefish/master/Script/bilibili_diy.js, requires-body=true, tag=嗶哩嗶哩_直播去廣告, enable=true
# ~ BiliBili_嗶哩嗶哩_動態去廣告@bm7
http-response ^https?:\/\/api\.vc\.bilibili\.com\/dynamic_svr\/v1\/dynamic_svr\/dynamic_(history|new)\? script-path=https://raw.githubusercontent.com/ddgksf2013/Cuttlefish/master/Script/bilibili_diy.js, requires-body=true, tag=嗶哩嗶哩_動態去廣告, enable=true
# ~ BiliBili_嗶哩嗶哩_標籤頁處理@ddgksf2013
http-response ^https?:\/\/app\.bilibili\.com\/x\/resource\/show\/tab script-path=https://raw.githubusercontent.com/ddgksf2013/Cuttlefish/master/Script/bilibili_diy.js, requires-body=true, tag=嗶哩嗶哩_標籤頁處理, enable=true
# ~ BiliBili_嗶哩嗶哩_我的頁面處理@ddgksf2013
http-response ^https?:\/\/app\.bilibili\.com\/x\/v2\/account\/mine script-path=https://raw.githubusercontent.com/ddgksf2013/Cuttlefish/master/Script/bilibili_diy.js, requires-body=true, tag=嗶哩嗶哩_我的頁面處理, enable=true
# ~ BiliBili_嗶哩嗶哩_Proto去广告@app2smile
http-response ^https:\/\/app\.bilibili\.com\/bilibili\.app\.(view\.v1\.View\/View|dynamic\.v2\.Dynamic\/DynAll)$ script-path=https://raw.githubusercontent.com/app2smile/rules/master/js/bilibili-proto.js, requires-body=true, tag=嗶哩嗶哩_Proto去广告, enable=true
# ~ BiliBili_嗶哩嗶哩_動態廣告@yjqiang
http-response ;^https://app\.bilibili\.com/bilibili\.app\.dynamic\.v2\.Dynamic/DynAll$ script-path=https://raw.githubusercontent.com/yjqiang/surge_scripts/main/scripts/bilibili/bilibili_dynamic.js, requires-body=true, tag=嗶哩嗶哩_動態廣告, enable=true