commit
20770fcb85
11
README.md
11
README.md
|
@ -52,8 +52,15 @@
|
|||
- [7️⃣ 许可与说明](#7️⃣许可与说明)
|
||||
-----
|
||||
|
||||
# **中断性变更提醒**
|
||||
由于脚本数量的增多以及复杂性的提高,冗余文件影响到仓库内数据分析, 兹定于 **4月30日** 对仓库内部分 *脚本* 或 *分流文件* 进行包括文件名\文件后缀名\目录格式等重构, 届时,如果发生脚本无法找到的情况,请根据发布的 WiKi 等相关指引进行修改操作.
|
||||
# **🛠️ 中断性变更提醒**
|
||||
由于仓库内容过于久远,历史数据归档较为困难。兹定于 2023年9月30日晚对仓库中内容及仓库分支结构进行切换并清理。
|
||||
包括但不限于以下所列内容
|
||||
```
|
||||
1. 删除现有但早已不使用的 **main** 分支
|
||||
2. 将现有 **develop** 分支的内容 迁移至 **新main** 分支
|
||||
3. 调整 **main** 分支为保护分支, 今后所有更新应当符合 **GitFlow** 风格
|
||||
```
|
||||
如果对您日常使用带来了不便,请见谅,并提前做好更新准备。
|
||||
|
||||
# **🉑 简要说明**
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
// @TgChannel https://t.me/ddgksf2021
|
||||
// @Contribute https://t.me/ddgksf2013_bot
|
||||
// @Feedback 📮 ddgksf2013@163.com 📮
|
||||
// @UpdateTime 2023-06-28
|
||||
// @ConfigVersion V2.0.123
|
||||
// @UpdateTime 2023-08-07
|
||||
// @ConfigVersion V2.0.124
|
||||
// @Attention 如果广告仍然存在,请清除缓存或卸载应用重新安装
|
||||
// @Attention 如需引用请注明出处,谢谢合作!
|
||||
// @Function 去广告配置(自用,不定期更新)
|
||||
|
@ -81,11 +81,11 @@ hostname = -broadcast.chat.bilibili.com, -*cdn*.biliapi.net, -*tracker*.biliapi.
|
|||
# ~ BiliBili_哔哩哔哩_屏蔽DefaultWord@ddgksf2013
|
||||
^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://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Bilibili/BiliBili.response.min.js
|
||||
# ~ BiliBili_哔哩哔哩_交互点赞投票弹幕@Maasea
|
||||
;^https?:\/\/(app\.bilibili\.com|grpc\.biliapi\.net)\/bilibili\.community\.service\.dm\.v1\.DM\/DmView url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Bilibili/BiliBili.helper.beta.min.js
|
||||
# ~ BiliBili_哔哩哔哩_青少年弹窗@Maasea
|
||||
;^https:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.interface\.v1\.Teenagers\/ModeStatus url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Bilibili/BiliBili.helper.beta.min.js
|
||||
^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.polymer\.app\.search\.v1\.Search\/SearchAll$ url script-response-body https://cdn.jsdelivr.net/gh/BiliUniverse/ADBlock@main/js/BiliBili.ADBlock.response.js
|
||||
# ~ BiliBili_哔哩哔哩_交互点赞投票弹幕@BiliUniverse
|
||||
^https?:\/\/(app\.bilibili\.com|grpc\.biliapi\.net)\/bilibili\.community\.service\.dm\.v1\.DM\/DmView url script-response-body https://cdn.jsdelivr.net/gh/BiliUniverse/ADBlock@beta/js/BiliBili.ADBlock.response.beta.js
|
||||
# ~ BiliBili_哔哩哔哩_青少年弹窗@BiliUniverse
|
||||
^https:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.interface\.v1\.Teenagers\/ModeStatus url script-response-body https://cdn.jsdelivr.net/gh/BiliUniverse/ADBlock@main/js/BiliBili.ADBlock.response.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.min.js
|
||||
# ~ BiliBili_哔哩哔哩_动态页面去广告@app2smile@kokoryh@ddgksf2013
|
||||
|
|
|
@ -1,28 +1,28 @@
|
|||
// ==UserScript==
|
||||
// @ScriptName 墨鱼去开屏V2.0
|
||||
// @ScriptName 墨鱼去开屏𝐕𝟐.𝟎
|
||||
// @Author @ddgksf2013, @blackmatrix7, @app2smile, @DivineEngine, @kyle, @Nick-workflow, @kkpp, @LE
|
||||
// @TgChannel 𝐡𝐭𝐭𝐩𝐬://𝐭.𝐦𝐞/𝐝𝐝𝐠𝐤𝐬𝐟𝟐𝟎𝟐𝟏
|
||||
// @TgBot https://t.me/ddgksf2013_bot
|
||||
// @WechatID 公众号墨鱼手记
|
||||
// @Feedback 💡 请通过邮件反馈问题『其它方式一概无视』:𝐝𝐝𝐠𝐤𝐬𝐟𝟐𝟎𝟏𝟑@𝟏𝟔𝟑.𝐜𝐨𝐦 💡
|
||||
// @UpdateTime 2023-07-12
|
||||
// @UpdateTime 2023-08-13
|
||||
// @Please 如需引用请注明出处,谢谢合作!
|
||||
// @Function 去除APP首页启动广告和部分应用内广告,如果有需要的去除广告的APP,可以公众号后台直接回复
|
||||
// @ExtraTxt Only provide the removal of open-screen advertisements for personally used apps
|
||||
// @Attention QuantumultX能去广告,不代表能去所有广告!(应用个数:214)
|
||||
// @Attention QuantumultX能去广告,不代表能去所有广告!(应用个数:218)
|
||||
// @Mark 名字后面的*代表该应用启动倒计时仍然存在
|
||||
// @APPList 无法通过𝐌𝐈𝐓𝐌去广告的应用:银行类[Most]|抖音|蜂巢|小米运动|万年历|豆瓣[信息流]|虎牙直播|货拉拉|番茄小说|携程旅行
|
||||
// @APPList 无法通过𝐌𝐈𝐓𝐌去广告的应用:银行类[Most]|抖音|蜂巢|小米运动|万年历|豆瓣[信息流]|虎牙直播|货拉拉|番茄小说|携程旅行[APP]
|
||||
// @Attention 如果广告仍然存在,请『卸载应用』重新安装,还是不行则表示『规则里没有或已失效』
|
||||
// @ScriptURL https://github.com/ddgksf2013/Rewrite/raw/master/AdBlock/StartUp.conf
|
||||
// ==/UserScript==
|
||||
|
||||
hostname = igetcool-gateway.igetcool.com, *.ahhhhfs.com, open-cms-api.quark.cn, ftapi.10jqka.com.cn, wxa.wxs.qq.com, evs.500.com, j1.pupuapi.com, dq.dxy.cn, m.you.163.com, open-cms-api.uc.cn, *.yuxueyuan.cn, pan-api.bitqiu.com, client.tujia.com, vip7.fzwdyy.cn, run.api.qyfxgd.cn, *cupid.iqiyi.com, gateway.36kr.com, shopapi.io.mi.com, tk.lanjiyin.com, gongdu.youshu.cc, api.21ec74.com, ztoread.ziroom.com, iphone.ac.qq.com, web.chelaile.net.cn, gd.10086.cn, api.00bang.cn, app.hbooker.com, api.sfacg.com, newclient.map.baidu.com, api3.cls.cn, gateway-api.dushu365.com, p0.pipi.cn, jdread-api.jd.com, ms.jr.jd.com, bdsp-x.jd.com, dsp-x.jd.com, api.m.jd.com, router-app-api.jdcloud.com, app.homeinns.com, cdn-evone-ceph.echargenet.com, mlol.qt.qq.com, gg.caixin.com, app-gw.csdn.net, api.gameplus.qq.com, mrobot.pconline.com.cn, djcapp.game.qq.com, mxsa.mxbc.net, cn-acs.m.cainiao.com, zjdr666.com, api.caiyunapp.com, api.ahmobile.cn, gx.10086.cn, emdcadvertise.eastmoney.com, acs.m.taobao.com, api-sams.walmartmobile.cn, creditcardapp.bankcomm.cn, m.creditcard.ecitic.com, lban.spdb.com.cn, adapi.izuiyou.com, i.ys7.com, apps.api.ke.com, api.yonghuivip.com, access.mypikpak.com, gateway.shouqiev.com, res.pizzahut.com.cn, api.caijingmobile.com, 3g.csair.com, client-api.oray.com, bgw.xinyue.qq.com, api-new.app.acfun.cn, m.client.10010.com, open.fitdays.cn, gha.ghac.cn, ap.dongqiudi.com, sh-gateway.shihuo.cn, wcprd.hilton.com, ad.12306.cn, 103.91.210.141, adx-cn.anythinktech.com, js-ad.ayximgs.com, api.dangdang.com, pzoap.moedot.com, pipi.4kya.com, vip7.fzwdyy.cn, sdk.alibaba.com.ailbaba.me, tft-app.cdtft.cn, bgw.xinyue.qq.com, pan.baidu.com, yunbusiness.ccb.com, client.app.coc.10086.cn, t1.market.xiaomi.com, api.m.mi.com, app.zhuanzhuan.com, api.cloud.189.cn, appwk.baidu.com, us.l.qq.com, open.e.kuaishou.com, mi.gdt.qq.com, emdcadvertise.eastmoney.com, adm.10jqka.com.cn, a.qiumibao.com, api.tipsoon.com, b.appsimg.com, ios.sspai.com, zconfig.alibabausercontent.com, api.touker.com, mpcs.suning.com, api.pinduoduo.com, api.yangkeduo.com, easyreadfs.nosdn.127.net, sp.kaola.com, gw.kaola.com, mime.baidu.com, learn.chaoxing.com, mapi.dangdang.com, api.dangdang.com, open.e.kuaishou.com, client.qunar.com, mpos-pic.helipay.com, dili.bdatu.com, wap.ngchina.cn, ih2.ireader.com, adpai.thepaper.cn, api.haohaozhu.cn, list-app-m.i4.cn, api.xiachufang.com, peisongapi.meituan.com, *gaoqingdianshi.com, *.kakamobi.cn, api.jxedt.com, slapi.oray.net, r.inews.qq.com, app.yinxiang.com, mapi.appvipshop.com, syh.zybang.com, cdn.cmgadx.com, api.internetofcity.cn, img.meituan.net, lcen.xiaote.net, venus.yhd.com, api.shenyin.name, mage*.if.qidian.com, god.gameyw.netease.com, m.ibuscloud.com, e.dangdang.com, app2.autoimg.cn, adproxy.autohome.com.cn, discardrp.umetrip.com, startup.umetrip.com, explorer.tratao.com, overseas.weico.cc, 118.178.214.118, dapis.mting.info, acs.m.taobao.com, open3.vistastory.com, ssp.dzh.com.cn, www.meituan.com, client.mail.163.com, api.izuiyou.com, appapi.huazhu.com, api.wfdata.club, interface*.music.163.com, api.psy-1.com, res.kfc.com.cn, mp.weixin.qq.com, security.wechat.com, weixin110.qq.com, cdn.*.chelaileapp.cn, api.coolapk.com, app3.qdaily.com, daoyu.sdo.com, img.jiemian.com, ccsp-egmas.sf-express.com, *.laichon.com, app.ap.d3yuiw4.com, www.i3zh.com, api.yikaobang.com.cn, api-ad-product.huxiu.com, jad-api.jin10.com, mob.mddcloud.com.cn, appactive.1234567.com.cn, rtbapi.douyucdn.cn, service.busi.inke.cn, gab.122.gov.cn, dispatcher.camera360.com, app.api.versa-ai.com, open.taou.com, api.taou.com, track.mm.taou.com, app.dewu.com, data-collector.soulapp.cn, api.gamer.com.tw, beta-api.crunchyroll.com, api.vistopia.com.cn, pss.txffp.com, m.sd.10086.cn, helper.2bulu.com, 47.100.65.202, api.weibo.cn, mapi.weibo.com, *.uve.weibo.com, new.vip.weibo.cn, wap.js.10086.cn, tagit.hyhuo.com, top-widgets-api.xiaozujian.com, *mangaapi.manhuaren.*, apis.lifeweek.com.cn, support.you.163.com, yanxuan.nosdn.127.net, *.peopleapp.com, new-app-api.ylyk.com, gw.aihuishou.com, *.58cdn.com.cn, app.58.com, api.zhihu.com, creditcardapp.bankcomm.com, res.xiaojukeji.com, 116.85.2.15, 116.85.2.14, lchttpapi.xczim.com, business.msstatic.com, api.kkmh.com, *.chelaile.net.cn, api.jr.mi.com, api.m.mi.com, guanyu.longfor.com, elemecdn.com, fuss10.elemecdn.com, www1.elecfans.com, m.tuniu.com, mapi.mafengwo.cn, api.xiaoyi.com, api.douban.com, otheve.beacon.qq.com, mapi.sfbest.com, api.mwee.cn, sso.ifanr.com, s3plus.meituan.net, flowplus.meituan.net, p*.meituan.net, testflight.apple.com, wmapi.meituan.com, appconf.mail.163.com, dl-cu-hz.lechange.cn, fbchina.flipchina.cn, zone.guiderank-app.com, homefront.qunar.com, afd.baidu.com, j-image.missfresh.cn, ma-adx.ctrip.com, mbd.baidu.com, img.rr.tv, api.rr.tv, *.hoopchina.com, goblin.hupu.com, spclient.wg.spotify.com
|
||||
hostname = mgw.mpaas.cn-hangzhou.aliyuncs.com, ytmsout.radio.cn, api.kmovie.gifshow.com, igetcool-gateway.igetcool.com, *.ahhhhfs.com, open-cms-api.quark.cn, ftapi.10jqka.com.cn, wxa.wxs.qq.com, evs.500.com, j1.pupuapi.com, dq.dxy.cn, m.you.163.com, open-cms-api.uc.cn, *.yuxueyuan.cn, pan-api.bitqiu.com, client.tujia.com, vip7.fzwdyy.cn, run.api.qyfxgd.cn, *cupid.iqiyi.com, gateway.36kr.com, shopapi.io.mi.com, tk.lanjiyin.com, gongdu.youshu.cc, api.21ec74.com, ztoread.ziroom.com, iphone.ac.qq.com, web.chelaile.net.cn, gd.10086.cn, api.00bang.cn, app.hbooker.com, api.sfacg.com, newclient.map.baidu.com, api3.cls.cn, gateway-api.dushu365.com, p0.pipi.cn, jdread-api.jd.com, ms.jr.jd.com, bdsp-x.jd.com, dsp-x.jd.com, api.m.jd.com, router-app-api.jdcloud.com, app.homeinns.com, cdn-evone-ceph.echargenet.com, mlol.qt.qq.com, gg.caixin.com, app-gw.csdn.net, api.gameplus.qq.com, mrobot.pconline.com.cn, djcapp.game.qq.com, mxsa.mxbc.net, cn-acs.m.cainiao.com, zjdr666.com, api.caiyunapp.com, api.ahmobile.cn, gx.10086.cn, emdcadvertise.eastmoney.com, api-sams.walmartmobile.cn, creditcardapp.bankcomm.cn, m.creditcard.ecitic.com, lban.spdb.com.cn, adapi.izuiyou.com, i.ys7.com, apps.api.ke.com, api.yonghuivip.com, access.mypikpak.com, gateway.shouqiev.com, res.pizzahut.com.cn, api.caijingmobile.com, 3g.csair.com, client-api.oray.com, bgw.xinyue.qq.com, api-new.app.acfun.cn, m.client.10010.com, open.fitdays.cn, gha.ghac.cn, ap.dongqiudi.com, sh-gateway.shihuo.cn, wcprd.hilton.com, ad.12306.cn, 103.91.210.141, adx-cn.anythinktech.com, js-ad.ayximgs.com, api.dangdang.com, pzoap.moedot.com, pipi.4kya.com, vip7.fzwdyy.cn, sdk.alibaba.com.ailbaba.me, tft-app.cdtft.cn, bgw.xinyue.qq.com, pan.baidu.com, yunbusiness.ccb.com, client.app.coc.10086.cn, t1.market.xiaomi.com, api.m.mi.com, app.zhuanzhuan.com, api.cloud.189.cn, appwk.baidu.com, us.l.qq.com, open.e.kuaishou.com, mi.gdt.qq.com, emdcadvertise.eastmoney.com, adm.10jqka.com.cn, a.qiumibao.com, api.tipsoon.com, b.appsimg.com, ios.sspai.com, zconfig.alibabausercontent.com, api.touker.com, mpcs.suning.com, api.pinduoduo.com, api.yangkeduo.com, easyreadfs.nosdn.127.net, sp.kaola.com, gw.kaola.com, mime.baidu.com, learn.chaoxing.com, mapi.dangdang.com, api.dangdang.com, open.e.kuaishou.com, client.qunar.com, mpos-pic.helipay.com, dili.bdatu.com, wap.ngchina.cn, ih2.ireader.com, adpai.thepaper.cn, api.haohaozhu.cn, list-app-m.i4.cn, api.xiachufang.com, peisongapi.meituan.com, *gaoqingdianshi.com, *.kakamobi.cn, api.jxedt.com, slapi.oray.net, r.inews.qq.com, app.yinxiang.com, mapi.appvipshop.com, syh.zybang.com, cdn.cmgadx.com, api.internetofcity.cn, img.meituan.net, lcen.xiaote.net, venus.yhd.com, api.shenyin.name, mage*.if.qidian.com, god.gameyw.netease.com, m.ibuscloud.com, e.dangdang.com, app2.autoimg.cn, adproxy.autohome.com.cn, discardrp.umetrip.com, startup.umetrip.com, explorer.tratao.com, overseas.weico.cc, 118.178.214.118, dapis.mting.info, acs.m.taobao.com, open3.vistastory.com, ssp.dzh.com.cn, www.meituan.com, client.mail.163.com, api.izuiyou.com, appapi.huazhu.com, api.wfdata.club, interface*.music.163.com, api.psy-1.com, res.kfc.com.cn, mp.weixin.qq.com, security.wechat.com, weixin110.qq.com, cdn.*.chelaileapp.cn, api.coolapk.com, app3.qdaily.com, daoyu.sdo.com, img.jiemian.com, ccsp-egmas.sf-express.com, *.laichon.com, app.ap.d3yuiw4.com, www.i3zh.com, api.yikaobang.com.cn, api-ad-product.huxiu.com, jad-api.jin10.com, mob.mddcloud.com.cn, appactive.1234567.com.cn, rtbapi.douyucdn.cn, service.busi.inke.cn, gab.122.gov.cn, dispatcher.camera360.com, app.api.versa-ai.com, open.taou.com, api.taou.com, track.mm.taou.com, app.dewu.com, data-collector.soulapp.cn, api.gamer.com.tw, beta-api.crunchyroll.com, api.vistopia.com.cn, pss.txffp.com, m.sd.10086.cn, helper.2bulu.com, 47.100.65.202, api.weibo.cn, mapi.weibo.com, *.uve.weibo.com, new.vip.weibo.cn, wap.js.10086.cn, tagit.hyhuo.com, top-widgets-api.xiaozujian.com, *mangaapi.manhuaren.*, apis.lifeweek.com.cn, support.you.163.com, yanxuan.nosdn.127.net, *.peopleapp.com, new-app-api.ylyk.com, gw.aihuishou.com, *.58cdn.com.cn, app.58.com, api.zhihu.com, creditcardapp.bankcomm.com, res.xiaojukeji.com, 116.85.2.15, 116.85.2.14, lchttpapi.xczim.com, business.msstatic.com, api.kkmh.com, *.chelaile.net.cn, api.jr.mi.com, api.m.mi.com, guanyu.longfor.com, elemecdn.com, fuss10.elemecdn.com, www1.elecfans.com, m.tuniu.com, mapi.mafengwo.cn, api.xiaoyi.com, api.douban.com, otheve.beacon.qq.com, mapi.sfbest.com, api.mwee.cn, sso.ifanr.com, s3plus.meituan.net, flowplus.meituan.net, p*.meituan.net, testflight.apple.com, wmapi.meituan.com, appconf.mail.163.com, dl-cu-hz.lechange.cn, fbchina.flipchina.cn, zone.guiderank-app.com, homefront.qunar.com, afd.baidu.com, j-image.missfresh.cn, ma-adx.ctrip.com, mbd.baidu.com, img.rr.tv, api.rr.tv, *.hoopchina.com, goblin.hupu.com, spclient.wg.spotify.com
|
||||
|
||||
|
||||
# ======= 0~9 ======= #
|
||||
|
||||
# > version
|
||||
^https?:\/\/2023.07.12\/v2.0.328 url reject-200
|
||||
^https?:\/\/2023.08.13/v2.0.338 url reject-200
|
||||
# > 10
|
||||
^https?:\/\/ftapi\.10jqka\.com\.cn\/futgwapi\/api\/om\/v\d\/ad\/common\/transfer url reject
|
||||
# > 58
|
||||
|
@ -154,6 +154,7 @@ https?:\/\/res\.xiaojukeji\.com\/resapi\/activity\/get(Ruled|Preload|PasMultiNot
|
|||
^https?:\/\/emdcadvertise\.eastmoney\.com\/infoService\/v2 url reject
|
||||
# > damai
|
||||
^https?:\/\/acs\.m\.taobao\.com\/gw\/mtop\.damai\.wireless\.home\.welcome url reject
|
||||
^https?:\/\/acs\.m\.taobao\.com\/gw\/mtop\.damai\.mec\.popup\.get url reject
|
||||
# > dami
|
||||
^https?:\/\/vip7\.fzwdyy\.cn:8083\/api\/(getAdvertInfo|getGOOGAdvert) url reject
|
||||
# > dingxiangyuan
|
||||
|
@ -276,6 +277,8 @@ https://fbchina.flipchina.cn/v2/ad/query/* url reject
|
|||
^https?:\/\/\w+\.kakamobi\.cn\/api\/open\/v\d\/advert-sdk\/ url reject
|
||||
# > jianhanglife
|
||||
^https?:\/\/yunbusiness\.ccb\.com\/clp_service\/txCtrl\?txcode=A3341A00(2|9) url reject
|
||||
# > jike
|
||||
^https?:\/\/mgw\.mpaas\.cn-hangzhou\.aliyuncs\.com\/mgw\.htm url reject
|
||||
|
||||
|
||||
# ======= K ======= #
|
||||
|
@ -285,7 +288,8 @@ https://fbchina.flipchina.cn/v2/ad/query/* url reject
|
|||
# > kuaikan
|
||||
^https?:\/\/api.kkmh.com\/v\d\/(ad|advertisement)\/ url reject
|
||||
# > ku'an
|
||||
^https?:\/\/api\.coolapk\.com\/v6\/(feed\/(replyList|detail)|main\/indexV8|dataList) url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Other/CoolApk.js
|
||||
^https?:\/\/api\.coolapk\.com\/v6\/(feed\/(replyList|detail)|main\/indexV8|dataList) url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Other/CoolApk.min.js
|
||||
^https?:\/\/api.coolapk.com\/v6\/main\/init url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Other/CoolApk.min.js
|
||||
^https?:\/\/api\.coolapk\.com\/v6\/search\?.*type=hotSearch url reject-dict
|
||||
# > kanlixiang
|
||||
^https?:\/\/api\.vistopia\.com\.cn\/api\/v\d\/home\/advertisement url reject
|
||||
|
@ -296,6 +300,8 @@ https://open3.vistastory.com/v3/api.*get_popup url reject
|
|||
^https?:\/\/open-cms-api\.(uc|quark)\.cn\/open-cms url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Other/Quark.min.js
|
||||
# > kuaishou
|
||||
^https:\/\/open\.e\.kuaishou\.com\/rest\/e\/v3\/open\/univ url reject
|
||||
# > kuaiying
|
||||
^https?:\/\/api\.kmovie\.gifshow\.com\/rest\/n\/kmovie\/app\/(resource|banner) url reject
|
||||
|
||||
|
||||
# ======= L ======= #
|
||||
|
@ -590,6 +596,10 @@ https://new-app-api.ylyk.com/v1/user/myinfo/adviser url reject
|
|||
^https?:\/\/i\.ys7\.com\/api\/ads\/ url reject
|
||||
# > yuxueyuan
|
||||
^https?:\/\/.*\.yuxueyuan\.cn\/yxy-api-gateway\/api\/json\/advert\/getsAdStartScreen url reject-200
|
||||
# > yitao
|
||||
^https?:\/\/acs\.m\.taobao\.com\/gw\/mtop\.etao\.noah\.query.*etao_splash url reject
|
||||
# > yunting
|
||||
^https?:\/\/ytmsout\.radio\.cn\/publish\/recScreen\/getLoadPage url reject
|
||||
|
||||
|
||||
# ======= Z ======= #
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
// @Contribute https://t.me/ddgksf2013_bot
|
||||
// @Feedback 📮 ddgksf2013@163.com 📮
|
||||
// @Attention 如需引用请注明出处,谢谢合作!
|
||||
// @UpdateTime 2023-07-08
|
||||
// @UpdateTime 2023-07-24
|
||||
// @Function 自用影视网站去广告配置(不定期更新)
|
||||
// @Suitable 自行观看"# > "注释内容
|
||||
// @Explain 推荐使用手机版Chrome或Alook浏览器(仅供墨鱼本人及小部分QX用户使用)
|
||||
|
@ -22,13 +22,13 @@ hostname=www.freeok.vip, *netflix*, *bdys*,*cupfox*,*cokemv*,*pornhub.com,*lezhu
|
|||
# > 14 奈飞鸭[网页优化]@ddgksf2013 - 网站地址:https://yanetflix.com [未测试]
|
||||
^https?:\/\/.*netflix.*\/($|[0-9a-zA-Z=_/-]+\.html$) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/netflix.js
|
||||
|
||||
# > 13 哔嘀影视[网页优化]@ddgksf2013 - 网站地址:https://www.bdys01.com
|
||||
# > 13 哔嘀影视[网页优化]@ddgksf2013 - 网站地址:https://www.bdys01.com
|
||||
^https?:\/\/.*bdys.*com\/($|([a-z]+)\/(play\/)?\d+.*$) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/bdys.js
|
||||
|
||||
# > 12 茶杯狐[网页优化]@ddgksf2013 - 网站地址:https://cupfox.app
|
||||
^https?:/\/.*cupfox\.app\/($|(search|list|s|_next).*$) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/cupbox.js
|
||||
^https?:/\/.*cupfox\.app\/($|[\u4E00-\u9FFFa-zA-Z0-9%=_/-]+$) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/cupbox.js
|
||||
|
||||
# > 11 Cokemv[网页优化]@ddgksf2013 - 网站地址:https://cokemv.me
|
||||
# > 11 Cokemv[网页优化]@ddgksf2013 - 网站地址:https://cokemv.me
|
||||
^https?:/\/cokemv\.me\/($|vod.*$) url script-response-body https://cdn.jsdelivr.net/gh/ddgksf2013/Scripts@master/cokemv.js
|
||||
|
||||
# > 10 PornHub[网页优化]@ddgksf2013 - 网站地址:https://cn.pornhub.com
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
// @TgChannel https://t.me/ddgksf2021
|
||||
// @Contribute https://t.me/ddgksf2013_bot
|
||||
// @Feedback 📮 ddgksf2013@163.com 📮
|
||||
// @UpdateTime 2023-07-03
|
||||
// @UpdateTime 2023-08-11
|
||||
// @Attention 微博、微博国际版净化,现已二合一,使用中若有问题请发邮件!
|
||||
// @Suitable 自行观看“# > ”注释内容
|
||||
// @Attention 如需引用请注明出处,谢谢合作!
|
||||
// @Version V2.0.86
|
||||
// @Version V2.0.88
|
||||
// @ScriptURL https://github.com/ddgksf2013/Rewrite/raw/master/AdBlock/Weibo.conf
|
||||
// ==/UserScript==
|
||||
|
||||
|
@ -20,6 +20,8 @@ hostname = api.weibo.*, *.api.weibo.*, mapi.weibo.*, *.uve.weibo.com, new.vip.we
|
|||
# > 微博_请手动添加以下分流至本地@ddgksf2013
|
||||
; host, sdkapp.uve.weibo.com, direct
|
||||
|
||||
# > 微博国际版_趋势页热门影片@ddgksf2013
|
||||
^https?:\/\/api\.weibo\.cn\/\d\/cardlist\?v_f=.*Weibo_intl url reject-dict
|
||||
# > 微博_用户推荐弹窗@ddgksf2013
|
||||
;^https?:\/\/api\.weibo\.cn\/\d\/profile\/recommend_popuser url reject-dict
|
||||
# > 微博_开屏广告预加载处理@ddgksf2013
|
||||
|
@ -64,7 +66,7 @@ hostname = api.weibo.*, *.api.weibo.*, mapi.weibo.*, *.uve.weibo.com, new.vip.we
|
|||
^https?:\/\/weibointl\.api\.weibo\.c(n|om)\/portal\.php.*user&a=get_searching_info url echo-response text/html echo-response https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Weibo/weibo_search_info.json
|
||||
# > 微博国际版_屏蔽search_topic@shiro
|
||||
^https?:\/\/weibointl\.api\.weibo\.c(n|om)\/portal\.php.*feed&a=search_topic url echo-response text/html echo-response https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Weibo/weibo_search_topic.json
|
||||
# > 微博国际版_屏蔽开屏广告@ddgksf2013
|
||||
# > 微博国际版_屏蔽开屏广告@ddgksf2013
|
||||
^https?:\/\/weibointl\.api\.weibo\.c(n|om)\/portal\.php.*get_coopen_ads url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Weibo/weibo.min.js
|
||||
# > 微博国际版_屏蔽sdkad@ddgksf2013
|
||||
^https?://(sdk|wb)app\.uve\.weibo\.com(/interface/sdk/sdkad.php|/wbapplua/wbpullad.lua) url script-response-body https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Scripts/AdBlock/Weibo/weibo.min.js
|
||||
|
|
|
@ -0,0 +1,136 @@
|
|||
# 基于 Quantumult X 官方标准 Sample V1.1.0
|
||||
#
|
||||
# 以 ';' 或 '#' 或 '//' 开头的配置文件行为注释行
|
||||
#
|
||||
# 最后更新时间: 2023年8月14日
|
||||
#
|
||||
# ================
|
||||
|
||||
# 基础部分
|
||||
[general]
|
||||
// > 配置文件图标
|
||||
profile_img_url = https://img.sveir.xyz/static/favicon%40trs.png
|
||||
// > 网络测试链接
|
||||
network_check_url = http://www.bing.com
|
||||
// > 服务器测试链接
|
||||
server_check_url = http://www.gstatic.com/generate_204
|
||||
// > 服务器测试超时时间 (毫秒)
|
||||
server_check_timeout = 3000
|
||||
// > 节点 GEO 位置信息检测
|
||||
// 如果不需识别节点地区为中文和显示国旗,请将下面行 geo_location_checker 进行注释ß
|
||||
geo_location_checker = http://ip-api.com/json/?lang=zh-CN,https://cdn.jsdelivr.net/gh/KOP-XIAO/QuantumultX@master/Scripts/IP_API.js
|
||||
// > 指定 WiFi SSID 下的运行模式
|
||||
// 如果需要指定 对应 SSID 的运行模式,请取消下列注释并自定配置
|
||||
;running_mode_trigger = filter, filter, asus-5g:all_direct, asus:all_proxy
|
||||
// > 资源解析器
|
||||
resource_parser_url = https://cdn.jsdelivr.net/gh/KOP-XIAO/QuantumultX@master/Scripts/resource-parser.js
|
||||
// > DNS 排除列表
|
||||
// 不使用 fakeip 映射,可一定程度防止检测到使用代理
|
||||
dns_exclusion_list = *.lan, cable.auth.com, *.msftconnecttest.com, *.msftncsi.com, network-test.debian.org, detectportal.firefox.com, resolver1.opendns.com, *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com, stun.*, *.qq.com, localhost.*.qq.com, *.logon.battlenet.com.cn, *.logon.battle.net, *.blzstatic.cn, *.cmpassport.com, id6.me, open.e.189.cn, mdn.open.wo.cn, auth.wosms.cn, *.jegotrip.com.cn, *.icitymobile.mobi, *.pingan.com.cn, *.cmbchina.com, *?miwifi.com, pool.ntp.org, *.pool.ntp.org, ntp.*.com, time.*.com, ntp?.*.com, time?.*.com, time.*.gov, time.*.edu.cn, *.ntp.org.cn, time.*.apple.com, PDC._msDCS.*.*, DC._msDCS.*.*, GC._msDCS.*.*
|
||||
// > 排除路由
|
||||
// 以下 ip-cidr 中的路由将不经由 QuantumultX 进行处理
|
||||
excluded_routes = 192.168.0.0/16, 172.16.0.0/12, 100.64.0.0/10, 10.0.0.0/8, 239.255.255.250/32
|
||||
|
||||
# 域名解析部分
|
||||
[dns]
|
||||
// 如果您需要禁用系统 DNS(no-system), 请取消下行注释
|
||||
;no-system
|
||||
// 如果您需要禁用 IPv6, 请取消下行注释
|
||||
;no-ipv6
|
||||
// 如需使用 DNS over HTTP/3,请取消下行注释
|
||||
;prefer-doh3
|
||||
|
||||
// 指定 DNS 服务器,并发响应选取最优结果
|
||||
server = 119.29.29.29
|
||||
server = 182.254.116.116
|
||||
server = 223.5.5.5
|
||||
server = 223.6.6.6
|
||||
server = 119.28.28.28
|
||||
|
||||
# ⚠️ 注意 不建议在此对 微信以及QQ等即时通讯工具进行 指定域名分配DNS
|
||||
# 此操作将可能导致微信消息延迟推送
|
||||
|
||||
// 如果需要指定 DNS over HTTP 服务,则上列指定的 DNS 服务器 *均将失效* ,在特定网络下禁用该 doh
|
||||
;doh-server = https://doh.pub/dns-query, https://223.5.5.5/dns-query, https://223.6.6.6/dns-query
|
||||
|
||||
# 分流策略组
|
||||
[policy]
|
||||
static = OutSide, Hong Kong, Singapore, Taiwan, United States, Japan, Korea, Other, direct, img-url=https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Airport.png
|
||||
static = Final, OutSide, direct, img-url=https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Final.png
|
||||
// 分流
|
||||
static = DomesticMedia, direct, OutSide, img-url= https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Domestic.png
|
||||
static = Domestic, direct, OutSide, img-url= https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Back.png
|
||||
static = Apple, direct, OutSide, img-url= https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Apple.png
|
||||
static = Apple Domestic, direct, OutSide, img-url= https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Apple_Update.png
|
||||
static = Google, OutSide, img-url=https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Google.png
|
||||
static = Google Domestic, direct, OutSide, img-url= https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Google_Search.png
|
||||
static = Hijacking, reject, direct, img-url=https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Hijacking.png
|
||||
static = Advertising, reject, img-url= https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Advertising.png
|
||||
static = Unbreak, direct, OutSide, img-url= https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Auto.png
|
||||
// 按地区分类
|
||||
static = Hong Kong, resource-tag-regex=🧁 我的订阅, server-tag-regex=香港|Hong Kong|HK|hk, img-url=https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Hong_Kong.png
|
||||
static = Singapore, resource-tag-regex=🧁 我的订阅, server-tag-regex=新加坡|Singapore|SG|sg, img-url=https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Singapore.png
|
||||
static = Taiwan, resource-tag-regex=🧁 我的订阅, server-tag-regex=台湾|Taiwan|TW|tw|台北, img-url=https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Taiwan.png
|
||||
static = United States, resource-tag-regex=🧁 我的订阅, server-tag-regex=美国|United States|US|us, img-url=https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/United_States.png
|
||||
static = Japan, resource-tag-regex=🧁 我的订阅, server-tag-regex=日本|Japan|JP|jp, img-url=https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Japan.png
|
||||
static = Korea, resource-tag-regex=🧁 我的订阅, server-tag-regex=韩国|Korea|KR|kr, img-url=https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Korea.png
|
||||
static = Other, resource-tag-regex=🧁 我的订阅, server-tag-regex=印度|巴西|阿根廷|英国|澳门|土耳其|挪威|瑞士|俄罗斯|瑞典|爱尔兰|法国|菲律宾|越南|泰国|印度尼西亚|德国|英国|荷兰|乌克兰, img-url=https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/AIA.png
|
||||
|
||||
|
||||
[server_local]
|
||||
|
||||
[server_remote]
|
||||
https://example.com/subscribe.snippet,tag=🧁 我的订阅,enabled=true, img-url= https://cdn.jsdelivr.net/gh/Koolson/Qure@master/IconSet/Color/Heart.png
|
||||
|
||||
|
||||
[filter_local]
|
||||
#本地分流规则(对于完全相同的某条规则,本地的将优先生效)
|
||||
ip-cidr, 10.0.0.0/8, direct
|
||||
ip-cidr, 127.0.0.0/8, direct
|
||||
ip-cidr, 172.16.0.0/12, direct
|
||||
ip-cidr, 192.168.0.0/16, direct
|
||||
ip-cidr, 224.0.0.0/24, direct
|
||||
# 已采用 ip 池数据,因此注释掉 geoip cn
|
||||
;geoip, cn, direct
|
||||
final, Final
|
||||
|
||||
[filter_remote]
|
||||
https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rules/Services/Unbreak.list, tag=Unbreak, force-policy=direct, enabled=true
|
||||
https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rules/Advertising/Hijacking.list, tag=Hijacking, enabled=true
|
||||
https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rules/Advertising/AdReject.list, tag=Advertising, enabled=true
|
||||
https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rules/Services/Google.list, tag=Google, enabled=true
|
||||
https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rules/Services/Microsoft.list, tag=Microsoft, enabled=true
|
||||
https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rules/Media/DomesticMedia.list, tag=DomesticMedia, force-policy=direct, enabled=true
|
||||
https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rules/Media/ForeignMedia.list, tag=ForeignMedia, force-policy=OutSide, enabled=true
|
||||
https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rules/Region/Global.list, tag=Global, force-policy=OutSide, enabled=true
|
||||
https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rules/Services/Apple.list, tag=Apple, force-policy=direct, enabled=true
|
||||
https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rules/Region/China.list, tag=Domestic, force-policy=direct, enabled=true
|
||||
|
||||
[rewrite_local]
|
||||
|
||||
[rewrite_remote]
|
||||
# 网页去广告
|
||||
https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rewrite/AdBlock/WebAdBlock.conf, tag=常用网页去广告
|
||||
|
||||
# 知乎去广告
|
||||
https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rewrite/AdBlock/Zhihu.conf, tag=知乎去广告
|
||||
|
||||
# 微博去广告
|
||||
https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rewrite/AdBlock/Weibo.conf, tag=微博去广告
|
||||
|
||||
# Youtube 去广告
|
||||
https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rewrite/AdBlock/Youtube.conf, tag=Youtube 去广告
|
||||
|
||||
# TestFlight复写
|
||||
https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rewrite/Services/Apple/TestFlight/TestFlightDownload.conf,tag=TestFlight
|
||||
|
||||
# Rewrite 复写远程订阅
|
||||
https://cdn.jsdelivr.net/gh/sve1r/Rules-For-Quantumult-X@develop/Rewrite/Rewrite.conf, tag=Rewrite
|
||||
|
||||
[task_local]
|
||||
# 流媒体查询脚本
|
||||
event-interaction https://cdn.jsdelivr.net/gh/KOP-XIAO/QuantumultX@master/Scripts/streaming-ui-check.js, tag = 流媒体 - 解锁查询,img-url=checkmark.seal.system, enabled=true
|
||||
|
||||
[http_backend]
|
||||
|
||||
[mitm]
|
File diff suppressed because it is too large
Load Diff
|
@ -1,54 +1,18 @@
|
|||
/***********************************
|
||||
> 应用名称:酷安净化
|
||||
> 脚本作者:ddgksf2013
|
||||
> 微信账号:墨鱼手记
|
||||
> 更新时间:2023-01-21
|
||||
> 通知频道:https://t.me/ddgksf2021
|
||||
> 贡献投稿:https://t.me/ddgksf2013_bot
|
||||
> 问题反馈:ddgksf2013@163.com
|
||||
> 特别提醒:如需转载请注明出处,谢谢合作!
|
||||
> 特别说明:⚠️⚠️⚠️
|
||||
本脚本仅供学习交流使用,禁止转载、售卖
|
||||
⚠️⚠️⚠️
|
||||
|
||||
***********************************/
|
||||
|
||||
const version = "V1.0.9";
|
||||
const version = 'V1.0.10';
|
||||
|
||||
if (-1 != $request.url.indexOf("replyList")) {
|
||||
var t = JSON.parse($response.body);
|
||||
t.data.length && (t.data = t.data.filter((t) => t.id)),
|
||||
$done({ body: JSON.stringify(t) });
|
||||
var t = JSON.parse($response.body);
|
||||
t.data.length && (t.data = t.data.filter(t => t.id)), $done({body: JSON.stringify(t)})
|
||||
} else if (-1 != $request.url.indexOf("main/init")) {
|
||||
var t = JSON.parse($response.body);
|
||||
t.data.length && (t.data = t.data.filter(t => !(945 == t.entityId || 6390 == t.entityId))), $done({body: JSON.stringify(t)})
|
||||
} else if (-1 != $request.url.indexOf("indexV8")) {
|
||||
var t = JSON.parse($response.body);
|
||||
(t.data = t.data.filter(
|
||||
(t) =>
|
||||
!(
|
||||
"sponsorCard" == t.entityTemplate ||
|
||||
8639 == t.entityId ||
|
||||
29349 == t.entityId ||
|
||||
33006 == t.entityId ||
|
||||
32557 == t.entityId ||
|
||||
-1 != t.title.indexOf("值得买") ||
|
||||
-1 != t.title.indexOf("红包")
|
||||
)
|
||||
)),
|
||||
$done({ body: JSON.stringify(t) });
|
||||
var t = JSON.parse($response.body);
|
||||
t.data = t.data.filter(t => !("sponsorCard" == t.entityTemplate || 8639 == t.entityId || 29349 == t.entityId || 33006 == t.entityId || 32557 == t.entityId || -1 != t.title.indexOf("值得买") || -1 != t.title.indexOf("红包"))), $done({body: JSON.stringify(t)})
|
||||
} else if (-1 != $request.url.indexOf("dataList")) {
|
||||
var t = JSON.parse($response.body);
|
||||
(t.data = t.data.filter(
|
||||
(t) =>
|
||||
!("sponsorCard" == t.entityTemplate || -1 != t.title.indexOf("精选配件"))
|
||||
)),
|
||||
$done({ body: JSON.stringify(t) });
|
||||
var t = JSON.parse($response.body);
|
||||
t.data = t.data.filter(t => !("sponsorCard" == t.entityTemplate || -1 != t.title.indexOf("精选配件"))), $done({body: JSON.stringify(t)})
|
||||
} else if (-1 != $request.url.indexOf("detail")) {
|
||||
var t = JSON.parse($response.body);
|
||||
t.data?.hotReplyRows?.length &&
|
||||
(t.data.hotReplyRows = t.data.hotReplyRows.filter((t) => t.id)),
|
||||
t.data?.topReplyRows?.length &&
|
||||
(t.data.topReplyRows = t.data.topReplyRows.filter((t) => t.id)),
|
||||
t.data?.include_goods_ids && (t.data.include_goods_ids = []),
|
||||
t.data?.include_goods && (t.data.include_goods = []),
|
||||
t.data?.detailSponsorCard && (t.data.detailSponsorCard = []),
|
||||
$done({ body: JSON.stringify(t) });
|
||||
} else $done($response);
|
||||
var t = JSON.parse($response.body);
|
||||
t.data?.hotReplyRows?.length && (t.data.hotReplyRows = t.data.hotReplyRows.filter(t => t.id)), t.data?.topReplyRows?.length && (t.data.topReplyRows = t.data.topReplyRows.filter(t => t.id)), t.data?.include_goods_ids && (t.data.include_goods_ids = []), t.data?.include_goods && (t.data.include_goods = []), t.data?.detailSponsorCard && (t.data.detailSponsorCard = []), $done({body: JSON.stringify(t)})
|
||||
} else $done($response);
|
|
@ -0,0 +1,3 @@
|
|||
const version = 'V1.0.10';
|
||||
|
||||
if(-1!=$request.url.indexOf("replyList")){var t=JSON.parse($response.body);t.data.length&&(t.data=t.data.filter(t=>t.id)),$done({body:JSON.stringify(t)})}else if(-1!=$request.url.indexOf("main/init")){var t=JSON.parse($response.body);t.data.length&&(t.data=t.data.filter(t=>!(945==t.entityId||6390==t.entityId))),$done({body:JSON.stringify(t)})}else if(-1!=$request.url.indexOf("indexV8")){var t=JSON.parse($response.body);t.data=t.data.filter(t=>!("sponsorCard"==t.entityTemplate||8639==t.entityId||29349==t.entityId||33006==t.entityId||32557==t.entityId||-1!=t.title.indexOf("值得买")||-1!=t.title.indexOf("红包"))),$done({body:JSON.stringify(t)})}else if(-1!=$request.url.indexOf("dataList")){var t=JSON.parse($response.body);t.data=t.data.filter(t=>!("sponsorCard"==t.entityTemplate||-1!=t.title.indexOf("精选配件"))),$done({body:JSON.stringify(t)})}else if(-1!=$request.url.indexOf("detail")){var t=JSON.parse($response.body);t.data?.hotReplyRows?.length&&(t.data.hotReplyRows=t.data.hotReplyRows.filter(t=>t.id)),t.data?.topReplyRows?.length&&(t.data.topReplyRows=t.data.topReplyRows.filter(t=>t.id)),t.data?.include_goods_ids&&(t.data.include_goods_ids=[]),t.data?.include_goods&&(t.data.include_goods=[]),t.data?.detailSponsorCard&&(t.data.detailSponsorCard=[]),$done({body:JSON.stringify(t)})}else $done($response);
|
File diff suppressed because it is too large
Load Diff
|
@ -1,610 +1,412 @@
|
|||
const version = 'V2.0.115';
|
||||
const version = 'V2.0.116';
|
||||
|
||||
|
||||
const mainConfig = {
|
||||
isDebug: !1,
|
||||
author: 'ddgksf2013',
|
||||
removeHomeVip: !0,
|
||||
removeHomeCreatorTask: !0,
|
||||
removeRelate: !0,
|
||||
removeGood: !0,
|
||||
removeFollow: !0,
|
||||
modifyMenus: !0,
|
||||
removeRelateItem: !1,
|
||||
removeRecommendItem: !0,
|
||||
removeRewardItem: !0,
|
||||
removeLiveMedia: !0,
|
||||
removeNextVideo: !1,
|
||||
removePinedTrending: !0,
|
||||
removeInterestFriendInTopic: !1,
|
||||
removeInterestTopic: !1,
|
||||
removeInterestUser: !0,
|
||||
removeLvZhou: !0,
|
||||
removeSearchWindow: !0,
|
||||
profileSkin1: null,
|
||||
profileSkin2: null,
|
||||
tabIconVersion: 0,
|
||||
tabIconPath: '',
|
||||
},
|
||||
itemMenusConfig = {
|
||||
creator_task: !1,
|
||||
mblog_menus_custom: !1,
|
||||
mblog_menus_video_later: !0,
|
||||
mblog_menus_comment_manager: !0,
|
||||
mblog_menus_avatar_widget: !1,
|
||||
mblog_menus_card_bg: !1,
|
||||
mblog_menus_long_picture: !0,
|
||||
mblog_menus_delete: !0,
|
||||
mblog_menus_edit: !0,
|
||||
mblog_menus_edit_history: !0,
|
||||
mblog_menus_edit_video: !0,
|
||||
mblog_menus_sticking: !0,
|
||||
mblog_menus_open_reward: !0,
|
||||
mblog_menus_novelty: !1,
|
||||
mblog_menus_favorite: !0,
|
||||
mblog_menus_promote: !0,
|
||||
mblog_menus_modify_visible: !0,
|
||||
mblog_menus_copy_url: !0,
|
||||
mblog_menus_follow: !0,
|
||||
mblog_menus_video_feedback: !0,
|
||||
mblog_menus_shield: !0,
|
||||
mblog_menus_report: !0,
|
||||
mblog_menus_apeal: !0,
|
||||
mblog_menus_home: !0,
|
||||
},
|
||||
modifyCardsUrls = ['/cardlist', 'video/community_tab', '/searchall'],
|
||||
modifyStatusesUrls = [
|
||||
'statuses/friends/timeline',
|
||||
'statuses_unread_hot_timeline',
|
||||
'statuses/unread_friends_timeline',
|
||||
'statuses/unread_hot_timeline',
|
||||
'groups/timeline',
|
||||
'statuses/friends_timeline',
|
||||
],
|
||||
otherUrls = {
|
||||
'/profile/me': 'removeHome',
|
||||
'/statuses/extend': 'itemExtendHandler',
|
||||
'/video/remind_info': 'removeVideoRemind',
|
||||
'/checkin/show': 'removeCheckin',
|
||||
'/live/media_homelist': 'removeMediaHomelist',
|
||||
'/comments/build_comments': 'removeComments',
|
||||
'/container/get_item': 'containerHandler',
|
||||
'/profile/container_timeline': 'userHandler',
|
||||
'/video/tiny_stream_video_list': 'nextVideoHandler',
|
||||
'/2/statuses/video_mixtimeline': 'nextVideoHandler',
|
||||
'video/tiny_stream_mid_detail': 'nextVideoHandler',
|
||||
'/!/client/light_skin': 'tabSkinHandler',
|
||||
'/littleskin/preview': 'skinPreviewHandler',
|
||||
'/search/finder': 'removeSearchMain',
|
||||
'/search/container_timeline': 'removeSearch',
|
||||
'/search/container_discover': 'removeSearch',
|
||||
'/2/messageflow': 'removeMsgAd',
|
||||
'/2/page?': 'removePage',
|
||||
'/statuses/unread_topic_timeline': 'topicHandler',
|
||||
'/square&pageDataType/': 'squareHandler',
|
||||
'/statuses/container_timeline_topic': 'removeMain',
|
||||
'/statuses/container_timeline': 'removeMainTab',
|
||||
'wbapplua/wbpullad.lua': 'removeLuaScreenAds',
|
||||
'interface/sdk/sdkad.php': 'removePhpScreenAds',
|
||||
'ct=feed&a=trends': 'removeTopics',
|
||||
user_center: 'modifiedUserCenter',
|
||||
'a=get_coopen_ads': 'removeIntlOpenAds',
|
||||
'php?a=search_topic': 'removeSearchTopic',
|
||||
'v1/ad/realtime': 'removeRealtimeAd',
|
||||
'v1/ad/preload': 'removeAdPreload',
|
||||
};
|
||||
isDebug: !1,
|
||||
author: "ddgksf2013",
|
||||
removeHomeVip: !0,
|
||||
removeHomeCreatorTask: !0,
|
||||
removeRelate: !0,
|
||||
removeGood: !0,
|
||||
removeFollow: !0,
|
||||
modifyMenus: !0,
|
||||
removeRelateItem: !1,
|
||||
removeRecommendItem: !0,
|
||||
removeRewardItem: !0,
|
||||
removeLiveMedia: !0,
|
||||
removeNextVideo: !1,
|
||||
removePinedTrending: !0,
|
||||
removeInterestFriendInTopic: !1,
|
||||
removeInterestTopic: !1,
|
||||
removeInterestUser: !0,
|
||||
removeLvZhou: !0,
|
||||
removeSearchWindow: !0,
|
||||
profileSkin1: null,
|
||||
profileSkin2: null,
|
||||
tabIconVersion: 0,
|
||||
tabIconPath: ""
|
||||
}, itemMenusConfig = {
|
||||
creator_task: !1,
|
||||
mblog_menus_custom: !1,
|
||||
mblog_menus_video_later: !0,
|
||||
mblog_menus_comment_manager: !0,
|
||||
mblog_menus_avatar_widget: !1,
|
||||
mblog_menus_card_bg: !1,
|
||||
mblog_menus_long_picture: !0,
|
||||
mblog_menus_delete: !0,
|
||||
mblog_menus_edit: !0,
|
||||
mblog_menus_edit_history: !0,
|
||||
mblog_menus_edit_video: !0,
|
||||
mblog_menus_sticking: !0,
|
||||
mblog_menus_open_reward: !0,
|
||||
mblog_menus_novelty: !1,
|
||||
mblog_menus_favorite: !0,
|
||||
mblog_menus_promote: !0,
|
||||
mblog_menus_modify_visible: !0,
|
||||
mblog_menus_copy_url: !0,
|
||||
mblog_menus_follow: !0,
|
||||
mblog_menus_video_feedback: !0,
|
||||
mblog_menus_shield: !0,
|
||||
mblog_menus_report: !0,
|
||||
mblog_menus_apeal: !0,
|
||||
mblog_menus_home: !0
|
||||
}, modifyCardsUrls = ["/cardlist", "video/community_tab", "/searchall"],
|
||||
modifyStatusesUrls = ["statuses/friends/timeline", "statuses_unread_hot_timeline", "statuses/unread_friends_timeline", "statuses/unread_hot_timeline", "groups/timeline", "statuses/friends_timeline"],
|
||||
otherUrls = {
|
||||
"/profile/me": "removeHome",
|
||||
"/statuses/extend": "itemExtendHandler",
|
||||
"/video/remind_info": "removeVideoRemind",
|
||||
"/checkin/show": "removeCheckin",
|
||||
"/live/media_homelist": "removeMediaHomelist",
|
||||
"/comments/build_comments": "removeComments",
|
||||
"/container/get_item": "containerHandler",
|
||||
"/profile/container_timeline": "userHandler",
|
||||
"/video/tiny_stream_video_list": "nextVideoHandler",
|
||||
"/2/statuses/video_mixtimeline": "nextVideoHandler",
|
||||
"video/tiny_stream_mid_detail": "nextVideoHandler",
|
||||
"/!/client/light_skin": "tabSkinHandler",
|
||||
"/littleskin/preview": "skinPreviewHandler",
|
||||
"/search/finder": "removeSearchMain",
|
||||
"/search/container_timeline": "removeSearch",
|
||||
"/search/container_discover": "removeSearch",
|
||||
"/2/messageflow": "removeMsgAd",
|
||||
"/2/page?": "removePage",
|
||||
"/statuses/unread_topic_timeline": "topicHandler",
|
||||
"/square&pageDataType/": "squareHandler",
|
||||
"/statuses/container_timeline_topic": "removeMain",
|
||||
"/statuses/container_timeline": "removeMainTab",
|
||||
"wbapplua/wbpullad.lua": "removeLuaScreenAds",
|
||||
"interface/sdk/sdkad.php": "removePhpScreenAds",
|
||||
"ct=feed&a=trends": "removeTopics",
|
||||
user_center: "modifiedUserCenter",
|
||||
"a=get_coopen_ads": "removeIntlOpenAds",
|
||||
"php?a=search_topic": "removeSearchTopic",
|
||||
"v1/ad/realtime": "removeRealtimeAd",
|
||||
"v1/ad/preload": "removeAdPreload"
|
||||
};
|
||||
|
||||
function getModifyMethod(e) {
|
||||
for (let t of modifyCardsUrls) if (e.indexOf(t) > -1) return 'removeCards';
|
||||
for (let o of modifyStatusesUrls)
|
||||
if (e.indexOf(o) > -1) return 'removeTimeLine';
|
||||
for (let [i, a] of Object.entries(otherUrls)) if (e.indexOf(i) > -1) return a;
|
||||
return null;
|
||||
for (let t of modifyCardsUrls) if (e.indexOf(t) > -1) return "removeCards";
|
||||
for (let o of modifyStatusesUrls) if (e.indexOf(o) > -1) return "removeTimeLine";
|
||||
for (let [i, a] of Object.entries(otherUrls)) if (e.indexOf(i) > -1) return a;
|
||||
return null
|
||||
}
|
||||
|
||||
function removeRealtimeAd(e) {
|
||||
return delete e.ads, (e.code = 4016), e;
|
||||
return delete e.ads, e.code = 4016, e
|
||||
}
|
||||
|
||||
function removeAdPreload(e) {
|
||||
if (!e.ads) return e;
|
||||
for (let t of ((e.last_ad_show_interval = 86400), e.ads))
|
||||
(t.start_time = 2681574400),
|
||||
(t.end_time = 2681660799),
|
||||
(t.display_duration = 0),
|
||||
(t.daily_display_cnt = 0),
|
||||
(t.total_display_cnt = 0);
|
||||
return e;
|
||||
if (!e.ads) return e;
|
||||
for (let t of (e.last_ad_show_interval = 86400, e.ads)) t.start_time = 2681574400, t.end_time = 2681660799, t.display_duration = 0, t.daily_display_cnt = 0, t.total_display_cnt = 0;
|
||||
return e
|
||||
}
|
||||
|
||||
function removeIntlOpenAds(e) {
|
||||
return (
|
||||
e.data &&
|
||||
0 !== e.data.length &&
|
||||
((e.data.ad_list = []),
|
||||
(e.data.gdt_video_ad_ios = []),
|
||||
(e.data.display_ad = 0),
|
||||
(e.data.ad_ios_id = null),
|
||||
(e.data.app_ad_ios_id = null),
|
||||
(e.data.reserve_ad_ios_id = ''),
|
||||
(e.data.reserve_app_ad_ios_id = ''),
|
||||
(e.data.ad_duration = 604800),
|
||||
(e.data.ad_cd_interval = 604800),
|
||||
(e.data.pic_ad = [])),
|
||||
e
|
||||
);
|
||||
return e.data && 0 !== e.data.length && (e.data.ad_list = [], e.data.gdt_video_ad_ios = [], e.data.display_ad = 0, e.data.ad_ios_id = null, e.data.app_ad_ios_id = null, e.data.reserve_ad_ios_id = "", e.data.reserve_app_ad_ios_id = "", e.data.ad_duration = 604800, e.data.ad_cd_interval = 604800, e.data.pic_ad = []), e
|
||||
}
|
||||
|
||||
function removeSearchTopic(e) {
|
||||
return (
|
||||
e.data &&
|
||||
0 !== e.data.length &&
|
||||
(e.data = Object.values(e.data).filter((e) => 'searchtop' != e.type)),
|
||||
e
|
||||
);
|
||||
return e.data && 0 !== e.data.length && (e.data = Object.values(e.data).filter(e => "searchtop" != e.type)), e
|
||||
}
|
||||
|
||||
function modifiedUserCenter(e) {
|
||||
return (
|
||||
e.data &&
|
||||
0 !== e.data.length &&
|
||||
e.data.cards &&
|
||||
(e.data.cards = Object.values(e.data.cards).filter(
|
||||
(e) => 'personal_vip' != e.items[0].type
|
||||
)),
|
||||
e
|
||||
);
|
||||
return e.data && 0 !== e.data.length && e.data.cards && (e.data.cards = Object.values(e.data.cards).filter(e => "personal_vip" != e.items[0].type)), e
|
||||
}
|
||||
|
||||
function removeTopics(e) {
|
||||
return e.data && (e.data.order = ['search_topic', 'native_content']), e;
|
||||
return e.data && (e.data.order = ["search_topic"]), e
|
||||
}
|
||||
|
||||
function isAd(e) {
|
||||
return (
|
||||
!!e &&
|
||||
('广告' == e.mblogtypename ||
|
||||
'热推' == e.mblogtypename ||
|
||||
e.promotion?.type == 'ad' ||
|
||||
e.page_info?.actionlog?.source == 'ad' ||
|
||||
e.content_auth_info?.content_auth_title == '广告')
|
||||
);
|
||||
return !!e && ("广告" == e.mblogtypename || "热推" == e.mblogtypename || e.promotion?.type == "ad" || e.page_info?.actionlog?.source == "ad" || e.content_auth_info?.content_auth_title == "广告")
|
||||
}
|
||||
|
||||
function squareHandler(e) {
|
||||
return e.items, e;
|
||||
return e.items, e
|
||||
}
|
||||
|
||||
function removeMainTab(e) {
|
||||
if (
|
||||
(e.loadedInfo && e.loadedInfo.headers && delete e.loadedInfo.headers,
|
||||
!e.items)
|
||||
)
|
||||
return e;
|
||||
let t = [];
|
||||
for (let o of e.items)
|
||||
isAd(o.data) ||
|
||||
(o.data?.page_info?.video_limit && delete o.data.page_info.video_limit,
|
||||
o.data?.common_struct && delete o.data.common_struct,
|
||||
o.category
|
||||
? 'group' != o.category
|
||||
? t.push(o)
|
||||
: -1 != JSON.stringify(o.items).indexOf('profile_top') && t.push(o)
|
||||
: t.push(o));
|
||||
return (e.items = t), log('removeMainTab success'), e;
|
||||
if (e.loadedInfo && e.loadedInfo.headers && delete e.loadedInfo.headers, !e.items) return e;
|
||||
let t = [];
|
||||
for (let o of e.items) isAd(o.data) || (o.data?.page_info?.video_limit && delete o.data.page_info.video_limit, o.data?.common_struct && delete o.data.common_struct, o.category ? "group" != o.category ? t.push(o) : -1 != JSON.stringify(o.items).indexOf("profile_top") && t.push(o) : t.push(o));
|
||||
return e.items = t, log("removeMainTab success"), e
|
||||
}
|
||||
|
||||
function removeMain(e) {
|
||||
if (
|
||||
(e.loadedInfo && e.loadedInfo.headers && delete e.loadedInfo.headers,
|
||||
!e.items)
|
||||
)
|
||||
return e;
|
||||
let t = [];
|
||||
for (let o of e.items)
|
||||
if ('feed' == o.category) isAd(o.data) || t.push(o);
|
||||
else if ('group' == o.category) {
|
||||
if (
|
||||
o.items.length > 0 &&
|
||||
o.items[0].data?.itemid?.includes('search_input')
|
||||
)
|
||||
(o.items = o.items.filter(
|
||||
(e) =>
|
||||
e?.data?.itemid?.includes('mine_topics') ||
|
||||
e?.data?.itemid?.includes('search_input') ||
|
||||
e?.data?.card_type == 202
|
||||
)),
|
||||
(o.items[0].data.hotwords = [{ word: '搜索超话', tip: '' }]),
|
||||
t.push(o);
|
||||
else {
|
||||
if (
|
||||
o.items.length > 0 &&
|
||||
o.items[0].data?.itemid?.includes('top_title')
|
||||
)
|
||||
continue;
|
||||
o.items.length > 0 &&
|
||||
(o.items = Object.values(o.items).filter(
|
||||
(e) => 'feed' == e.category || 'card' == e.category
|
||||
)),
|
||||
t.push(o);
|
||||
}
|
||||
} else {
|
||||
if (o.data?.card_type && [202, 200].indexOf(o.data.card_type) > -1)
|
||||
continue;
|
||||
t.push(o);
|
||||
}
|
||||
return (e.items = t), log('removeMain success'), e;
|
||||
}
|
||||
function topicHandler(e) {
|
||||
let t = e.cards;
|
||||
if (!t || (!mainConfig.removeUnfollowTopic && !mainConfig.removeUnusedPart))
|
||||
return e;
|
||||
let o = [];
|
||||
for (let i of t) {
|
||||
let a = !0;
|
||||
if (i.mblog) {
|
||||
let r = i.mblog.buttons;
|
||||
mainConfig.removeUnfollowTopic && r && 'follow' == r[0].type && (a = !1);
|
||||
} else {
|
||||
if (!mainConfig.removeUnusedPart) continue;
|
||||
if ('bottom_mix_activity' == i.itemid) a = !1;
|
||||
else if (i?.top?.title == '正在活跃') a = !1;
|
||||
else if (200 == i.card_type && i.group) a = !1;
|
||||
else {
|
||||
let n = i.card_group;
|
||||
if (!n) continue;
|
||||
if (
|
||||
[
|
||||
'guess_like_title',
|
||||
'cats_top_title',
|
||||
'chaohua_home_readpost_samecity_title',
|
||||
].indexOf(n[0].itemid) > -1
|
||||
)
|
||||
a = !1;
|
||||
else if (n.length > 1) {
|
||||
let d = [];
|
||||
for (let s of n)
|
||||
-1 ==
|
||||
['chaohua_discovery_banner_1', 'bottom_mix_activity'].indexOf(
|
||||
s.itemid
|
||||
) && d.push(s);
|
||||
i.card_group = d;
|
||||
if (e.loadedInfo && e.loadedInfo.headers && delete e.loadedInfo.headers, !e.items) return e;
|
||||
let t = [];
|
||||
for (let o of e.items) if ("feed" == o.category) isAd(o.data) || t.push(o); else if ("group" == o.category) {
|
||||
if (o.items.length > 0 && o.items[0].data?.itemid?.includes("search_input")) o.items = o.items.filter(e => e?.data?.itemid?.includes("mine_topics") || e?.data?.itemid?.includes("search_input") || e?.data?.card_type == 202), o.items[0].data.hotwords = [{
|
||||
word: "搜索超话",
|
||||
tip: ""
|
||||
}], t.push(o); else {
|
||||
if (o.items.length > 0 && o.items[0].data?.itemid?.includes("top_title")) continue;
|
||||
o.items.length > 0 && (o.items = Object.values(o.items).filter(e => "feed" == e.category || "card" == e.category)), t.push(o)
|
||||
}
|
||||
}
|
||||
}
|
||||
a && o.push(i);
|
||||
}
|
||||
return (e.cards = o), log('topicHandler success'), e;
|
||||
}
|
||||
function removeSearchMain(e) {
|
||||
let t = e.channelInfo.channels;
|
||||
if (!t) return e;
|
||||
let o = [];
|
||||
for (let i of t) i.payload && (removeSearch(i.payload), o.push(i));
|
||||
return (e.channelInfo.channels = o), log('remove_search main success'), e;
|
||||
}
|
||||
function checkSearchWindow(e) {
|
||||
return (
|
||||
!!mainConfig.removeSearchWindow &&
|
||||
'card' == e.category &&
|
||||
(e.data?.itemid == 'finder_window' ||
|
||||
e.data?.itemid == 'more_frame' ||
|
||||
e.data?.card_type == 208 ||
|
||||
e.data?.card_type == 217 ||
|
||||
e.data?.card_type == 101 ||
|
||||
e.data?.card_type == 19 ||
|
||||
e.data?.mblog?.page_info?.actionlog?.source?.includes('ad'))
|
||||
);
|
||||
}
|
||||
function removeSearch(e) {
|
||||
if (!e.items) return e;
|
||||
let t = [];
|
||||
for (let o of e.items)
|
||||
'feed' == o.category
|
||||
? isAd(o.data) ||
|
||||
(o.data?.page_info?.video_limit && delete o.data.page_info.video_limit,
|
||||
t.push(o))
|
||||
: 'group' == o.category
|
||||
? ((o.items = o.items.filter((e) => e.data?.card_type === 17)),
|
||||
o.items.length > 0 && t.push(o))
|
||||
: checkSearchWindow(o) || t.push(o);
|
||||
return (
|
||||
(e.items = t),
|
||||
e.loadedInfo &&
|
||||
((e.loadedInfo.searchBarContent = []),
|
||||
e.loadedInfo.headerBack &&
|
||||
(e.loadedInfo.headerBack.channelStyleMap = {})),
|
||||
log('remove_search success'),
|
||||
e
|
||||
);
|
||||
}
|
||||
function removeMsgAd(e) {
|
||||
if (!e.messages) return;
|
||||
let t = [];
|
||||
for (let o of e.messages) !o.msg_card?.ad_tag && t.push(o);
|
||||
return (e.messages = t), e;
|
||||
}
|
||||
function removePage(e) {
|
||||
return (
|
||||
removeCards(e),
|
||||
mainConfig.removePinedTrending &&
|
||||
e.cards &&
|
||||
e.cards.length > 0 &&
|
||||
e.cards[0].card_group &&
|
||||
(e.cards[0].card_group = e.cards[0].card_group.filter(
|
||||
(e) =>
|
||||
!(
|
||||
e?.actionlog?.ext?.includes('ads_word') ||
|
||||
e?.itemid?.includes('t:51') ||
|
||||
e?.itemid?.includes('ads_word')
|
||||
)
|
||||
)),
|
||||
e
|
||||
);
|
||||
}
|
||||
function removeCards(e) {
|
||||
if ((e.hotwords && (e.hotwords = []), !e.cards)) return;
|
||||
let t = [];
|
||||
for (let o of e.cards) {
|
||||
e.cardlistInfo?.containerid == '232082type=1' &&
|
||||
(17 == o.card_type || 58 == o.card_type || 11 == o.card_type) &&
|
||||
(o = { card_type: o.card_type + 1 });
|
||||
let i = o.card_group;
|
||||
if (i && i.length > 0) {
|
||||
let a = [];
|
||||
for (let r of i)
|
||||
118 == r.card_type ||
|
||||
isAd(r.mblog) ||
|
||||
-1 != JSON.stringify(r).indexOf('res_from:ads') ||
|
||||
a.push(r);
|
||||
(o.card_group = a), t.push(o);
|
||||
} else {
|
||||
let n = o.card_type;
|
||||
if ([9, 165].indexOf(n) > -1) isAd(o.mblog) || t.push(o);
|
||||
else {
|
||||
if ([1007, 180].indexOf(n) > -1) continue;
|
||||
t.push(o);
|
||||
}
|
||||
if (o.data?.card_type && [202, 200].indexOf(o.data.card_type) > -1) continue;
|
||||
t.push(o)
|
||||
}
|
||||
}
|
||||
e.cards = t;
|
||||
return e.items = t, log("removeMain success"), e
|
||||
}
|
||||
|
||||
function topicHandler(e) {
|
||||
let t = e.cards;
|
||||
if (!t || !mainConfig.removeUnfollowTopic && !mainConfig.removeUnusedPart) return e;
|
||||
let o = [];
|
||||
for (let i of t) {
|
||||
let a = !0;
|
||||
if (i.mblog) {
|
||||
let r = i.mblog.buttons;
|
||||
mainConfig.removeUnfollowTopic && r && "follow" == r[0].type && (a = !1)
|
||||
} else {
|
||||
if (!mainConfig.removeUnusedPart) continue;
|
||||
if ("bottom_mix_activity" == i.itemid) a = !1; else if (i?.top?.title == "正在活跃") a = !1; else if (200 == i.card_type && i.group) a = !1; else {
|
||||
let n = i.card_group;
|
||||
if (!n) continue;
|
||||
if (["guess_like_title", "cats_top_title", "chaohua_home_readpost_samecity_title"].indexOf(n[0].itemid) > -1) a = !1; else if (n.length > 1) {
|
||||
let d = [];
|
||||
for (let s of n) -1 == ["chaohua_discovery_banner_1", "bottom_mix_activity"].indexOf(s.itemid) && d.push(s);
|
||||
i.card_group = d
|
||||
}
|
||||
}
|
||||
}
|
||||
a && o.push(i)
|
||||
}
|
||||
return e.cards = o, log("topicHandler success"), e
|
||||
}
|
||||
|
||||
function removeSearchMain(e) {
|
||||
let t = e.channelInfo.channels;
|
||||
if (!t) return e;
|
||||
let o = [];
|
||||
for (let i of t) i.payload && (removeSearch(i.payload), o.push(i));
|
||||
return e.channelInfo.channels = o, log("remove_search main success"), e
|
||||
}
|
||||
|
||||
function checkSearchWindow(e) {
|
||||
return !!mainConfig.removeSearchWindow && "card" == e.category && (e.data?.itemid == "finder_window" || e.data?.itemid == "more_frame" || e.data?.card_type == 208 || e.data?.card_type == 217 || e.data?.card_type == 101 || e.data?.card_type == 19 || e.data?.mblog?.page_info?.actionlog?.source?.includes("ad"))
|
||||
}
|
||||
|
||||
function removeSearch(e) {
|
||||
if (!e.items) return e;
|
||||
let t = [];
|
||||
for (let o of e.items) "feed" == o.category ? isAd(o.data) || (o.data?.page_info?.video_limit && delete o.data.page_info.video_limit, t.push(o)) : "group" == o.category ? (o.items = o.items.filter(e => e.data?.card_type === 17), o.items.length > 0 && t.push(o)) : checkSearchWindow(o) || t.push(o);
|
||||
return e.items = t, e.loadedInfo && (e.loadedInfo.searchBarContent = [], e.loadedInfo.headerBack && (e.loadedInfo.headerBack.channelStyleMap = {})), log("remove_search success"), e
|
||||
}
|
||||
|
||||
function removeMsgAd(e) {
|
||||
if (!e.messages) return;
|
||||
let t = [];
|
||||
for (let o of e.messages) !o.msg_card?.ad_tag && t.push(o);
|
||||
return e.messages = t, e
|
||||
}
|
||||
|
||||
function removePage(e) {
|
||||
return removeCards(e), mainConfig.removePinedTrending && e.cards && e.cards.length > 0 && e.cards[0].card_group && (e.cards[0].card_group = e.cards[0].card_group.filter(e => !(e?.actionlog?.ext?.includes("ads_word") || e?.itemid?.includes("t:51") || e?.itemid?.includes("ads_word")))), e
|
||||
}
|
||||
|
||||
function removeCards(e) {
|
||||
if (e.hotwords && (e.hotwords = []), !e.cards) return;
|
||||
let t = [];
|
||||
for (let o of e.cards) {
|
||||
e.cardlistInfo?.containerid == "232082type=1" && (17 == o.card_type || 58 == o.card_type || 11 == o.card_type) && (o = {card_type: o.card_type + 1});
|
||||
let i = o.card_group;
|
||||
if (i && i.length > 0) {
|
||||
let a = [];
|
||||
for (let r of i) 118 == r.card_type || isAd(r.mblog) || -1 != JSON.stringify(r).indexOf("res_from:ads") || a.push(r);
|
||||
o.card_group = a, t.push(o)
|
||||
} else {
|
||||
let n = o.card_type;
|
||||
if ([9, 165].indexOf(n) > -1) isAd(o.mblog) || t.push(o); else {
|
||||
if ([1007, 180].indexOf(n) > -1) continue;
|
||||
t.push(o)
|
||||
}
|
||||
}
|
||||
}
|
||||
e.cards = t
|
||||
}
|
||||
|
||||
function lvZhouHandler(e) {
|
||||
if (!mainConfig.removeLvZhou || !e) return;
|
||||
let t = e.common_struct;
|
||||
if (!t) return;
|
||||
let o = [];
|
||||
for (let i of t) '绿洲' != i.name && o.push(i);
|
||||
e.common_struct = o;
|
||||
if (!mainConfig.removeLvZhou || !e) return;
|
||||
let t = e.common_struct;
|
||||
if (!t) return;
|
||||
let o = [];
|
||||
for (let i of t) "绿洲" != i.name && o.push(i);
|
||||
e.common_struct = o
|
||||
}
|
||||
|
||||
function isBlock(e) {
|
||||
let t = mainConfig.blockIds || [];
|
||||
if (0 === t.length) return !1;
|
||||
let o = e.user.id;
|
||||
for (let i of t) if (i == o) return !0;
|
||||
return !1;
|
||||
let t = mainConfig.blockIds || [];
|
||||
if (0 === t.length) return !1;
|
||||
let o = e.user.id;
|
||||
for (let i of t) if (i == o) return !0;
|
||||
return !1
|
||||
}
|
||||
|
||||
function removeTimeLine(e) {
|
||||
for (let t of ['ad', 'advertises', 'trends', 'headers']) e[t] && delete e[t];
|
||||
if (!e.statuses) return;
|
||||
let o = [];
|
||||
for (let i of e.statuses)
|
||||
isAd(i) ||
|
||||
(lvZhouHandler(i),
|
||||
i.common_struct && delete i.common_struct,
|
||||
i.category ? 'group' != i.category && o.push(i) : o.push(i));
|
||||
e.statuses = o;
|
||||
for (let t of ["ad", "advertises", "trends", "headers"]) e[t] && delete e[t];
|
||||
if (!e.statuses) return;
|
||||
let o = [];
|
||||
for (let i of e.statuses) isAd(i) || (lvZhouHandler(i), i.common_struct && delete i.common_struct, i.category ? "group" != i.category && o.push(i) : o.push(i));
|
||||
e.statuses = o
|
||||
}
|
||||
|
||||
function removeHomeVip(e) {
|
||||
return e.header && e.header.vipView && (e.header.vipView = null), e;
|
||||
return e.header && e.header.vipView && (e.header.vipView = null), e
|
||||
}
|
||||
|
||||
function removeVideoRemind(e) {
|
||||
(e.bubble_dismiss_time = 0),
|
||||
(e.exist_remind = !1),
|
||||
(e.image_dismiss_time = 0),
|
||||
(e.image = ''),
|
||||
(e.tag_image_english = ''),
|
||||
(e.tag_image_english_dark = ''),
|
||||
(e.tag_image_normal = ''),
|
||||
(e.tag_image_normal_dark = '');
|
||||
e.bubble_dismiss_time = 0, e.exist_remind = !1, e.image_dismiss_time = 0, e.image = "", e.tag_image_english = "", e.tag_image_english_dark = "", e.tag_image_normal = "", e.tag_image_normal_dark = ""
|
||||
}
|
||||
|
||||
function itemExtendHandler(e) {
|
||||
if (
|
||||
(mainConfig.removeRelate || mainConfig.removeGood) &&
|
||||
e.trend &&
|
||||
e.trend.titles
|
||||
) {
|
||||
let t = e.trend.titles.title;
|
||||
mainConfig.removeRelate && '相关推荐' === t
|
||||
? delete e.trend
|
||||
: mainConfig.removeGood && '博主好物种草' === t && delete e.trend;
|
||||
}
|
||||
mainConfig.removeFollow && e.follow_data && (e.follow_data = null),
|
||||
mainConfig.removeRewardItem && e.reward_info && (e.reward_info = null),
|
||||
e.head_cards && delete e.head_cards,
|
||||
e.page_alerts && (e.page_alerts = null);
|
||||
try {
|
||||
e.trend.extra_struct.extBtnInfo.btn_picurl.indexOf(
|
||||
'timeline_icon_ad_delete'
|
||||
) > -1 && delete e.trend;
|
||||
} catch (o) {}
|
||||
if (mainConfig.modifyMenus && e.custom_action_list) {
|
||||
let i = [];
|
||||
for (let a of e.custom_action_list) {
|
||||
let r = a.type,
|
||||
n = itemMenusConfig[r];
|
||||
void 0 === n
|
||||
? i.push(a)
|
||||
: 'mblog_menus_copy_url' === r
|
||||
? i.unshift(a)
|
||||
: n && i.push(a);
|
||||
if ((mainConfig.removeRelate || mainConfig.removeGood) && e.trend && e.trend.titles) {
|
||||
let t = e.trend.titles.title;
|
||||
mainConfig.removeRelate && "相关推荐" === t ? delete e.trend : mainConfig.removeGood && "博主好物种草" === t && delete e.trend
|
||||
}
|
||||
mainConfig.removeFollow && e.follow_data && (e.follow_data = null), mainConfig.removeRewardItem && e.reward_info && (e.reward_info = null), e.head_cards && delete e.head_cards, e.page_alerts && (e.page_alerts = null);
|
||||
try {
|
||||
e.trend.extra_struct.extBtnInfo.btn_picurl.indexOf("timeline_icon_ad_delete") > -1 && delete e.trend
|
||||
} catch (o) {
|
||||
}
|
||||
if (mainConfig.modifyMenus && e.custom_action_list) {
|
||||
let i = [];
|
||||
for (let a of e.custom_action_list) {
|
||||
let r = a.type, n = itemMenusConfig[r];
|
||||
void 0 === n ? i.push(a) : "mblog_menus_copy_url" === r ? i.unshift(a) : n && i.push(a)
|
||||
}
|
||||
e.custom_action_list = i
|
||||
}
|
||||
e.custom_action_list = i;
|
||||
}
|
||||
}
|
||||
|
||||
function updateFollowOrder(e) {
|
||||
try {
|
||||
for (let t of e.items)
|
||||
if ('mainnums_friends' === t.itemId) {
|
||||
let o = t.click.modules[0].scheme;
|
||||
(t.click.modules[0].scheme = o.replace(
|
||||
'231093_-_selfrecomm',
|
||||
'231093_-_selffollowed'
|
||||
)),
|
||||
log('updateFollowOrder success');
|
||||
return;
|
||||
}
|
||||
} catch (i) {
|
||||
console.log('updateFollowOrder fail');
|
||||
}
|
||||
try {
|
||||
for (let t of e.items) if ("mainnums_friends" === t.itemId) {
|
||||
let o = t.click.modules[0].scheme;
|
||||
t.click.modules[0].scheme = o.replace("231093_-_selfrecomm", "231093_-_selffollowed"), log("updateFollowOrder success");
|
||||
return
|
||||
}
|
||||
} catch (i) {
|
||||
console.log("updateFollowOrder fail")
|
||||
}
|
||||
}
|
||||
|
||||
function updateProfileSkin(e, t) {
|
||||
try {
|
||||
let o = mainConfig[t];
|
||||
if (!o) return;
|
||||
let i = 0;
|
||||
for (let a of e.items)
|
||||
if (a.image)
|
||||
try {
|
||||
(dm = a.image.style.darkMode),
|
||||
'alpha' != dm && (a.image.style.darkMode = 'alpha'),
|
||||
(a.image.iconUrl = o[i++]),
|
||||
a.dot && (a.dot = []);
|
||||
} catch (r) {}
|
||||
log('updateProfileSkin success');
|
||||
} catch (n) {
|
||||
console.log('updateProfileSkin fail');
|
||||
}
|
||||
try {
|
||||
let o = mainConfig[t];
|
||||
if (!o) return;
|
||||
let i = 0;
|
||||
for (let a of e.items) if (a.image) try {
|
||||
dm = a.image.style.darkMode, "alpha" != dm && (a.image.style.darkMode = "alpha"), a.image.iconUrl = o[i++], a.dot && (a.dot = [])
|
||||
} catch (r) {
|
||||
}
|
||||
log("updateProfileSkin success")
|
||||
} catch (n) {
|
||||
console.log("updateProfileSkin fail")
|
||||
}
|
||||
}
|
||||
|
||||
function removeHome(e) {
|
||||
if (!e.items) return e;
|
||||
let t = [];
|
||||
for (let o of e.items) {
|
||||
let i = o.itemId;
|
||||
if ('profileme_mine' == i)
|
||||
mainConfig.removeHomeVip && (o = removeHomeVip(o)),
|
||||
o.header?.vipIcon && delete o.header.vipIcon,
|
||||
updateFollowOrder(o),
|
||||
t.push(o);
|
||||
else if ('100505_-_top8' == i)
|
||||
updateProfileSkin(o, 'profileSkin1'), t.push(o);
|
||||
else if ('100505_-_newcreator' == i)
|
||||
'grid' == o.type
|
||||
? (updateProfileSkin(o, 'profileSkin2'), t.push(o))
|
||||
: mainConfig.removeHomeCreatorTask || t.push(o);
|
||||
else {
|
||||
if (
|
||||
'100505_-_chaohua' != i &&
|
||||
'100505_-_manage' != i &&
|
||||
'100505_-_recentlyuser' != i
|
||||
)
|
||||
continue;
|
||||
o.images?.length > 0 &&
|
||||
(o.images = o.images.filter(
|
||||
(e) =>
|
||||
'100505_-_chaohua' == e.itemId ||
|
||||
'100505_-_recentlyuser' == e.itemId
|
||||
)),
|
||||
t.push(o);
|
||||
if (!e.items) return e;
|
||||
let t = [];
|
||||
for (let o of e.items) {
|
||||
let i = o.itemId;
|
||||
if ("profileme_mine" == i) mainConfig.removeHomeVip && (o = removeHomeVip(o)), o.header?.vipIcon && delete o.header.vipIcon, updateFollowOrder(o), t.push(o); else if ("100505_-_top8" == i) updateProfileSkin(o, "profileSkin1"), t.push(o); else if ("100505_-_newcreator" == i) "grid" == o.type ? (updateProfileSkin(o, "profileSkin2"), t.push(o)) : mainConfig.removeHomeCreatorTask || t.push(o); else {
|
||||
if ("100505_-_chaohua" != i && "100505_-_manage" != i && "100505_-_recentlyuser" != i) continue;
|
||||
o.images?.length > 0 && (o.images = o.images.filter(e => "100505_-_chaohua" == e.itemId || "100505_-_recentlyuser" == e.itemId)), t.push(o)
|
||||
}
|
||||
}
|
||||
}
|
||||
return (e.items = t), e;
|
||||
return e.items = t, e
|
||||
}
|
||||
|
||||
function removeCheckin(e) {
|
||||
log('remove tab1签到'), (e.show = 0);
|
||||
log("remove tab1签到"), e.show = 0
|
||||
}
|
||||
|
||||
function removeMediaHomelist(e) {
|
||||
mainConfig.removeLiveMedia && (log('remove 首页直播'), (e.data = {}));
|
||||
mainConfig.removeLiveMedia && (log("remove 首页直播"), e.data = {})
|
||||
}
|
||||
|
||||
function removeComments(e) {
|
||||
let t = ['广告', '廣告', '相关内容', '推荐', '热推', '推薦'],
|
||||
o = e.datas || [];
|
||||
if (0 === o.length) return;
|
||||
let i = [];
|
||||
for (let a of o) {
|
||||
let r = a.adType || '';
|
||||
-1 == t.indexOf(r) && 6 != a.type && i.push(a);
|
||||
}
|
||||
log('remove 评论区相关和推荐内容'),
|
||||
(e.datas = i),
|
||||
e.tip_msg && delete e.tip_msg;
|
||||
}
|
||||
function containerHandler(e) {
|
||||
mainConfig.removeInterestFriendInTopic &&
|
||||
'超话里的好友' === e.card_type_name &&
|
||||
(log('remove 超话里的好友'), (e.card_group = [])),
|
||||
mainConfig.removeInterestTopic &&
|
||||
e.itemid &&
|
||||
(e.itemid.indexOf('infeed_may_interest_in') > -1
|
||||
? (log('remove 感兴趣的超话'), (e.card_group = []))
|
||||
: e.itemid.indexOf('infeed_friends_recommend') > -1 &&
|
||||
(log('remove 超话好友关注'), (e.card_group = [])));
|
||||
}
|
||||
function userHandler(e) {
|
||||
if (((e = removeMainTab(e)), !mainConfig.removeInterestUser || !e.items))
|
||||
return e;
|
||||
let t = [];
|
||||
for (let o of e.items) {
|
||||
let i = !0;
|
||||
if ('group' == o.category)
|
||||
try {
|
||||
'可能感兴趣的人' == o.items[0].data.desc && (i = !1);
|
||||
} catch (a) {}
|
||||
i && (o.data?.common_struct && delete o.data.common_struct, t.push(o));
|
||||
}
|
||||
return (e.items = t), log('removeMain sub success'), e;
|
||||
}
|
||||
function nextVideoHandler(e) {
|
||||
if (!e.statuses) return e;
|
||||
let t = [];
|
||||
for (let o of e.statuses)
|
||||
if (!isAd(o)) {
|
||||
let i = ['forward_redpacket_info', 'shopping', 'float_info', 'tags'];
|
||||
for (let a of i) o.video_info?.[a] && delete o.video_info[a];
|
||||
t.push(o);
|
||||
let t = ["广告", "廣告", "相关内容", "推荐", "热推", "推薦"], o = e.datas || [];
|
||||
if (0 === o.length) return;
|
||||
let i = [];
|
||||
for (let a of o) {
|
||||
let r = a.adType || "";
|
||||
-1 == t.indexOf(r) && 6 != a.type && i.push(a)
|
||||
}
|
||||
return (e.statuses = t), log('removeMainTab Success'), e;
|
||||
log("remove 评论区相关和推荐内容"), e.datas = i, e.tip_msg && delete e.tip_msg
|
||||
}
|
||||
|
||||
function containerHandler(e) {
|
||||
mainConfig.removeInterestFriendInTopic && "超话里的好友" === e.card_type_name && (log("remove 超话里的好友"), e.card_group = []), mainConfig.removeInterestTopic && e.itemid && (e.itemid.indexOf("infeed_may_interest_in") > -1 ? (log("remove 感兴趣的超话"), e.card_group = []) : e.itemid.indexOf("infeed_friends_recommend") > -1 && (log("remove 超话好友关注"), e.card_group = []))
|
||||
}
|
||||
|
||||
function userHandler(e) {
|
||||
if (e = removeMainTab(e), !mainConfig.removeInterestUser || !e.items) return e;
|
||||
let t = [];
|
||||
for (let o of e.items) {
|
||||
let i = !0;
|
||||
if ("group" == o.category) try {
|
||||
"可能感兴趣的人" == o.items[0].data.desc && (i = !1)
|
||||
} catch (a) {
|
||||
}
|
||||
i && (o.data?.common_struct && delete o.data.common_struct, t.push(o))
|
||||
}
|
||||
return e.items = t, log("removeMain sub success"), e
|
||||
}
|
||||
|
||||
function nextVideoHandler(e) {
|
||||
if (!e.statuses) return e;
|
||||
let t = [];
|
||||
for (let o of e.statuses) if (!isAd(o)) {
|
||||
let i = ["forward_redpacket_info", "shopping", "float_info", "tags"];
|
||||
for (let a of i) o.video_info?.[a] && delete o.video_info[a];
|
||||
t.push(o)
|
||||
}
|
||||
return e.statuses = t, log("removeMainTab Success"), e
|
||||
}
|
||||
|
||||
function tabSkinHandler(e) {
|
||||
try {
|
||||
let t = mainConfig.tabIconVersion;
|
||||
if (((e.data.canUse = 1), !t || !mainConfig.tabIconPath || t < 100)) return;
|
||||
let o = e.data.list;
|
||||
for (let i of o) (i.version = t), (i.downloadlink = mainConfig.tabIconPath);
|
||||
log('tabSkinHandler success');
|
||||
} catch (a) {
|
||||
log('tabSkinHandler fail');
|
||||
}
|
||||
try {
|
||||
let t = mainConfig.tabIconVersion;
|
||||
if (e.data.canUse = 1, !t || !mainConfig.tabIconPath || t < 100) return;
|
||||
let o = e.data.list;
|
||||
for (let i of o) i.version = t, i.downloadlink = mainConfig.tabIconPath;
|
||||
log("tabSkinHandler success")
|
||||
} catch (a) {
|
||||
log("tabSkinHandler fail")
|
||||
}
|
||||
}
|
||||
|
||||
function skinPreviewHandler(e) {
|
||||
e.data.skin_info.status = 1;
|
||||
e.data.skin_info.status = 1
|
||||
}
|
||||
|
||||
function removeLuaScreenAds(e) {
|
||||
if (!e.cached_ad) return e;
|
||||
for (let t of e.cached_ad.ads)
|
||||
(t.start_date = 1893254400),
|
||||
(t.show_count = 0),
|
||||
(t.duration = 0),
|
||||
(t.end_date = 1893340799);
|
||||
return e;
|
||||
if (!e.cached_ad) return e;
|
||||
for (let t of e.cached_ad.ads) t.start_date = 1893254400, t.show_count = 0, t.duration = 0, t.end_date = 1893340799;
|
||||
return e
|
||||
}
|
||||
|
||||
function removePhpScreenAds(e) {
|
||||
if (!e.ads) return e;
|
||||
for (let t of ((e.show_push_splash_ad = !1),
|
||||
(e.background_delay_display_time = 0),
|
||||
(e.lastAdShow_delay_display_time = 0),
|
||||
(e.realtime_ad_video_stall_time = 0),
|
||||
(e.realtime_ad_timeout_duration = 0),
|
||||
e.ads))
|
||||
(t.displaytime = 0),
|
||||
(t.displayintervel = 86400),
|
||||
(t.allowdaydisplaynum = 0),
|
||||
(t.displaynum = 0),
|
||||
(t.displaytime = 1),
|
||||
(t.begintime = '2029-12-30 00:00:00'),
|
||||
(t.endtime = '2029-12-30 23:59:59');
|
||||
return e;
|
||||
if (!e.ads) return e;
|
||||
for (let t of (e.show_push_splash_ad = !1, e.background_delay_display_time = 0, e.lastAdShow_delay_display_time = 0, e.realtime_ad_video_stall_time = 0, e.realtime_ad_timeout_duration = 0, e.ads)) t.displaytime = 0, t.displayintervel = 86400, t.allowdaydisplaynum = 0, t.displaynum = 0, t.displaytime = 1, t.begintime = "2029-12-30 00:00:00", t.endtime = "2029-12-30 23:59:59";
|
||||
return e
|
||||
}
|
||||
|
||||
function log(e) {
|
||||
mainConfig.isDebug && console.log(e);
|
||||
mainConfig.isDebug && console.log(e)
|
||||
}
|
||||
var body = $response.body,
|
||||
url = $request.url;
|
||||
|
||||
var body = $response.body, url = $request.url;
|
||||
let method = getModifyMethod(url);
|
||||
if (method) {
|
||||
log(method);
|
||||
var func = eval(method);
|
||||
let data = JSON.parse(body.match(/\{.*\}/)[0]);
|
||||
new func(data),
|
||||
(body = JSON.stringify(data)),
|
||||
'removePhpScreenAds' == method && (body = JSON.stringify(data) + 'OK');
|
||||
log(method);
|
||||
var func = eval(method);
|
||||
let data = JSON.parse(body.match(/\{.*\}/)[0]);
|
||||
new func(data), body = JSON.stringify(data), "removePhpScreenAds" == method && (body = JSON.stringify(data) + "OK")
|
||||
}
|
||||
$done({ body });
|
||||
$done({body});
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,8 +1,13 @@
|
|||
{
|
||||
"data": {
|
||||
"expiration_time": "86400",
|
||||
"cards": [{ "tip": "\u641c\u7d22\u5fae\u535a", "word": "" }]
|
||||
"cards": [
|
||||
{
|
||||
"tip": "\u641c\u7d22\u5fae\u535a",
|
||||
"word": ""
|
||||
}
|
||||
]
|
||||
},
|
||||
"info": "",
|
||||
"retcode": 0
|
||||
}
|
||||
}
|
|
@ -19,4 +19,4 @@
|
|||
"more": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue