Skip to content

Commit

Permalink
🤸🏻‍feat&fix: 更新 部分规则
Browse files Browse the repository at this point in the history
- Bilibili: Remove Some Rewrite
- Cainiao: Update Some Script
- Keep: Update Some Script
- 小红书: Update Some Script
- Weibo: Bug fixed and Update Rewrite & Scripts
  • Loading branch information
sve1r committed Apr 23, 2024
1 parent 98c0323 commit 8e20cd3
Show file tree
Hide file tree
Showing 21 changed files with 566 additions and 1,575 deletions.
18 changes: 13 additions & 5 deletions Rewrite/4limbo.adblock

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions Rewrite/AdBlock/BdMap.adblock
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// ==UserScript==
// @ScriptName 百度地图净化[墨鱼版]
// @Author @ddgksf2013
// @ForHelp 若有屏蔽广告的需求,可公众号后台回复APP名称
// @WechatID 公众号墨鱼手记
// @TgChannel https://t.me/ddgksf2021
// @Contribute https://t.me/ddgksf2013_bot
// @Feedback 📮 [email protected] 📮
// @UpdateTime 2023-12-15
// @Suitable 自行观看“# > ”注释内容
// @Attention 使用前请卸载百度地图,挂载脚本然后使用
// @Attention 如需引用请注明出处,谢谢合作!
// @Version V1.0.7
// @ScriptURL https://gist.githubusercontent.com/ddgksf2013/beec132ca0c3570ffa0cf331bce8f82a/raw/baidumap.adblock.conf
// ==/UserScript==


hostname=180.76.76.200, newclient.map.baidu.com, httpdns.baidubce.com, ugc.map.baidu.com

# > 百度地图_首页底部推荐@ddgksf2013
^https?:\/\/ugc\.map\.baidu\.com\/govui\/rich_content url reject-200
# > 百度地图_搜索框下足记Tips@ddgksf2013
;^https?:\/\/newclient\.map\.baidu\.com\/client\/phpui.*qt=rgc url reject-200
# > 百度地图_搜索推广@ddgksf2013
^https?:\/\/newclient\.map\.baidu\.com\/client\/phpui.*qt=hw url reject-200
# > 百度地图_开屏广告|首页左上角广告@ddgksf2013
^https?:\/\/newclient\.map\.baidu\.com\/client\/phpui2\/\?qt=ads url reject-200
# > 百度地图_DNS处理@ddgksf2013
^https?:\/\/httpdns\.baidubce\.com url reject-200
# > 百度地图_各种商业推广@ddgksf2013
^https?:\/\/newclient\.map\.baidu\.com\/client\/crossmarketing url reject-200
# > 百度地图_我的页面地图动态@ddgksf2013
^https?:\/\/newclient\.map\.baidu\.com\/client\/usersystem\/home\/dynamic url reject-200
5 changes: 5 additions & 0 deletions Rewrite/AdBlock/BiliBili.adblock
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,21 @@ hostname = -broadcast.chat.bilibili.com, -*cdn*.biliapi.net, -*tracker*.biliapi.
^https?:\/\/(app\.bilibili\.com|grpc\.biliapi\.net)\/bilibili\.app\.interface\.v1\.Search\/Default url reject
# ~ BiliBili_哔哩哔哩_搜索去广告@BiliUniverse
^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.polymer\.app\.search\.v1\.Search\/SearchAll$ url script-response-body https://rules-for-qx.sveir.xyz/Scripts/AdBlock/Bilibili/BiliBili.response.min.js

# ~ BiliBili_哔哩哔哩_交互点赞投票弹幕及会员弹幕@BiliUniverse
^https?:\/\/(app\.bilibili\.com|grpc\.biliapi\.net)\/bilibili\.community\.service\.dm\.v1\.DM\/(DmView|DmSegMobile) url script-response-body https://rules-for-qx.sveir.xyz/Scripts/AdBlock/Bilibili/BiliBili.response.min.js

# ~ BiliBili_哔哩哔哩_青少年弹窗@BiliUniverse
^https:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.interface\.v1\.Teenagers\/ModeStatus url script-response-body https://rules-for-qx.sveir.xyz/Scripts/AdBlock/Bilibili/BiliBili.response.min.js

# ~ BiliBili_哔哩哔哩_UP主推荐广告[适配ipad端]@BiliUniverse
^https?:\/\/(app\.bilibili\.com|grpc\.biliapi\.net)\/bilibili\.app\.(view|viewunite)\.v1\.View\/(View|TFInfo)$ url script-response-body https://rules-for-qx.sveir.xyz/Scripts/AdBlock/Bilibili/BiliBili.response.min.js

# ~ BiliBili_哔哩哔哩_动态综合页及视频页去广告@BiliUniverse
^https?:\/\/(app\.bilibili\.com|grpc\.biliapi\.net)\/bilibili\.app\.dynamic\.v2\.Dynamic\/Dyn(All|Video)$ url script-response-body https://rules-for-qx.sveir.xyz/Scripts/AdBlock/Bilibili/BiliBili.response.min.js



# ======= BiliNotAdded ======= #
# ~ BiliBili_哔哩哔哩_启动时开启直连模式[自行启用]@ddgksf2013
;^https?:\/\/app\.bilibili\.com\/x\/resource\/domain url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/bilibili_startup_direct.js
Expand Down
2 changes: 1 addition & 1 deletion Rewrite/AdBlock/Cainiao.adblock
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ hostname=cn-acs.m.cainiao.com, guide-acs.m.taobao.com,acs4miniapp-inner.m.taobao


# > 菜鸟裹裹_amdc处理[Anti已将Amdc分流删除,故更换屏蔽策略]@ddgksf2013
^http:\/\/amdc\.m\.taobao\.com url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/amdc.js
^http:\/\/amdc\.m\.taobao\.com url script-response-body https://rules-for-qx.sveir.xyz/Scripts/AdBlock/Other/Amdc.min.js
# > 菜鸟裹裹_首页中部的问邻居推广@ddgksf2013
^https?:\/\/cn-acs\.m\.cainiao\.com\/gw\/mtop\.cainiao\.nbpresentation\.homepage\.merge\.get\.cn url script-response-body https://rules-for-qx.sveir.xyz/Scripts/AdBlock/Other/Cainiao.js
# > 菜鸟裹裹_首页中部的惊喜福利推广@ddgksf2013
Expand Down
16 changes: 6 additions & 10 deletions Rewrite/AdBlock/Keep.adblock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
// ==UserScript==
// @ScriptName Keep 净化
// @ScriptName Keep去广告+净化[墨鱼版]
// @Author @ddgksf2013
// @ForHelp 若有屏蔽广告的需求,可公众号后台回复APP名称
// @WechatID 公众号墨鱼手记
// @TgChannel https://t.me/ddgksf2021
// @Contribute https://t.me/ddgksf2013_bot
// @Feedback 📮 [email protected] 📮
// @UpdateTime 2024-03-23
// @UpdateTime 2024-04-04
// @Function 应用净化去广告
// @Suitable 自行观看“# > ”注释内容
// @Attention 如需引用请注明出处,谢谢合作!
// @Version V1.0.7
// @Version V1.0.9
// @ScriptURL https://github.com/ddgksf2013/Rewrite/raw/master/AdBlock/KeepStyle.conf
// ==/UserScript==


hostname=hc-ssp.sm.cn, api.gotokeep.com, kad.gotokeep.com
hostname=hc-ssp.sm.cn, api.gotokeep.com, 42.187.199.248, kad.gotokeep.com

# > 屏蔽应用内弹窗
^https?:\/\/api\.gotokeep\.com\/guide-webapp\/v\d\/popup\/getPopUp url reject-200
Expand Down Expand Up @@ -45,9 +45,5 @@ hostname=hc-ssp.sm.cn, api.gotokeep.com, kad.gotokeep.com
^https?:\/\/api\.gotokeep\.com\/athena\/v\d\/people\/my$ url script-response-body https://rules-for-qx.sveir.xyz/Scripts/AdBlock/Other/Keep.min.js
# > 应用底部栏净化
^https?:\/\/api\.gotokeep\.com\/config\/v\d\/basic url script-response-body https://rules-for-qx.sveir.xyz/Scripts/AdBlock/Other/Keep.min.js
# > 发现页处理
https://api.gotokeep.com/homepage/v\d/tab url script-response-body https://rules-for-qx.sveir.xyz/Scripts/AdBlock/Other/Keep.min.js
# > 课程预览页广告
https://api.gotokeep.com/nuocha/course/v2/\w+/preview url script-response-body https://rules-for-qx.sveir.xyz/Scripts/AdBlock/Other/Keep.min.js
# > 我的运动页面去除下方推荐
https://api.gotokeep.com/sportpage/sport/v3/mysport url script-response-body https://rules-for-qx.sveir.xyz/Scripts/AdBlock/Other/Keep.min.js
# > 首页信息流去广告
^https?:\/\/api\.gotokeep\.com\/twins\/v4\/feed\/course url script-response-body https://rules-for-qx.sveir.xyz/Scripts/AdBlock/Other/Keep.min.js
Loading

0 comments on commit 8e20cd3

Please sign in to comment.