#!name=Bilibili AdBlock #!desc=Converted from QX Bilibili AdBlock Rules #!author=ddgksf2013 #!tgchannel=https://t.me/ddgksf2021 # Surge Module Source: https://github.com/ddgksf2013/Modules # Original QX Config Source: https://raw.githubusercontent.com/ddgksf2013/Rewrite/master/AdBlock/BilibiliAds.conf [URL Rewrite] //2022-03-13 - reject # > Version ^https?:\/\/bilibili.2025.03.31/c135 - reject # > BiliBili_哔哩哔哩_屏蔽广告浮窗@ddgksf2013 ^https?:\/\/api\.bilibili\.com\/pgc\/activity\/deliver\/material\/receive - reject # > BiliBili_哔哩哔哩_Material_Ad@ddgksf2013 ^https?:\/\/api\.bilibili\.com\/x\/vip\/ads\/material\/report - reject # > BiliBili_哔哩哔哩_小卡片广告@ddgksf2013 ^https://api.bilibili.com/pgc/season/player/cards - reject # > BiliBili_哔哩哔哩_点击追番Card@ddgksf2013 ^https?:\/\/api\.bilibili\.com\/pgc\/season\/player\/ogv\/cards - reject # > BiliBili_哔哩哔哩_应用开屏去广告@bm7 ^https://app.bilibili.com/x/v2/splash/show - reject # > BiliBili_哔哩哔哩_漫画去广告@ddgksf2013 ^https?:\/\/manga\.bilibili\.com\/twirp\/comic\.v\d\.Comic\/(Flash|ListFlash|GetActivityTab) - reject # > BiliBili_哔哩哔哩_填词@ddgksf2013 ^https?:\/\/app\.bilibili\.com\/x\/v\d\/search\/defaultwords - reject # > BiliBili_哔哩哔哩_屏蔽DefaultWord@ddgksf2013 ^https?:\/\/(app\.bilibili\.com|grpc\.biliapi\.net)\/bilibili\.app\.interface\.v1\.Search\/Default - reject [Script] # > BiliBili_哔哩哔哩_视频播放下方商品推广@ddgksf2013 bilibili_json = type=http-response,pattern=^https?:\/\/api\.bili(api|bili)\.(net|com)\/pgc\/season\/app\/related\/recommend\?,requires-body=1,max-size=0,script-path=https://github.com/ddgksf2013/Scripts/raw/master/bilibili_json.js # > BiliBili_哔哩哔哩_屏蔽直播间商品广告浮窗[还有一个域名]@ddgksf2013 bilibili_json = type=http-response,pattern=^https?:\/\/api\.live\.bilibili\.com\/xlive\/e-commerce-interface\/v\d\/ecommerce-user\/get_shopping_info\?,requires-body=1,max-size=0,script-path=https://github.com/ddgksf2013/Scripts/raw/master/bilibili_json.js # > BiliBili_哔哩哔哩_直播去广告@bm7 bilibili_json = type=http-response,pattern=^https?:\/\/api\.live\.bilibili\.com\/xlive\/app-room\/v1\/index\/getInfoByRoom,requires-body=1,max-size=0,script-path=https://github.com/ddgksf2013/Scripts/raw/master/bilibili_json.js # > BiliBili_哔哩哔哩_应用开屏广告预加载@yjqiang bilibili_json = type=http-response,pattern=^https:\/\/app\.bilibili\.com\/x\/v2\/splash\/list,requires-body=1,max-size=0,script-path=https://github.com/ddgksf2013/Scripts/raw/master/bilibili_json.js # > BiliBili_哔哩哔哩_1080P高码率+4K画质[番剧和影视除外]@ddgksf2013 bilibili_json = type=http-response,pattern=^https?:\/\/app\.bilibili\.com\/x\/v2\/account\/myinfo\?,requires-body=1,max-size=0,script-path=https://github.com/ddgksf2013/Scripts/raw/master/bilibili_json.js # > BiliBili_哔哩哔哩_屏蔽直播页顶部轮播图@ddgksf2013 bilibili_json = type=http-response,pattern=^https?:\/\/api\.live\.bilibili\.com\/xlive\/app-interface\/v2\/index\/feed,requires-body=1,max-size=0,script-path=https://github.com/ddgksf2013/Scripts/raw/master/bilibili_json.js # > BiliBili_哔哩哔哩_推荐去广告@ddgksf2013 bilibili_json = type=http-response,pattern=^https?:\/\/app\.bilibili\.com\/x\/v2\/feed\/index,requires-body=1,max-size=0,script-path=https://github.com/ddgksf2013/Scripts/raw/master/bilibili_json.js # > BiliBili_哔哩哔哩_追番去广告@ddgksf2013 bilibili_json = type=http-response,pattern=^https?:\/\/api\.(bilibili|biliapi)\.(com|net)\/pgc\/page\/bangumi,requires-body=1,max-size=0,script-path=https://github.com/ddgksf2013/Scripts/raw/master/bilibili_json.js # > BiliBili_哔哩哔哩_观影页面去广告@ddgksf2013 bilibili_json = type=http-response,pattern=^https?:\/\/api\.(bilibili|biliapi)\.(com|net)\/pgc\/page\/cinema\/tab\?,requires-body=1,max-size=0,script-path=https://github.com/ddgksf2013/Scripts/raw/master/bilibili_json.js # > BiliBili_哔哩哔哩_标签页处理@ddgksf2013 bilibili_json = type=http-response,pattern=^https?:\/\/app\.bilibili\.com\/x\/resource\/show\/tab,requires-body=1,max-size=0,script-path=https://github.com/ddgksf2013/Scripts/raw/master/bilibili_json.js # > BiliBili_哔哩哔哩_我的页面处理@ddgksf2013 bilibili_json = type=http-response,pattern=^https?:\/\/app\.bilibili\.com\/x\/v2\/account\/mine,requires-body=1,max-size=0,script-path=https://github.com/ddgksf2013/Scripts/raw/master/bilibili_json.js # > BiliBili_哔哩哔哩_屏蔽首页右上活动@ddgksf2013 bilibili_json = type=http-response,pattern=^https?:\/\/app\.bilibili\.com\/x\/resource\/top\/activity,requires-body=1,max-size=0,script-path=https://github.com/ddgksf2013/Scripts/raw/master/bilibili_json.js # > BiliBili_哔哩哔哩_热搜发现@ddgksf2013 bilibili_json = type=http-response,pattern=^https://app.bilibili.com/x/v2/search/square,requires-body=1,max-size=0,script-path=https://github.com/ddgksf2013/Scripts/raw/master/bilibili_json.js # > BiliBili_哔哩哔哩_搜索去广告@BiliUniverse,kokoryh bilibili = type=http-response,pattern=^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.polymer\.app\.search\.v1\.Search\/SearchAll$,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/kokoryh/Sparkle/master/dist/bilibili.protobuf.js # > BiliBili_哔哩哔哩_交互点赞投票弹幕及会员弹幕@BiliUniverse,kokoryh bilibili = type=http-response,pattern=^https?:\/\/(app\.bilibili\.com|grpc\.biliapi\.net)\/bilibili\.community\.service\.dm\.v1\.DM\/(DmView|DmSegMobile),requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/kokoryh/Sparkle/master/dist/bilibili.protobuf.js # > BiliBili_哔哩哔哩_青少年弹窗@BiliUniverse,kokoryh bilibili = type=http-response,pattern=^https:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.interface\.v1\.Teenagers\/ModeStatus,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/kokoryh/Sparkle/master/dist/bilibili.protobuf.js # > BiliBili_哔哩哔哩_UP主推荐广告[适配ipad端]@BiliUniverse,kokoryh bilibili = type=http-response,pattern=^https?:\/\/(app\.bilibili\.com|grpc\.biliapi\.net)\/bilibili\.app\.(view|viewunite)\.v1\.View\/(View|TFInfo)$,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/kokoryh/Sparkle/master/dist/bilibili.protobuf.js # > BiliBili_哔哩哔哩_动态综合页及视频页去广告@BiliUniverse,kokoryh bilibili = type=http-response,pattern=^https?:\/\/(app\.bilibili\.com|grpc\.biliapi\.net)\/bilibili\.app\.dynamic\.v2\.Dynamic\/Dyn(All|Video)$,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/kokoryh/Sparkle/master/dist/bilibili.protobuf.js [MITM] hostname = %APPEND% -broadcast.chat.bilibili.com, -cm.bilibili.com, -*cdn*.biliapi.net, -*tracker*.biliapi.net, app.bilibili.com, api.live.bilibili.com, *.bilibili.com, *.bili*.*, *.bilibili.*, grpc.biliapi.net,*biliapi.net