├── 0FDB6D44-84E7-4FC1-9474-ED69C399562A.jpeg ├── 8843EEBC-1114-4CE3-BB39-C0622D90A3F5.jpeg ├── Hsu.conf ├── JS.conf ├── O7Y0.conf ├── Quantumult-X.conf ├── README.md ├── Rewrite ├── All_in_One.snippet ├── Amap.snippet ├── BiliBili.snippet ├── HTTPDNS.Block.snippet ├── KuWo.snippet ├── Pojie.snippet ├── Q-Search_All_in_one.snippet ├── QX_Rewrite.snippet ├── StartUp.snippet ├── WebAdBlock.snippet ├── Weibo.snippet ├── Xiaohongshu.snippet ├── Ximalaya.snippet ├── YouTube.snippet ├── YouTubeCC.snippet ├── Zheye.snippet └── bdmap.snippet ├── Rule ├── ASN.China.list ├── ASN.Telegram.list ├── Adplus.list ├── Advertising.list ├── Copilot.list ├── Direct-1.list ├── Direct.list └── HTTPDNS.Block.list ├── Script ├── 12306.js ├── Aiqicha.js ├── Alidrive.js ├── Amap.js ├── BaiduCloud.js ├── BaiduLibrary.js ├── BiliBili.js ├── Camscanner.js ├── Coolapk.js ├── DouBan.js ├── Goodnotes6 ├── JD_Price.js ├── JD_json.js ├── Polarr.js ├── Ps.js ├── Qimao.js ├── Web │ ├── 18comic.js │ ├── 555.js │ ├── CSS │ │ ├── 18comic.css │ │ ├── 555.css │ │ ├── bdys.css │ │ ├── bimi.css │ │ ├── cokemv.css │ │ ├── cupfox.css │ │ ├── ddrk.css │ │ ├── douban.css │ │ ├── dsx.css │ │ ├── gimytv.css │ │ ├── lezhu.css │ │ ├── libvio.css │ │ ├── pornhub.css │ │ ├── qianoo.css │ │ ├── tkys.css │ │ └── zhenbuka.css │ ├── bdys.js │ ├── bimi.js │ ├── cokemv.js │ ├── cupfox.js │ ├── ddys.js │ ├── dsx.js │ ├── gimytv.js │ ├── lezhu.js │ ├── libvio.js │ ├── netflix.js │ ├── pornhub.js │ ├── qianoo.js │ ├── tkys.js │ └── zhenbuka.js ├── XMind.js ├── XiMaLaYa.js ├── YouTube.js ├── adguard.js ├── bilibili_json.js ├── bilibili_proto.js ├── bilibili_proto_ddgksf2013.js ├── caiyun-user.js ├── caiyun.js ├── cubox.js ├── kuwo.js ├── lanfan.js ├── lanren.js ├── mubu.js ├── q_news.js ├── qidian.js ├── wb_main.js ├── weibo.js ├── weibo_launch.js ├── weibo_main.js ├── weibo_old.js ├── wyreader.js ├── wyy.js ├── xiaohongshu.ddgksf2013.js ├── xiaohongshu.js ├── xichuangzhu.js └── xmly.js ├── UnblockNeteaseMusic.txt ├── Unicorn.jpeg ├── dsvip.conf ├── erdongchan.conf ├── shaonian.conf └── sngx_VIP.conf /0FDB6D44-84E7-4FC1-9474-ED69C399562A.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuandrew/Quantumult-X/14f2638c7af77d5776c4331d34532439b3139c54/0FDB6D44-84E7-4FC1-9474-ED69C399562A.jpeg -------------------------------------------------------------------------------- /8843EEBC-1114-4CE3-BB39-C0622D90A3F5.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuandrew/Quantumult-X/14f2638c7af77d5776c4331d34532439b3139c54/8843EEBC-1114-4CE3-BB39-C0622D90A3F5.jpeg -------------------------------------------------------------------------------- /JS.conf: -------------------------------------------------------------------------------- 1 | #响应类脚本 2 | #破解部分app vip及去除应用内广告 3 | #需配合主机名共同使用 4 | 5 | hostname = vip1.kuwo.cn, *.baidu.com, mp.weixin.qq.com, api.weibo.cn, mapi.weibo.com, *.uve.weibo.com, ems.youku.com, optimus-ads.amap.com, api.bilibili.com 6 | 7 | # 微信去广告 (mp.weixin.qq.com) 8 | ^https?:\/\/mp\.weixin\.qq\.com\/mp\/getappmsgad url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/Wechat.js 9 | 10 | # 微博去广告(By yichahucha) 11 | ^https?://(sdk|wb)app\.uve\.weibo\.com(/interface/sdk/sdkad.php|/wbapplua/wbpullad.lua) url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/wb_launch.js 12 | ^https?://m?api\.weibo\.c(n|om)/2/(statuses/(unread|extend|positives/get|(friends|video)(/|_)(mix)?timeline)|stories/(video_stream|home_list)|(groups|fangle)/timeline|profile/statuses|comments/build_comments|photo/recommend_list|service/picfeed|searchall|cardlist|page|!/(photos/pic_recommend_status|live/media_homelist)|video/tiny_stream_video_list|photo/info|remind/unread_count) url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/wb_ad.js 13 | 14 | # 高德地图广告 15 | ^http:\/\/ems\.youku\.com\/imp\? url reject 16 | ^http:\/\/optimus-ads\.amap\.com\/uploadimg\/.+ url reject 17 | # hostname = ems.youku.com, optimus-ads.amap.com 18 | 19 | # Bilibili 番剧 1080p+ 20 | https:\/\/ap(p|i)\.bilibili\.com\/((pgc\/player\/api\/playurl)|(x\/v2\/account\/myinfo\?)|(x\/v2\/account/mine\?)) url script-response-body https://raw.githubusercontent.com/Sunert/Script/master/Script/Bilibili/BiliHD.js 21 | # hostname = api.bilibili.com 22 | 23 | # 百度跳转 Fokit 15 24 | ^https?:\/\/(?!d\.pcs).*(? 高德地图_底部tab栏角标@ddgksf2013 54 | ^https?:\/\/.*\.amap\.com\/ws\/message\/notice\/list url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/amap.js 55 | # > 高德地图_首页右中广告@ddgksf2013 56 | ;https://m5.amap.com/ws/shield/frogserver/aocs/updatable url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/amap.js 57 | # > 高德地图_附近页面@ddgksf2013 58 | ;^https?:\/\/.*\.amap\.com\/ws\/shield\/search\/nearbyrec_smart url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/amap.js 59 | # > 高德地图_打车页面@ddgksf2013 60 | ;^https?:\/\/.*\.amap\.com\/ws\/promotion-web\/resource url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/amap.js 61 | # > 高德地图_Tip请求@ddgksf2013 62 | ;^https?:\/\/.*\.amap\.com\/ws\/boss\/order_web\/\w{8}_information url reject-200 63 | # > 高德地图_首页底部处理@ddgksf2013 64 | ;^https?:\/\/.*\.amap\.com\/ws\/faas\/amap-navigation\/main-page url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/amap.js 65 | # > 高德地图_通用广告请求@ddgksf2013 66 | ;^https?:\/\/.*\.amap\.com\/ws\/asa\/ads_attribution url reject 67 | # > 高德地图_开屏广告@ddgksf2013 68 | ;^https?:\/\/.*\.amap\.com\/ws\/valueadded\/alimama\/splash_screen url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/amap.js 69 | # > 高德地图_首页顶部推广@ddgksf2013 70 | ;^https?:\/\/.*\.amap\.com\/ws\/msgbox\/pull url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/amap.js 71 | # > 高德地图_我的页面@ddgksf2013 72 | ;^https?:\/\/.*\.amap\.com\/ws\/shield\/dsp\/profile\/index\/nodefaas url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/amap.js 73 | # > 高德地图_搜索框热词@ddgksf2013 74 | ;^https?:\/\/.*\.amap\.com\/ws\/shield\/search\/new_hotword url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/amap.js 75 | # > 高德地图_搜索框scene@ddgksf2013 76 | ;^https?:\/\/.*\.amap\.com\/ws\/shield\/scene\/recommend url reject-dict 77 | # > 高德地图_首页左上角gif@ddgksf2013 78 | ;^https?:\/\/.*\.amap\.com\/uploadimg\/\w+\.gif url reject-img 79 | # > 高德地图_首页右中'2022出行报告'[自行添加]@ddgksf2013 80 | ;^https?:\/\/img\.alicdn\.com\/imgextra\/i1\/O1CN01z5u64r1EdKvtRa19q_!!6000000000374-2-tps-120-120\.png url reject-img 81 | # > 高德地图_左下天气@ddgksf2013 82 | ;^https?:\/\/.*\.amap\.com\/ws\/valueadded\/weather url reject-dict 83 | -------------------------------------------------------------------------------- /Rewrite/BiliBili.snippet: -------------------------------------------------------------------------------- 1 | ;hostname = api.bilibili.com, app.bilibili.com, api.live.bilibili.com, api.vc.bilibili.com, grpc.biliapi.net, api.biliapi.net, -broadcast.chat.bilibili.com, -*cdn*.biliapi.net, -*tracker*.biliapi.net, 124.239.240.*, 101.89.57.66, 218.94.210.66, 240e:b1:9801:206:11:0:0:* 2 | hostname = 114*0.*,61.172.1*.*,43.141.11.*,114.80.99.86,180.153.255.*,114.80.99.*,*.mysteel.*,61.172.194.196,180.153.*.*,*xima*,*xmcdn*,*.ximalaya.com,*.xmcdn.com,180.153.255.*,180.153.140.*,180.153.250.*,114.80.99.*,114.80.139.237,114.80.161.29,1.62.62.64,51*.com,1.194.255.171, 23.236.99.89, 36.99.200.135, 42.81.4.198, 42.81.26.128, 42.81.120.58, 43.132.80.77, 43.132.83.175, 43.132.84.11, 43.152.24.12, 43.152.24.18, 43.152.25.127, 43.152.29.38, 43.175.16.34, 43.175.22.25, 43.175.44.15, 49.7.69.197, 49.51.224.95, 101.33.11.32, 101.33.11.106, 101.33.20.34, 101.33.29.110, 103.105.60.99, 114.80.99.90, 114.80.99.70, 114.80.99.71, 114.80.99.89, 114.80.99.91, 114.80.99.88, 114.80.99.87, 140.249.84.135, 140.249.85.189, 150.109.90.80, 150.109.91.35, 150.138.47.94, 150.138.136.145, 203.205.136.87, 203.205.136.100, 203.205.136.102, 203.205.136.159, 203.205.137.27, 203.205.137.87, 203.205.137.241, 203.205.250.111, 203.205.250.113, 211.152.137.25,ulogs.umeng.com,passport.ximalaya.com 3 | 4 | 5 | # 哔哩哔哩解锁大会员 6 | ;^http[s]?:\/\/((app|api)\.(\w{2,15})?\.(com|cn)).*player\.(v3|v2|v1).Play(URL|View).*$ url script-request-header https://raw.githubusercontent.com/gjwj666/qx/main/bilibilick.js 7 | ;^http[s]?:\/\/.+bilibili.+((pgc\/player\/api\/playurl)|(x\/v2\/account\/myinfo\?)|(x\/v2\/account/mine\?)).*$ url script-response-body https://raw.githubusercontent.com/gjwj666/qx/main/bilibilibd.js 8 | 9 | # > 哔哩哔哩会员限定版 10 | ^https?:\/\/ap(i|p)\.bilibili\.com\/bilibili\.\w{3,9}\..+\/(View|Play(URL|View(Unite)?|Conf|erOnline)|MainList|ViewProgress)$ url script-request-header https://raw.githubusercontent.com/ClydeTime/Quantumult/main/Script/BiliBili/BiLiBiLiBVIPCrack.js 11 | # > 哔哩哔哩魔改 12 | ;^https?:\/\/ap(i|p)\.bilibili\.com\/x\/(vip|v2|resource)\/(space|account|web|price|top_panel_info|show)(\/|\?)(mine|myinfo|access|vip_center|panel|_bridge|skin\?).* url script-response-body https://raw.githubusercontent.com/ClydeTime/Quantumult/main/Script/BiliBili/bili_info.js 13 | ^https?:\/\/ap(i|p)\.bilibili\.com\/x\/(vip|v2|resource)\/(account|web|price|top_panel_info)(\/|\?)(mine|myinfo|vip_center|panel|_bridge\?).* url script-response-body https://raw.githubusercontent.com/ClydeTime/Quantumult/main/Script/BiliBili/bili_info.js 14 | 15 | # ~ BiliBili_哔哩哔哩_视频播放下方商品推广@ddgksf2013 16 | ^https?:\/\/api\.bili(api|bili)\.(net|com)\/pgc\/season\/app\/related\/recommend\? url script-response-body https://raw.githubusercontent.com/xuandrew/Quantumult-X/master/Script/bilibili_json.js 17 | 18 | # ~ BiliBili_哔哩哔哩_屏蔽直播页顶部轮播图@ddgksf2013 19 | ^https?:\/\/api\.live\.bilibili\.com\/xlive\/app-interface\/v2\/index\/feed url script-response-body https://raw.githubusercontent.com/xuandrew/Quantumult-X/master/Script/bilibili_json.js 20 | 21 | # BiliBili_哔哩哔哩_屏蔽直播间商品广告浮窗@ddgksf2013 22 | ^https?:\/\/api\.live\.bilibili\.com\/xlive\/e-commerce-interface\/v\d\/ecommerce-user\/get_shopping_info url script-response-body https://raw.githubusercontent.com/xuandrew/Quantumult-X/master/Script/bilibili_json.js 23 | 24 | # BiliBili_哔哩哔哩_屏蔽广告浮窗@ddgksf2013 25 | ^https?:\/\/api\.bilibili\.com\/pgc\/activity\/deliver\/material\/receive url reject-dict 26 | 27 | # BiliBili_哔哩哔哩_屏蔽IP请求@ddgksf2013 28 | ;^https?:\/\/app\.bilibili\.com\/x\/resource\/ip url reject 29 | ^https:\/\/api\.bilibili\.com\/x\/web-interface\/zone\?jsonp url reject-dict 30 | ^https:\/\/app\.bilibili\.com\/x\/resource\/ip url reject-dict 31 | 32 | # BiliBili_哔哩哔哩_屏蔽DefaultWord@ddgksf2013 33 | ^https?:\/\/app\.bilibili\.com\/bilibili\.app\.interface\.v1\.Search\/Default url reject 34 | 35 | # BiliBili_哔哩哔哩_屏蔽首页右上活动[卸载重装]@ddgksf2013 & 标签页处理 36 | ;^https?:\/\/app\.bilibili\.com\/x\/resource\/top\/activity url script-response-body https://raw.githubusercontent.com/xuandrew/Quantumult-X/master/Script/bilibili_json.js 37 | ^https:\/\/app\.bilibili\.com\/x\/resource\/(top\/activity|show\/tab\/v2)\? url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/bilibili/json.js 38 | 39 | # BiliBili_哔哩哔哩_启动时开启直连模式[自行启用]@ddgksf2013 40 | ;^https?:\/\/app\.bilibili\.com\/x\/resource\/domain url script-response-body https://codeberg.org/ddgksf2013/Cuttlefish/raw/branch/master/Script/bilibili_startup_direct.js 41 | 42 | # BiliBili_哔哩哔哩_繁体CC字幕转中文简体[自行启用]@ddgksf2013 43 | ;^https?:\/\/i.\.hdslb\.com\/bfs\/subtitle\/.+\.json$ url script-response-body https://codeberg.org/ddgksf2013/Cuttlefish/raw/branch/master/Script/bilibili_cc.js 44 | 45 | # BiliBili_哔哩哔哩_观影页面去广告@ddgksf2013 & 追番去广告 46 | ;^https?:\/\/api\.(bilibili|biliapi)\.(com|net)\/pgc\/page\/cinema\/tab\? url script-response-body https://raw.githubusercontent.com/xuandrew/Quantumult-X/master/Script/bilibili_json.js 47 | ^https:\/\/api\.bilibili\.com\/pgc\/page\/(bangumi|cinema\/tab\?) url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/bilibili/json.js 48 | 49 | # BiliBili_哔哩哔哩_应用开屏去广告@bm7 50 | ;^https://app.bilibili.com/x/v2/splash/show url reject-dict 51 | ;^https:\/\/app\.bilibili\.com\/x\/v2\/splash\/(brand\/list|event\/list2|list|show)\? url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/bilibili/json.js 52 | ^http:\/\/[\d\.]+:8000\/v1\/resource\/\w{32}-1-SPLASH url reject-dict 53 | ^http:\/\/upos-sz-static\.bilivideo\.com\/ssaxcode\/\w{2}\/\w{2}\/\w{32}-1-SPLASH url reject-dict 54 | ^https:\/\/api\.bilibili\.com\/x\/mengqi\/v1\/resource\? url reject-dict 55 | ^https:\/\/app\.bilibili\.com\/x\/v2\/splash\/(brand\/list|event\/list2|list|show)\? url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/bilibili/json.js 56 | 57 | # BiliBili_哔哩哔哩_应用开屏广告预加载@yjqiang 58 | ;^https:\/\/app\.bilibili\.com\/x\/v2\/splash\/list url script-response-body https://raw.githubusercontent.com/xuandrew/Quantumult-X/master/Script/bilibili_json.js 59 | 60 | # BiliBili_哔哩哔哩_去除统一设置的皮肤@ddgksf2013 61 | ;^https?:\/\/app\.bilibili\.com\/x\/resource\/show\/skin\? url script-response-body https://raw.githubusercontent.com/xuandrew/Quantumult-X/master/Script/bilibili_json.js 62 | ^https:\/\/app\.bilibili\.com\/x\/resource\/show\/skin\? url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/bilibili/json.js 63 | 64 | # BiliBili_哔哩哔哩_1080P高码率+4K画质(番剧和影视除外)@ddgksf2013 65 | ;^https?:\/\/app\.bilibili\.com\/x\/v2\/account\/myinfo\? url script-response-body https://raw.githubusercontent.com/xuandrew/Quantumult-X/master/Script/bilibili_json.js 66 | ;^https:\/\/app\.bilibili\.com\/x\/v2\/account\/(mine(\/ipad)?|myinfo)\? url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/bilibili/json.js 67 | 68 | # BiliBili_哔哩哔哩_热搜发现@ddgksf2013 69 | ;^https://app.bilibili.com/x/v2/search/square url script-response-body https://raw.githubusercontent.com/xuandrew/Quantumult-X/master/Script/bilibili_json.js 70 | 71 | # BiliBili_哔哩哔哩_Defaultword@ddgksf2013 72 | ^https://app.bilibili.com/x/v2/search/defaultwords url reject-dict 73 | 74 | # BiliBili_哔哩哔哩_Material_Ad@ddgksf2013 75 | ^https?:\/\/api\.bilibili\.com\/x\/vip\/ads\/material\/report url reject-dict 76 | 77 | # BiliBili_哔哩哔哩_小卡片广告@ddgksf2013 78 | ^https://api.bilibili.com/pgc/season/player/cards url reject-dict 79 | 80 | # BiliBili_哔哩哔哩_去除动态中的话题@bm7 81 | ^https?:\/\/api\.vc\.bilibili\.com\/topic_svr\/v1\/topic_svr url reject-dict 82 | 83 | # BiliBili_哔哩哔哩_漫画去广告@ddgksf2013 84 | ^https?:\/\/manga\.bilibili\.com\/twirp\/comic\.v\d\.Comic\/(Flash|ListFlash|GetActivityTab) url reject-dict 85 | 86 | # BiliBili_哔哩哔哩_推荐去广告@ddgksf2013 & 热搜发现 87 | ;^https?:\/\/app\.bilibili\.com\/x\/v2\/feed\/index url script-response-body https://raw.githubusercontent.com/app2smile/rules/master/js/bilibili-json.js 88 | ;^https?:\/\/app\.bilibili\.com\/x\/v2\/feed\/index url script-response-body https://raw.githubusercontent.com/xuandrew/Quantumult-X/master/Script/bilibili_json.js 89 | ;^https:\/\/app\.bilibili\.com\/x\/v2\/feed\/index\? url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/bilibili/json.js 90 | ^https:\/\/app\.bilibili\.com\/x\/v2\/(feed\/index(\/story)?|search\/square)\? url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/bilibili/json.js 91 | 92 | # BiliBili_哔哩哔哩_追番去广告@ddgksf2013 93 | ;^https?:\/\/api\.(bilibili|biliapi)\.(com|net)\/pgc\/page\/bangumi url script-response-body https://raw.githubusercontent.com/xuandrew/Quantumult-X/master/Script/bilibili_json.js 94 | 95 | # BiliBili_哔哩哔哩_直播去广告@bm7 96 | ^https?:\/\/api\.live\.bilibili\.com\/xlive\/app-room\/v1\/index\/getInfoByRoom url script-response-body https://raw.githubusercontent.com/xuandrew/Quantumult-X/master/Script/bilibili_json.js 97 | 98 | # BiliBili_哔哩哔哩_标签页处理@ddgksf2013 99 | ;^https?:\/\/app\.bilibili\.com\/x\/resource\/show\/tab url script-response-body https://raw.githubusercontent.com/xuandrew/Quantumult-X/master/Script/bilibili_json.js 100 | ;^https:\/\/app\.bilibili\.com\/x\/resource\/show\/tab\/v2 url script-response-body https://raw.githubusercontent.com/kokoryh/Script/master/js/bilibili_json.js 101 | 102 | # BiliBili_哔哩哔哩_我的页面处理@ddgksf2013 103 | ;^https?:\/\/app\.bilibili\.com\/x\/v2\/account\/mine url script-response-body https://raw.githubusercontent.com/xuandrew/Quantumult-X/master/Script/bilibili_json.js 104 | ;^https:\/\/app\.bilibili\.com\/x\/v2\/account\/mine\? url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/bilibili/json.js 105 | 106 | # ~ BiliBili_哔哩哔哩_UP主推荐广告@app2smile@ddgksf2013 107 | ;^https?:\/\/(app\.bilibili\.com|grpc\.biliapi\.net)\/bilibili\.app\.(view|viewunite)\.v1\.View\/(View|TFInfo)$ url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/bilibili_proto_beta.js 108 | ;^https?:\/\/(app\.bilibili\.com|grpc\.biliapi\.net)\/bilibili\.app\.dynamic\.v2\.Dynamic\/Dyn(All|Video)$ url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/bilibili_proto_beta.js 109 | ;^https:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.(viewunite\.v1\.View\/View|dynamic\.v2\.Dynamic\/DynAll)$ url script-response-body https://raw.githubusercontent.com/app2smile/rules/master/js/bilibili-proto.js 110 | ;^https?:\/\/(app\.bilibili\.com|grpc\.biliapi\.net)\/bilibili\.app\.view\.v1\.View\/View$ url script-response-body https://raw.githubusercontent.com/xuandrew/Quantumult-X/master/Script/bilibili_proto_ddgksf2013.js 111 | ;^https:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.(view|viewunite)\.v1\.View\/(View|TFInfo) url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/bilibili/protoA.js 112 | ^https:\/\/(app\.bilibili\.com|grpc\.biliapi\.net)\/bilibili\.app\.(view|viewunite)\.v1\.View\/(View|ViewProgress) url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/bilibili/protoA.js 113 | # ~ BiliBili_哔哩哔哩_动态页面去广告[#out=DynAll]@app2smile@ddgksf2013 114 | ^https:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.dynamic\.v2\.Dynamic\/Dyn(All|Video)$ url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/bilibili/protoA.js 115 | ;^https?:\/\/(app\.bilibili\.com|grpc\.biliapi\.net)\/bilibili\.app\.dynamic\.v2\.Dynamic\/DynAll$ url script-response-body https://raw.githubusercontent.com/xuandrew/Quantumult-X/master/Script/bilibili_proto_ddgksf2013.js 116 | ;^https:\/\/app\.bilibili\.com\/bilibili\.app\.(view\.v1\.View\/View|dynamic\.v2\.Dynamic\/DynAll|playurl\.v1\.PlayURL\/PlayView)$ url script-response-body https://raw.githubusercontent.com/app2smile/rules/master/js/bilibili-proto.js 117 | ;^https:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.(view\.v1\.View\/View|dynamic\.v2\.Dynamic\/DynAll|playurl\.v1\.PlayURL\/PlayView)$, url script-response-body https://raw.githubusercontent.com/kokoryh/Script/master/js/bilibili-proto.js 118 | # 后台播放限制去除 119 | ^https:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.playurl\.v1\.PlayURL\/PlayView$ url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/bilibili/protoA.js 120 | # 搜索去广告 121 | ^https:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.polymer\.app\.search\.v1\.Search\/SearchAll$ url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/bilibili/protoA.js 122 | ;^https?:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.polymer\.app\.search\.v1\.Search\/SearchAll$ url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/bilibili_proto_beta.js 123 | # 青少年提示框 124 | ^https:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.interface\.v1\.Teenagers\/ModeStatus url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/bilibili/protoA.js 125 | # 播放页去广告 126 | ;^https?:\/\/(app\.bilibili\.com|grpc\.biliapi\.net)\/bilibili\.community\.service\.dm\.v1\.DM\/(DmView|DmSegMobile) url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/bilibili_proto_beta.js 127 | ^https:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.community\.service\.dm\.v1\.DM\/(DmView|DmSegMobile) url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/bilibili/protoA.js 128 | ^https:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.main\.community\.reply\.v1\.Reply\/MainList url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/bilibili/protoA.js 129 | 130 | # 满意度调研 131 | ^https:\/\/api\.bilibili\.com\/x\/v2\/dm\/qoe\/show\? url reject-dict 132 | 133 | 134 | # b站精简占用 135 | (?=resource\?resourceUrl|upos\-sz\-staticcos) url reject 136 | (?=.*(hdslb\.com.*(\.zip|\.mp4)))^((?!(hdslb\.com\/bfs\/app-static\/)).)*$ url reject 137 | 138 | # 屏蔽B站视频流4480端口 139 | ^http:\/\/.*:4480\/upgcxcode url reject 140 | 141 | ;^https?:\/\/tb23.tv url 302 https://b23.wtf 142 | 143 | # 说明:打开粉色B站-我的-个性装扮,选择喜欢的装扮进入装扮详情页,如果通知获取装扮信息成功,则可以使用本脚本。更换装扮需要退后台重进两次 144 | ;^https:\/\/api\.bilibili\.com\/x\/garb\/v2\/mall\/suit\/detail url script-response-body https://raw.githubusercontent.com/kokoryh/Script/master/js/bili-suit-detail.js 145 | 146 | # > 哔哩哔哩解锁大会员 147 | ;^https?:\/\/ap(i|p)\.bilibili\.com\/bilibili\.\w{3,4}\..+\/(View|PlayView|PlayConf|PlayerOnline|MainList|ViewProgress)$ url script-request-header https://raw.githubusercontent.com/yqc007/QuantumultX/master/Script/BiLiBiLiBVIPCrack.js -------------------------------------------------------------------------------- /Rewrite/HTTPDNS.Block.snippet: -------------------------------------------------------------------------------- 1 | #!name=🍟 Fries: 🚫 Block HTTPDNS 2 | #!desc=阻止常见的 HTTPDNS 服务器 3 | #!author=VirgilClyne 4 | #!homepage=https://github.com/VirgilClyne/GetSomeFries/wiki/🚫-HTTPDNS 5 | #!icon=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Server.png 6 | 7 | #[rewrite_local] 8 | # Alipay 9 | ^https?:\/\/amdc\.alipay\.com\/s?query url reject 10 | ^https?:\/\/amdc-sibling\.alipay\.com\.cn\/s?query url reject 11 | ^https?:\/\/110\.76\.8\.150\/squery url reject 12 | ^https?:\/\/203\.209\.230\.39\/squery url reject 13 | ^https?:\/\/203\.209\.245\.102\/squery url reject 14 | ^https?:\/\/203\.209\.245\.158\/squery url reject 15 | ^https?:\/\/203\.209\.247\.95\/squery url reject 16 | ^https?:\/\/203\.209\.250\.41\/squery url reject 17 | ^https?:\/\/203\.209\.250\.114\/squery url reject 18 | ^https?:\/\/203\.209\.251\.147\/squery url reject 19 | ^https?:\/\/2400:B180:6001::18F\/squery url reject 20 | ^https?:\/\/2400:B200:1005:3000::155\/squery url reject 21 | ^https?:\/\/2400:B200:1005:3000::1D3\/squery url reject 22 | ^https?:\/\/2400:B200:5000:B000::C8\/squery url reject 23 | 24 | # Baidu 25 | ^http:\/\/180\.76\.76\.112\/v4\/resolve url reject 26 | ^http:\/\/180\.76\.76\.220\/v4\/resolve url reject 27 | 28 | # Bilibili 29 | ^http:\/\/203\.107\.1\.65\/\d+\/resolve url reject 30 | ^http:\/\/203\.107\.1\.66\/\d+\/resolve url reject 31 | 32 | # JD 33 | ^https:\/\/dns\.jd\.com\/v6\/b url reject 34 | ^https:\/\/dns\.jd\.com\/v6\/d url reject 35 | 36 | # Meituan 37 | ^http:\/\/103\.37\.155\.60\/fetch url reject 38 | 39 | # Pinduoduo 40 | ^http:\/\/101\.35\.204\.35\/d url reject 41 | ^http:\/\/101\.35\.212\.35\/d url reject 42 | ^http:\/\/114\.110\.96\.26\/d url reject 43 | ^http:\/\/114\.110\.97\.97\/d url reject 44 | 45 | # QCloud 46 | # refer: https://mc.qcloudimg.com/static/qc_doc/d39d48b733835af8a2e223115ac67da7/doc-HttpDNS-Getting+Started.pdf 47 | # refer: https://main.qcloudimg.com/raw/document/product/pdf/379_3513_cn.pdf 48 | # refer: https://cloud.tencent.com/document/product/379/61200 49 | ^https?:\/\/119\.29\.29\.29\/d url reject 50 | 51 | # QQmusic 52 | ^http:\/\/182\.256\.116\.116\/d url reject 53 | 54 | # Weibo 55 | # refer: https://github.com/CNSRE/HTTPDNSLib-for-iOS 56 | ^http:\/\/api\.weibo\.cn\/2\/httpdns\/config url reject 57 | ^http:\/\/api\.weibo\.cn\/httpdns\/config url reject 58 | 59 | # Weixin 60 | # 注意: 以下域名HTTPS无法MitM,如通过此链接查询,无法处理 61 | ^https?:\/\/dns\.weixin\.qq\.com\/cgi-bin\/micromsg-bin\/newgetdns url reject 62 | ^https?:\/\/dns\.weixin\.qq\.com\.cn\/cgi-bin\/micromsg-bin\/newgetdns url reject 63 | ^https?:\/\/short\.weixin\.qq\.com\/cgi-bin\/micromsg-bin\/getcdndns url reject 64 | ^https?:\/\/hkextshort\.weixin\.qq\.com\/cgi-bin\/micromsg-bin\/getcdndns url reject 65 | 66 | # Wework 67 | # refer: https://res.mail.qq.com/zh_CN/wework_ip/latest.html 68 | ;^http:\/\/182\.254\.116\.117\/d url reject 69 | ^http:\/\/182\.254\.118\.119\/d url reject 70 | 71 | # Zhihu 72 | # refer: https://github.com/lwd-temp/anti-ip-attribution/issues/24 73 | ^http:\/\/103\.41\.167\.237\/v2\/resolv url reject 74 | 75 | #[MITM] 76 | hostname = 119.29.29.29, amdc.alipay.com, amdc-sibling.alipay.com.cn, dns.jd.com 77 | -------------------------------------------------------------------------------- /Rewrite/KuWo.snippet: -------------------------------------------------------------------------------- 1 | hostname = *kuwo*, *lrts* 2 | 3 | ;^https?:\/\/.*(kuwo|lrts).*(music\.pay\?ne|\/a\.p|v\d\/api\/(user\/in|pay\/vi)|\w{3}\/v\d\/user\/vi|\w{3}\/spi\/ms|\w{3}\/v\d\/the|\w{3}\/enc\/use) url script-response-body https://raw.githubusercontent.com/xuandrew/Quantumult-X/master/Script/kuwo.js 4 | ;^https?:\/\/.*(kuwo|lrts).*(music\.pay\?ui) url script-request-header https://raw.githubusercontent.com/xuandrew/Quantumult-X/master/Script/kuwo.js 5 | 6 | 7 | ;^https?:\/\/.*\.(kuwo|lrts)\.(cn|me)\/(a\.p|music\.pay|viptab|(vip\/(v2|enc)\/(theme|user\/vip|userbase\/vip\?op\=getMCInfo))|(EcomResource|(Mobile)?Ad)Serv(er|ice)).* url script-response-body https://raw.githubusercontent.com/ClydeTime/Quantumult/main/Script/KWYY/kwyy_crack.js 8 | ;^https?:\/\/.*\.kuwo\.cn\/(mgxh|recterm|a\.p|music\.pay\?newver|vip\/(v2|enc)\/(theme\?op=gd|user\/vip\?op=ui)) url script-response-body https://raw.githubusercontent.com/kokoryh/Script/master/js/kuwo.js 9 | 10 | 11 | # ======= 酷我音乐 ====== # 12 | # 2023-02-27 19:30 13 | 14 | # 广告 15 | ;^http:\/\/audiobookpay\.kuwo\.cn\/a\.p\?op=get_advertright_endtime url reject-dict 16 | ;^http:\/\/(mgxhtj|nmobi|searchrecterm)\.kuwo\.cn\/(mgxh|mobi|recterm)\.s url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/break/kuwo.js 17 | 18 | # 会员 19 | ;^http:\/\/audiobookpay\.kuwo\.cn\/a\.p url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/break/kuwo.js 20 | ;^http:\/\/musicpay\.kuwo\.cn\/music\.pay url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/break/kuwo.js 21 | ;^http:\/\/vip1\.kuwo\.cn\/vip\/(enc\/user\/vip\?op=ui|v2\/theme\?op=gd) url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/break/kuwo.js 22 | ;^https:\/\/vip1\.kuwo\.cn\/vip\/v2\/user\/vip\?op=ui url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/break/kuwo.js 23 | 24 | 25 | 26 | # > 酷我音乐_通用广告请求 27 | https?:\/\/vip1\.kuwo\.cn\/vip\/activity\/kwMemberDay url reject-200 28 | # > 酷我音乐_屏蔽热词 29 | https?:\/\/hotword\.kuwo\.cn\/hotword\.s url reject-dict 30 | # > 酷我音乐_通用广告请求 31 | https?:\/\/vip1\.kuwo\.cn\/vip_adv\/ url reject-dict 32 | # > 酷我音乐_通用广告请求 33 | https?:\/\/wapi\.kuwo\.cn\/openapi\/v1\/app\/pasterAdvert url reject-200 34 | # > 酷我音乐_应用内弹窗及右下角 35 | ^https?:\/\/mobilead\.kuwo\.cn\/ url reject-200 36 | # > 酷我音乐_搜索框处理 37 | https?:\/\/searchrecterm\.kuwo\.cn\/recterm\.s url script-response-body https://github.com/ddgksf2013/dev/raw/main/kuwomusic.js 38 | # > 酷我音乐_去除首页轮播广告和tips 39 | https?:\/\/mgxhtj\.kuwo\.cn\/mgxh\.s url script-response-body https://github.com/ddgksf2013/dev/raw/main/kuwomusic.js 40 | # > 酷我音乐_去除会员页广告 41 | https?:\/\/appi\.kuwo\.cn\/kuwopay\/vip-tab\/page\/cells url script-response-body https://github.com/ddgksf2013/dev/raw/main/kuwomusic.js 42 | # > 酷我音乐_去除会员页顶部广告tab 43 | https?:\/\/appi\.kuwo\.cn\/kuwopay\/vip-tab\/setting url script-response-body https://github.com/ddgksf2013/dev/raw/main/kuwomusic.js 44 | # > 酷我音乐_开屏广告 45 | https?:\/\/rich\.kuwo\.cn\/AdService url reject-200 46 | # > 酷我音乐_数字专辑 47 | ^https?:\/\/musicpay\.kuwo\.cn\/music\.pay\?newver url script-response-body https://github.com/ddgksf2013/dev/raw/main/kuwomusic.js 48 | # > 酷我音乐_听书权限接口1 49 | ^https?:\/\/.*\.(kuwo|lrts)\.(cn|me)\/a\.p url script-response-body https://github.com/ddgksf2013/dev/raw/main/kuwomusic.js 50 | # > 酷我音乐_听书权限接口2 51 | ^https?:\/\/.*\.kuwo\.cn\/v2\/api\/pay\/vip\/extraVipStatus url script-response-body https://github.com/ddgksf2013/dev/raw/main/kuwomusic.js 52 | # > 酷我音乐_新版vip接口1 53 | ;^https?:\/\/vip1\.kuwo\.cn\/vip\/enc\/user\/vip\?op=ui url script-response-body https://github.com/ddgksf2013/dev/raw/main/kuwomusic.js 54 | # > 酷我音乐_新版vip接口2 55 | ;^https?:\/\/vip1\.kuwo\.cn\/vip\/v2\/userbase\/vip\?op=get url script-response-body https://github.com/ddgksf2013/dev/raw/main/kuwomusic.js 56 | # > 酷我音乐_旧版vip接口 57 | ;^https?:\/\/vip1\.kuwo\.cn\/vip\/v2\/user\/vip($|\?op=ui) url script-response-body https://github.com/ddgksf2013/dev/raw/main/kuwomusic.js 58 | # > 酷我音乐_皮肤解锁 59 | ^https?:\/\/vip1\.kuwo\.cn\/vip\/v2\/theme url script-response-body https://github.com/ddgksf2013/dev/raw/main/kuwomusic.js 60 | # > 酷我音乐_无损下载[限纯净版] 61 | ^https?:\/\/musicpay\.kuwo\.cn\/music\.pay\?ui url script-request-header https://github.com/ddgksf2013/dev/raw/main/kuwomusic.js -------------------------------------------------------------------------------- /Rewrite/Pojie.snippet: -------------------------------------------------------------------------------- 1 | hostname = isi.csan.goodnotes.com, notability.com, cad.glodon.com, i.at.qq.com, server.*.com, cubox.*, day-api.xixitime.com, app.yidiansz.com, wrapper.cyapi.cn, starplucker.cyapi.cn, biz.cyapi*, api.revenuecat.com, api2.mubu.com, ap*.intsig.net, lchttpapi.xczim.com 2 | 3 | 4 | # GoodNotes v6 5 | ;^https:\/\/isi\.csan\.goodnotes\.com\/.+\/(receipts$|subscribers\/?(.*?)*$) url script-response-body https://raw.githubusercontent.com/chxm1023/Rewrite/main/goodnotes6.js 6 | ;^https:\/\/isi\.csan\.goodnotes\.com\/.+\/(receipts$|subscribers\/?(.*?)*$) url script-request-header https://raw.githubusercontent.com/chxm1023/Rewrite/main/goodnotes6.js 7 | ^https:\/\/isi\.csan\.goodnotes\.com\/.+\/(receipts$|subscribers\/[^/]+$) url script-echo-response https://github.com/ddgksf2013/MoYu/raw/master/GoodNotesProCrack.js 8 | ^https:\/\/isi\.csan\.goodnotes\.com\/.+\/subscribers\/[^/]+/(offerings|attributes)$ url request-header (\r\n)X-RevenueCat-ETag:.+(\r\n) request-header $1X-RevenueCat-ETag:$2 9 | 10 | # notability 11 | ^https?:\/\/notability\.com\/(global|subscriptions) url script-response-body https://raw.githubusercontent.com/chxm1023/Rewrite/main/notability.js 12 | 13 | # CAD快速看图 14 | ^https?:\/\/cad\.glodon\.com\/(account|authorize\/query|alipay\/auth) url script-response-body https://raw.githubusercontent.com/Yu9191/Rewrite/main/cad.js 15 | 16 | # 微信听书 17 | ^https?:\/\/i\.at\.qq\.com\/pay\/memberinfo.+ url script-response-body https://raw.githubusercontent.com/chxm1023/Rewrite/main/wxts.js 18 | 19 | # Fimo复古相机 server.*.com 20 | ^https:\/\/server\.(yoyiapp|zbisq)\.com\/fimo-user\/user|apple\/certificate url script-response-body https://raw.githubusercontent.com/chxm1023/Rewrite/main/fimo.js 21 | 22 | # Cubox 23 | ^https:\/\/cubox\.(pro|cc)\/c\/api\/userInfo url script-response-body https://raw.githubusercontent.com/xuandrew/Quantumult-X/master/Script/cubox.js 24 | 25 | # 倒数纪念日 26 | ^https:\/\/day-api\.xixitime\.com\/(vip\/state|user\/info) url script-response-body https://raw.githubusercontent.com/chxm1023/Rewrite/main/dsjnr.js 27 | 28 | # 阅读记录 29 | ^https:\/\/app\.yidiansz\.com\/api\/.+\/app\/user\/info?(.*?)*$ url script-response-body https://raw.githubusercontent.com/chxm1023/Rewrite/main/ydjl.js 30 | 31 | # 彩云天气 32 | ;^https?:\/\/(biz|wrapper)\.cyapi\.cn\/(.+\/(user.+|visitors|activity)|p\/v\d\/vip_info) url script-response-body https://raw.githubusercontent.com/chxm1023/Rewrite/main/caiyuntianqi.js 33 | ;^http:\/\/adx\.sogaha\.cn\/sdk\/ad\/get url reject-200 34 | ;^https:\/\/biz\.cyapi\.cn\/p\/v1\/user_info url script-response-body https://raw.githubusercontent.com/xuandrew/Quantumult-X/master/Script/caiyun-user.js 35 | ;^https:\/\/biz\.caiyunapp\.com\/v2\/user\?app_name\=weather url script-response-body https://raw.githubusercontent.com/xuandrew/Quantumult-X/master/Script/caiyun.js 36 | ;https?:\/\/biz\.caiyunapp\.com\/(membership_rights|v2\/user) url script-response-body https://raw.githubusercontent.com/githubdulong/Script/master/cytq.js 37 | ;^http[s]?:\/\/biz\.(caiyunapp|cyapi)\.(com|cn)\/v2\/user.*$ url script-response-body https://raw.githubusercontent.com/WeiRen0/Scripts/main/cytq.js 38 | ;^https:\/\/biz\.(caiyunapp|cyapi)\.(com|cn)\/(v2\/user|v1\/visitors) url script-response-body https://raw.githubusercontent.com/xuandrew/Quantumult-X/master/Script/caiyun.js 39 | ;https?:\/\/biz\.caiyunapp\.com\/(membership_rights|v2\/user) url script-response-body https://raw.githubusercontent.com/Tartarus2014/Script/master/CaiYun.js 40 | ;https?:\/\/biz\.caiyunapp\.com\/(membership_rights|v2\/user) url script-response-body https://raw.githubusercontent.com/chxm1023/Rewrite/main/caiyun_svip.js 41 | ;^https:\/\/biz\.caiyunapp\.com\/v2\/user\?app_name\=weather url script-response-body https://raw.githubusercontent.com/Maasea/surgeModule/master/Script/Weather/weather.js 42 | ;^https:\/\/biz\.cyapi\.cn\/(p\/v1\/vip_info|v2\/user) url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/break/caiyun.js 43 | ^https:\/\/biz\.cyapi\.cn\/p\/v1\/entries\? url reject-dict 44 | ^https:\/\/biz\.cyapi\.cn\/(p\/v1\/vip_info|v2\/user) url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/break/caiyun.js 45 | ^https:\/\/starplucker\.cyapi\.cn\/v3\/operation\/homefeatures\? url reject-dict 46 | ^https:\/\/wrapper\.cyapi\.cn\/v1\/activity\? url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/break/caiyun.js 47 | ^https:\/\/wrapper\.cyapi\.cn\/v1\/(nafp\/origin_images|satellite)\? url script-request-header https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/break/caiyun.js 48 | ;^https?:\/\/wrapper\.cyapi\.cn\/v1\/activity\? data="https://raw.githubusercontent.com/Keywos/rule/main/mocks/caiyun.json" 49 | 50 | # RevenueCat@ddgksf2013 51 | ;^https:\/\/api\.revenuecat\.com\/.+\/(receipts$|subscribers\/[^/]+$) url script-echo-response https://gist.githubusercontent.com/ddgksf2013/dbb1695cd96743eef18f3fac5c6fe227/raw/revenuecat.js 52 | ;^https:\/\/api\.revenuecat\.com\/.+\/subscribers\/[^/]+/(offerings|attributes)$ url request-header (\r\n)X-RevenueCat-ETag:.+(\r\n) request-header $1X-RevenueCat-ETag:$2 53 | # > Unlock Revenuecat 54 | ;^https:\/\/api\.revenuecat\.com\/.+\/(receipts$|subscribers\/?(.*?)*$) url script-response-body https://raw.githubusercontent.com/chxm1023/Rewrite/main/Reheji.js 55 | ;^https:\/\/api\.revenuecat\.com\/.+\/(receipts$|subscribers\/?(.*?)*$) url script-request-header https://raw.githubusercontent.com/chxm1023/Rewrite/main/Reheji.js 56 | #修改 57 | ;^https?:\/\/api\.revenuecat\.com\/v1\/(subscribers\/[^\/]+$|receipts$) url script-response-body https://raw.githubusercontent.com/Yu9191/Rewrite/main/Revenuecat.js 58 | #清理 59 | ;^https?:\/\/api\.revenuecat\.com\/v1\/(subscribers\/[^\/]+$|receipts$) url script-request-header https://raw.githubusercontent.com/Yu9191/Rewrite/main/Revenuecat.js 60 | # vsco 61 | ;^https:\/\/api\.revenuecat\.com\/.+\/(receipts$|subscribers\/?(.*?)*$) url script-response-body https://raw.githubusercontent.com/chxm1023/Rewrite/main/vsco.js 62 | # ChatAI 63 | ^https?:\/\/api\.revenuecat\.com\/.+\/(receipts$|subscribers\/?(.*?)*$) url script-response-body https://raw.githubusercontent.com/chxm1023/Rewrite/main/Revenuecat/chatai.js 64 | ^https?:\/\/api\.revenuecat\.com\/.+\/(receipts$|subscribers\/?(.*?)*$) url script-request-header https://raw.githubusercontent.com/chxm1023/Rewrite/main/Revenuecat/chatai.js 65 | # Photomator 66 | ;^https?:\/\/api\.revenuecat\.com\/.+\/(receipts$|subscribers\/?(.*?)*$) url script-response-body https://raw.githubusercontent.com/chxm1023/Rewrite/main/Revenuecat/Photomator.js 67 | ;^https?:\/\/api\.revenuecat\.com\/.+\/(receipts$|subscribers\/?(.*?)*$) url script-request-header https://raw.githubusercontent.com/chxm1023/Rewrite/main/Revenuecat/Photomator.js 68 | # 白云天气 69 | ;^https?:\/\/api\.revenuecat\.com\/v1\/(receipts|subscribers\/\$RCAnonymousID%3A\w{32})$ url script-response-body https://raw.githubusercontent.com/dsvip/Quantumult-X/main/on1y/script/bytq.js 70 | 71 | # 幕布-大纲笔记+解锁VIP 72 | ;^https:\/\/api2.mubu.com\/v3\/api\/user/* url script-response-body https://raw.githubusercontent.com/89996462/Quantumult-X/main/ycdz/mubu.js 73 | ^https:\/\/api2.mubu.com\/v3\/api\/user/* url script-response-body https://raw.githubusercontent.com/xuandrew/Quantumult-X/master/Script/mubu.js 74 | 75 | # 扫描全能王 76 | ^https:\/\/(api|api-cs-cn)*\.intsig\.net\/purchase\/cs\/query_property\? url script-response-body https://raw.githubusercontent.com/xuandrew/Quantumult-X/master/Script/Camscanner.js 77 | 78 | # 西窗烛 lchttpapi.xczim.com 79 | https://lchttpapi.xczim.com/* url script-response-body https://raw.githubusercontent.com/xuandrew/Quantumult-X/master/Script/xichuangzhu.js 80 | -------------------------------------------------------------------------------- /Rewrite/Q-Search_All_in_one.snippet: -------------------------------------------------------------------------------- 1 | hostname = duckduckgo.com 2 | 3 | 4 | 5 | #>>>>>>>>>>>>>>>>>>>>>>>翻译 6 | # yd xxx (有道词典) 7 | ^https:\/\/duckduckgo.com\/\?q=yd\+([^&]+).+ url 302 http://dict.youdao.com/search?q=$1 8 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+yd.+ url 302 http://dict.youdao.com/search?q=$1 9 | # trc xxx (Google 译至中) 10 | ^https:\/\/duckduckgo.com\/\?q=trc\+([^&]+).+ url 302 https://translate.google.com/#view=home&op=translate&sl=auto&tl=zh-CN&text=$1 11 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+trc.+ url 302 https://translate.google.com/#view=home&op=translate&sl=auto&tl=zh-CN&text=$1 12 | # tre xxx (Google 译至英) 13 | ^https:\/\/duckduckgo.com\/\?q=tre\+([^&]+).+ url 302 https://translate.google.com/#view=home&op=translate&sl=auto&tl=en&text=$1 14 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+tre.+ url 302 https://translate.google.com/#view=home&op=translate&sl=auto&tl=en&text=$1 15 | # trj xxx (Google 译至日) 16 | ^https:\/\/duckduckgo.com\/\?q=trj\+([^&]+).+ url 302 https://translate.google.com/#view=home&op=translate&sl=auto&tl=ja&text=$1 17 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+trj.+ url 302 https://translate.google.com/#view=home&op=translate&sl=auto&tl=ja&text=$1 18 | 19 | 20 | 21 | #>>>>>>>>>>>>>>>>>>>>>>>社区 22 | # tt xxx (头条) 23 | ^https:\/\/duckduckgo.com\/\?q=tt\+([^&]+).+ url 302 https://so.toutiao.com/search?keyword=$1 24 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+tt.+ url 302 https://so.toutiao.com/search?keyword=$1 25 | # db xxx (豆瓣) 26 | ^https:\/\/duckduckgo.com\/\?q=db\+([^&]+).+ url 302 https://m.douban.com/search?query=$1 27 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+db.+ url 302 https://m.douban.com/search?query=$1 28 | # zh xxx (知乎) 29 | ^https:\/\/duckduckgo.com\/\?q=zh\+([^&]+).+ url 302 http://www.zhihu.com/search?q=$1 30 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+zh.+ url 302 http://www.zhihu.com/search?q=$1 31 | # wb xxx (微博) 32 | ^https:\/\/duckduckgo.com\/\?q=wb\+([^&]+).+ url 302 https://s.weibo.com/weibo/$1 33 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+wb.+ url 302 https://s.weibo.com/weibo/$1 34 | # wx xxx (微信) 35 | ^https:\/\/duckduckgo.com\/\?q=wx\+([^&]+).+ url 302 https://weixin.sogou.com/weixinwap?query=$1 36 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+wx.+ url 302 https://weixin.sogou.com/weixinwap?query=$1 37 | # up xxx (Unsplash) 38 | ^https:\/\/duckduckgo.com\/\?q=up\+([^&]+).+ url 302 https://unsplash.com/s/photos/$1 39 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+up.+ url 302 https://unsplash.com/s/photos/$1 40 | # sspai xxx (少数派站内搜索) 41 | ^https:\/\/duckduckgo.com\/\?q=sspai\+([^&]+).+ url 302 https://sspai.com/search/post/$1 42 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+sspai.+ url 302 https://sspai.com/search/post/$1 43 | # ssp xxx (Google 搜索少数派) 44 | ^https:\/\/duckduckgo.com\/\?q=ssp\+([^&]+).+ url 302 https://www.google.com/search?as_q=$1&as_sitesearch=sspai.com 45 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+ssp.+ url 302 https://www.google.com/search?as_q=$1&as_sitesearch=sspai.com 46 | # tw xxx (Twitter) 47 | ^https:\/\/duckduckgo.com\/\?q=tw\+([^&]+).+ url 302 https://twitter.com/search?q=$1 48 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+tw.+ url 302 https://twitter.com/search?q=$1 49 | # gh xxx (GitHub) 50 | ^https:\/\/duckduckgo.com\/\?q=gh\+([^&]+).+ url 302 https://github.com/search?q=$1 51 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+gh.+ url 302 https://github.com/search?q=$1 52 | # gu xxx (GitHub User) 53 | ^https:\/\/duckduckgo.com\/\?q=gu\+([^&]+).+ url 302 https://github.com/search?q=$1&type=users 54 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+gu.+ url 302 https://github.com/search?q=$1&type=users 55 | # gc xxx (GitHub Code) 56 | ^https:\/\/duckduckgo.com\/\?q=gc\+([^&]+).+ url 302 https://github.com/search?o=desc&q=$1&s=indexed&type=Code 57 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+gc.+ url 302 https://github.com/search?o=desc&q=$1&s=indexed&type=Code 58 | # so xxx (Stack Overflow) 59 | ^https:\/\/duckduckgo.com\/\?q=so\+([^&]+).+ url 302 https://stackoverflow.com/search?q=$1 60 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+so.+ url 302 https://stackoverflow.com/search?q=$1 61 | # se xxx (StackExchange) 62 | ^https:\/\/duckduckgo.com\/\?q=se\+([^&]+).+ url 302 https://stackexchange.com/search?q=$1 63 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+se.+ url 302 https://stackexchange.com/search?q=$1 64 | # wa xxx (WolframAlpha) 65 | ^https:\/\/duckduckgo.com\/\?q=wa\+([^&]+).+ url 302 https://www.wolframalpha.com/input/?i=$1 66 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+wa.+ url 302 https://www.wolframalpha.com/input/?i=$1 67 | # rd xxx (Reddit) 68 | ^https:\/\/duckduckgo.com\/\?q=rd\+([^&]+).+ url 302 https://www.reddit.com/search?q=$1 69 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+rd.+ url 302 https://www.reddit.com/search?q=$1 70 | 71 | 72 | 73 | #>>>>>>>>>>>>>>>>>>>>>>>购物 74 | # zdm xxx (什么值得买) 75 | ^https:\/\/duckduckgo.com\/\?q=zdm\+([^&]+).+ url 302 https://search.m.smzdm.com/?v=b&s=$1 76 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+zdm.+ url 302 https://search.m.smzdm.com/?v=b&s=$1 77 | # jd xxx (京东) 78 | ^https:\/\/duckduckgo.com\/\?q=jd\+([^&]+).+ url 302 openapp.jdmobile://virtual?params={"des":"productList","keyWord":"$1","from":"search","category":"jump"} 79 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+jd.+ url 302 openapp.jdmobile://virtual?params={"des":"productList","keyWord":"$1","from":"search","category":"jump"} 80 | # tb xxx (淘宝) 81 | ^https:\/\/duckduckgo.com\/\?q=tb\+([^&]+).+ url 302 taobao://s.taobao.com?q=$1 82 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+tb.+ url 302 taobao://s.taobao.com?q=$1 83 | 84 | 85 | #>>>>>>>>>>>>>>>>>>>>>>>视频 86 | # yt xxx (YouTube) 87 | ^https:\/\/duckduckgo.com\/\?q=yt\+([^&]+).+ url 302 https://www.youtube.com/results?search_query=$1 88 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+yt.+ url 302 https://www.youtube.com/results?search_query=$1 89 | # bli xxx (哔哩哔哩) 90 | ^https:\/\/duckduckgo.com\/\?q=bli\+([^&]+).+ url 302 https://m.bilibili.com/search?keyword=$1 91 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+bli.+ url 302 https://m.bilibili.com/search?keyword=$1 92 | # gd xxx (Google 搜索 Google Drive 资源) 93 | ^https:\/\/duckduckgo.com\/\?q=gd\+([^&]+).+ url 302 https://www.google.com/search?q=%22Google+Drive%22+$1 94 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+gd.+ url 302 https://www.google.com/search?q=%22Google+Drive%22+$1 95 | # tgd xxx (t.me/gdurl 搜索 Google Drive 资源) 96 | ^https:\/\/duckduckgo.com\/\?q=tgd\+([^&]+).+ url 302 https://t.me/s/gdurl?q=$1 97 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+tgd.+ url 302 https://t.me/s/gdurl?q=$1 98 | # ph xxx (PornHub) 99 | ^https:\/\/duckduckgo.com\/\?q=ph\+([^&]+).+ url 302 https://cn.pornhub.com/video/search?search=$1 100 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+ph.+ url 302 https://cn.pornhub.com/video/search?search=$1 101 | # af xxx (Acfun) 102 | ^https:\/\/duckduckgo.com\/\?q=af\+([^&]+).+ url 302 https://www.acfun.cn/search?keyword=$1 103 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+af.+ url 302 https://www.acfun.cn/search?keyword=$1 104 | # ys xxx (茶杯狐cupfox) 105 | ^https:\/\/duckduckgo.com\/\?q=ys\+([^&]+).+ url 302 https://cupfox.app/search?key=$1 106 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+ys.+ url 302 https://cupfox.app/search?key=$1 107 | 108 | 109 | #>>>>>>>>>>>>>>>>>>>>>>>苹果商店切换 110 | #源链接爬虫于>>https://www.liangjianghu.com/searchads-appstore-switch 111 | #Created by ddgksf2013,使用方法:输入区号,搜索即可 112 | # cn (切换至中国区) 113 | ^https:\/\/duckduckgo.com\/\?q=cn&.+ url 302 https://itunes.apple.com/WebObjects/MZStore.woa/wa/resetAndRedirect?dsf=143465&mt=8&url=/WebObjects/MZStore.woa/wa/viewSoftware?mt=8&id=1108187390&cc=cn&urlDesc= 114 | # hk (切换至香港区) 115 | ^https:\/\/duckduckgo.com\/\?q=hk&.+ url 302 https://itunes.apple.com/WebObjects/MZStore.woa/wa/resetAndRedirect?dsf=143463&mt=8&url=/WebObjects/MZStore.woa/wa/viewSoftware?mt=8&id=1108187390&cc=hk&urlDesc= 116 | # tw (切换至台湾区) 117 | ^https:\/\/duckduckgo.com\/\?q=tw&.+ url 302 https://itunes.apple.com/WebObjects/MZStore.woa/wa/resetAndRedirect?dsf=143470&mt=8&url=/WebObjects/MZStore.woa/wa/viewSoftware?mt=8&id=1108187390&cc=tw&urlDesc= 118 | # us (切换至美国区) 119 | ^https:\/\/duckduckgo.com\/\?q=us&.+ url 302 https://itunes.apple.com/WebObjects/MZStore.woa/wa/resetAndRedirect?dsf=143441&mt=8&url=/WebObjects/MZStore.woa/wa/viewSoftware?mt=8&id=1108187390&cc=us&urlDesc= 120 | # jp (切换至日本区) 121 | ^https:\/\/duckduckgo.com\/\?q=jp&.+ url 302 https://itunes.apple.com/WebObjects/MZStore.woa/wa/resetAndRedirect?dsf=143462&mt=8&url=/WebObjects/MZStore.woa/wa/viewSoftware?mt=8&id=1108187390&cc=jp&urlDesc= 122 | # kr (切换至韩国区) 123 | ^https:\/\/duckduckgo.com\/\?q=kr&.+ url 302 https://itunes.apple.com/WebObjects/MZStore.woa/wa/resetAndRedirect?dsf=143466&mt=8&url=/WebObjects/MZStore.woa/wa/viewSoftware?mt=8&id=1108187390&cc=kr&urlDesc= 124 | # tr (切换至土耳其区) 125 | ^https:\/\/duckduckgo.com\/\?q=tr&.+ url 302 https://itunes.apple.com/WebObjects/MZStore.woa/wa/resetAndRedirect?dsf=143480&mt=8&url=/WebObjects/MZStore.woa/wa/viewSoftware?mt=8&id=1108187390&cc=tr&urlDesc= 126 | # sg (切换至新加坡区) 127 | ^https:\/\/duckduckgo.com\/\?q=sg&.+ url 302 https://itunes.apple.com/WebObjects/MZStore.woa/wa/resetAndRedirect?dsf=143464&mt=8&url=/WebObjects/MZStore.woa/wa/viewSoftware?mt=8&id=1108187390&cc=tr&urlDesc= 128 | 129 | 130 | #>>>>>>>>>>>>>>>>>>>>>>>搜索 131 | # bd xxx (百度搜索) 132 | ^https:\/\/duckduckgo.com\/\?q=bd\+([^&]+).+ url 302 https://www.baidu.com/s?wd=$1 133 | ^https:\/\/duckduckgo.com\/\?q=((.(?!bd))+)\+bd.+ url 302 https://www.baidu.com/s?wd=$1 134 | # wk xxx (维基搜索) 135 | ^https:\/\/duckduckgo.com\/\?q=wk\+([^&]+).+ url 302 https://zh.wikipedia.org/wiki/$1 136 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+wk.+ url 302 https://zh.wikipedia.org/wiki/$1 137 | # wz xxx (无追搜索) 138 | ^https:\/\/duckduckgo.com\/\?q=wz\+([^&]+).+ url 302 https://www.wuzhuiso.com/s?q=$1 139 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+wz.+ url 302 https://www.wuzhuiso.com/s?q=$1 140 | # yh xxx (油猴搜索) 141 | ^https:\/\/duckduckgo.com\/\?q=yh\+([^&]+).+ url 302 https://greasyfork.org/zh-CN/scripts?q=$1 142 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+yh.+ url 302 https://greasyfork.org/zh-CN/scripts?q=$1 143 | # gi xxx (Google 图片) 144 | ^https:\/\/duckduckgo.com\/\?q=gi\+([^&]+).+ url 302 https://www.google.com/search?&tbm=isch&q=$1 145 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+gi.+ url 302 https://www.google.com/search?&tbm=isch&q=$1 146 | # by xxx (必应) 147 | ^https:\/\/duckduckgo.com\/\?q=by\+([^&]+).+ url 302 https://www.bing.com/search?q=$1 148 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+by.+ url 302 https://www.bing.com/search?q=$1 149 | # ios xxx (苹果应用搜索) 150 | ^https:\/\/duckduckgo.com\/\?q=ios\+([^&]+).+ url 302 https://www.qimai.cn/search/index/search/$1 151 | ^https:\/\/duckduckgo.com\/\?q=([^+]+)\+ios.+ url 302 https://www.qimai.cn/search/index/search/$1 152 | # xxx (无指令默认为 Google) 153 | ^https:\/\/duckduckgo.com\/\?q=([^&]+).+ url 302 https://www.google.com/search?q=$1 154 | -------------------------------------------------------------------------------- /Rewrite/Xiaohongshu.snippet: -------------------------------------------------------------------------------- 1 | ;hostname = edith.xiaohongshu.com, www.xiaohongshu.com 2 | 3 | # > 小红书 edith.xiaohongshu.com,www.xiaohongshu.com,pages.xiaohongshu.com,referee.xiaohongshu.com 4 | # 小红书开屏广告 5 | ;^https?:\/\/edith\.xiaohongshu\.com\/api\/sns\/v2\/system_service\/splash_config url script-response-body https://raw.githubusercontent.com/chouchoui/QuanX/master/Scripts/xiaohongshu/xiaohongshu.ad.js 6 | # 推荐信息流广告 7 | ;^https:\/\/edith\.xiaohongshu\.com\/api\/sns\/v6\/homefeed\? url script-response-body https://raw.githubusercontent.com/chouchoui/QuanX/master/Scripts/xiaohongshu/xiaohongshu.ad.js 8 | 9 | hostname = edith.xiaohongshu.com,www.xiaohongshu.com,pages.xiaohongshu.com,referee.xiaohongshu.com, *.xhscdn.com 10 | 11 | # > 小红书_视频播放页商品推广@ddgksf2013 12 | ^https?:\/\/edith\.xiaohongshu\.com\/api\/sns\/v\d\/note\/widgets url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/redbook_json.js 13 | # > 小红书_短视频流去水印+强制开启保存功能@ddgksf2013 14 | ^https?:\/\/edith\.xiaohongshu\.com\/api\/sns\/v\d\/note\/redtube\? url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/redbook_json.js 15 | # > 小红书_信息流视频去水印+强制开启保存功能@ddgksf2013 16 | ^https?:\/\/edith\.xiaohongshu\.com\/api\/sns\/v\d\/note\/videofeed\? url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/redbook_json.js 17 | # > 小红书_信息流图片去水印@ddgksf2013 18 | ^https?:\/\/edith\.xiaohongshu\.com\/api\/sns\/v\d\/note\/feed\? url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/redbook_json.js 19 | # > 小红书_开屏广告@ddgksf2013 20 | ;^https?:\/\/edith\.xiaohongshu\.com\/api\/sns\/v\d\/system_service\/splash_config url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/redbook_json.js 21 | # > 小红书_首页瀑布流@ddgksf2013 22 | ;^https?:\/\/edith\.xiaohongshu\.com\/api\/sns\/v\d\/homefeed\? url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/redbook_json.js 23 | # > 小红书_启动处理@ddgksf2013 24 | ;^https?:\/\/edith\.xiaohongshu\.com\/api\/sns\/v\d\/system_service\/config\? url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/redbook_json.js 25 | # > 小红书_热搜发现@ddgksf2013 26 | ;^https?:\/\/edith\.xiaohongshu\.com\/api\/sns\/v\d\/search\/hot_list url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/redbook_json.js 27 | # > 小红书_默认填词@ddgksf2013 28 | ;^https?:\/\/edith\.xiaohongshu\.com\/api\/sns\/v\d\/search\/hint url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/redbook_json.js 29 | # > 小红书_去除购物@ddgksf2013 30 | ^https?:\/\/edith\.xiaohongshu\.com\/api\/sns\/v\d\/homefeed\/categories url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/redbook_json.js 31 | # > 小红书_猜你想搜@ddgksf2013 32 | ;^https?:\/\/edith\.xiaohongshu\.com\/api\/sns\/v\d\/search\/trending url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/redbook_json.js 33 | # > 小红书_通用广告请求@ddgksf2013 34 | ^https?:\/\/www\.xiaohongshu\.com\/api\/sns\/v\d\/(tag\/)?ads url reject-dict 35 | # > 小红书_隐私屏蔽@ddgksf2013 36 | ^https?:\/\/referee\.xiaohongshu\.com\/v\d\/stateReport url reject-dict 37 | # > 小红书_Switches@ddgksf2013 38 | ^https?:\/\/pages\.xiaohongshu\.com\/data\/native\/matrix_switches url reject-dict 39 | # > 小红书_青少年请求@ddgksf2013 40 | ^https?:\/\/edith\.xiaohongshu\.com\/api\/sns\/v\d\/user\/teenager\/status url reject-dict 41 | # > 小红书_启动引导@ddgksf2013 42 | ^https?:\/\/edith\.xiaohongshu\.com\/api\/sns\/v\d\/guide\/home_guide url reject-dict 43 | 44 | 45 | # ======= 小红书 ======= # 46 | # 2023-04-26 20:10 47 | 48 | # 惊喜弹窗 49 | ^https:\/\/edith\.xiaohongshu\.com\/api\/sns\/v1\/surprisebox\/(get_style\?|open\?|submit_action$) url reject-dict 50 | ^https:\/\/www\.xiaohongshu\.com\/api\/marketing\/box\/trigger\? url reject-dict 51 | 52 | # 搜索页 53 | ^https:\/\/edith\.xiaohongshu\.com\/api\/sns\/v1\/search\/(banner|hot)_list\?? url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/xiaohongshu.js 54 | ^https:\/\/edith\.xiaohongshu\.com\/api\/sns\/v4\/search\/(hint|trending)\? url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/xiaohongshu.js 55 | ^https:\/\/edith\.xiaohongshu\.com\/api\/sns\/v10\/search\/notes\? url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/xiaohongshu.js 56 | 57 | # 开屏广告 58 | ^https:\/\/edith\.xiaohongshu\.com\/api\/sns\/v1\/system_service\/config\? url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/xiaohongshu.js 59 | ^https:\/\/edith\.xiaohongshu\.com\/api\/sns\/v2\/system_service\/splash_config$ url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/xiaohongshu.js 60 | 61 | # 信息流 62 | ^https:\/\/edith\.xiaohongshu\.com\/api\/sns\/v3\/note\/guide\? url reject-dict 63 | ^https:\/\/edith\.xiaohongshu\.com\/api\/sns\/v4\/followfeed\? url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/xiaohongshu.js 64 | ^https:\/\/edith\.xiaohongshu\.com\/api\/sns\/v6\/homefeed\? url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/xiaohongshu.js 65 | ^https:\/\/edith\.xiaohongshu\.com\/api\/sns\/v[23]\/note\/(feed|redtube|videofeed)\? url response-body "disable_watermark":false, response-body "disable_watermark":true, 66 | ^https:\/\/www\.xiaohongshu\.com\/api\/sns\/v1\/ads\/resource\? url reject-dict 67 | 68 | 69 | # 精简占用 70 | (?=xhscdn.*\.(otf|OTF|ttf|TTF|zip)) url reject -------------------------------------------------------------------------------- /Rewrite/Ximalaya.snippet: -------------------------------------------------------------------------------- 1 | ;hostname = *.ximalaya.com, 47.100.227.85, 61.164.145.12, 61.172.194.185, 61.172.194.186, 106.41.204.126, 112.80.180.72, 112.98.170.228, 112.99.146.108, 114.80.99.*, 118.25.119.177, 180.153.140.*, 180.153.250.*, 180.153.255.* 2 | hostname = 43.132.81.*,101.33.27.*,114*0.*,61.172.1*.*,43.141.11.*,114.80.99.86,180.153.255.*,114.80.99.*,*.mysteel.*,61.172.194.196,180.153.*.*,*xima*,*xmcdn*,*.ximalaya.com,*.xmcdn.com,180.153.255.*,180.153.140.*,180.153.250.*,114.80.99.*,114.80.139.237,114.80.161.29,1.62.62.64,51*.com,1.194.255.171, 23.236.99.89, 36.99.200.135, 42.81.4.198, 42.81.26.128, 42.81.120.58, 43.132.80.77, 43.132.83.175, 43.132.84.11, 43.152.24.12, 43.152.24.18, 43.152.25.127, 43.152.29.38, 43.175.16.34, 43.175.22.25, 43.175.44.15, 49.7.69.197, 49.51.224.95, 101.33.11.32, 101.33.11.106, 101.33.20.34, 101.33.29.110, 103.105.60.99, 114.80.99.90, 114.80.99.70, 114.80.99.71, 114.80.99.89, 114.80.99.91, 114.80.99.88, 114.80.99.87, 140.249.84.135, 140.249.85.189, 150.109.90.80, 150.109.91.35, 150.138.47.94, 150.138.136.145, 203.205.136.87, 203.205.136.100, 203.205.136.102, 203.205.136.159, 203.205.137.27, 203.205.137.87, 203.205.137.241, 203.205.250.111, 203.205.250.113, 211.152.137.25, ulogs.umeng.com, passport.ximalaya.com, 180.153.*.*,*xima*,-*xmcdn*,*.ximalaya.com,-*.xmcdn.com,180.153.255.*,180.153.140.*,180.153.250.*,114.80.99.*,114.80.139.237,114.80.161.29,1.62.62.64,51*.com 3 | 4 | 5 | # 喜马拉雅听去广告 6 | #hostname = *.xima*.*, *.xmcdn.* 7 | # ~ XiMaLaYa_喜马拉雅_首页顶部去除直播@ddgksf2013 8 | ;^https?:\/\/.*\.xima.*\.com\/discovery-category\/customCategories url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/ximalaya_json.js 9 | # ~ XiMaLaYa_喜马拉雅_修复轮播Ad失效Bug@ddgksf2013 10 | ;^https?:\/\/.*\.xima.*\.com\/discovery-feed\/focus\/queryF url reject 11 | # ~ XiMaLaYa_喜马拉雅_播放页_Live@ddgksf2013 12 | ;^https?:\/\/.*\.xima.*\.com\/mobile-playpage\/view\/ url reject 13 | # ~ XiMaLaYa_喜马拉雅_MyInfo红点提醒@ddgksf2013 14 | ;^https?:\/\/.*\.xima.*\.com\/chaos-notice-web\/v1\/message\/preview\/list url reject 15 | # ~ XiMaLaYa_喜马拉雅_屏蔽大红包Tips@ddgksf2013 16 | ;^https?:\/\/.*\.xima.*\.com\/social-web\/bottomTabs\/dynamicEntrance\/status url reject 17 | # ~ XiMaLaYa_喜马拉雅_屏蔽gif弹窗Ad@ddgksf2013 18 | ;^https?:\/\/.*\.xmcdn\.com\/\w{8}\/\w{4}-\w{16}\/.+gif$ url reject 19 | # ~ XiMaLaYa_喜马拉雅_gslb@ddgksf2013 20 | ;^https?:\/\/gslb.*\.xima.*\.com\/ url reject 21 | # ~ XiMaLaYa_喜马拉雅_屏蔽Aged请求@ddgksf2013 22 | ;^https?:\/\/.*\.xima.*\.com\/(dog-portal\/checkOld|(child-mobile\/child|aged-mobile\/aged)\/mode\/query) url reject 23 | # ~ XiMaLaYa_喜马拉雅_部分Tab弹窗@ddgksf2013 24 | ;^https?:\/\/.*\.xima.*\.com\/discovery-feed\/isShowUserGiftPendant url reject 25 | # ~ XiMaLaYa_喜马拉雅_屏蔽红点提示@ddgksf2013 26 | ;^https?:\/\/.*\.xima.*\.com\/mobile-user\/unread url reject 27 | # ~ XiMaLaYa_喜马拉雅_屏蔽minor请求@ddgksf2013 28 | ;^https?:\/\/.*\.xima.*\.com/mobile-user/minorProtection/pop url reject 29 | # ~ XiMaLaYa_喜马拉雅_屏蔽隐私搜集@ddgksf2013 30 | ;^https?:\/\/.*\.xima.*\.com\/collector\/xl\/v\d url reject 31 | # ~ XiMaLaYa_喜马拉雅_屏蔽版本更新@ddgksf2013 32 | ;^https?:\/\/.*\.xima.*\.com\/butler-portal\/versionCheck url reject 33 | # ~ XiMaLaYa_喜马拉雅_屏蔽开屏广告@ddgksf2013 34 | ;^https?:\/\/(adse\.wsa|adse|adbehavior|xdcs-collector)\.xima.*\.com\/.* url reject 35 | # ~ XiMaLaYa_喜马拉雅_屏蔽位置请求@ddgksf2013 36 | ;^https?:\/\/.*\.xima.*\.com\/mobile\/discovery\/v\d\/location url reject 37 | # ~ XiMaLaYa_喜马拉雅_屏蔽热搜词@ddgksf2013 38 | ;^https?:\/\/.*\.xima.*\.com\/hotWord url reject 39 | # ~ XiMaLaYa_喜马拉雅_屏蔽搜索框定时_Ad@ddgksf2013 40 | ;^https?:\/\/.*\.xima.*\.com\/(hub)?guideWord url reject 41 | # ~ XiMaLaYa_喜马拉雅_屏蔽实时Ad请求@ddgksf2013 42 | ;^https?:\/\/.*\.xima.*\.com\/api\/v\d\/adRealTime url reject 43 | # ~ XiMaLaYa_喜马拉雅_屏蔽ting_Ad@ddgksf2013 44 | ;^https?:\/\/.*\.xima.*\.com\/ting\/(loading|feed|home)? url reject 45 | # ~ XiMaLaYa_喜马拉雅_屏蔽首页横幅_Ad@ddgksf2013 46 | ;^https?:\/\/.*\.xima.*\.com\/focus-mobile\/focusPic url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/ximalaya_json.js 47 | # ~ XiMaLaYa_喜马拉雅_屏蔽首页动态_Ad@ddgksf2013 48 | ;^https?:\/\/.*\.xima.*\.com\/discovery-feed\/v\d\/mix url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/ximalaya_json.js 49 | # ~ XiMaLaYa_喜马拉雅_屏蔽Tab页滚动_Ad@ddgksf2013 50 | ;^https?:\/\/.*\.xima.*\.com\/discovery-category\/v\d/category url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/ximalaya_json.js 51 | # ~ XiMaLaYa_喜马拉雅_去除我的页面Ad_Tag@ddgksf2013 52 | ;^https?:\/\/.*\.xima.*\.com\/mobile-user\/v\d\/homePage url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/ximalaya_json.js 53 | 54 | 55 | https?:\/\/xdcs-collector(hera)?\.ximalaya\.com\/(api|nyx)\/v1 url reject 56 | https?:\/\/.*\.ximalaya\.com\/mobile-playpage\/view\/ url reject 57 | https?:\/\/.*\.ximalaya\.com\/chaos-notice-web\/v1\/message\/preview\/list url reject 58 | https?:\/\/.*\.ximalaya\.com\/social-web\/bottomtabs\/dynamicentrance\/status url reject 59 | ;https?:\/\/.*\.xmcdn\.com\/\w{8}\/\w{4}-\w{16}\/.+gif$ url reject 60 | https?:\/\/.*\.ximalaya\.com\/(dog-portal\/checkold|(child-mobile\/child|aged-mobile\/aged)\/mode\/query) url reject 61 | https?:\/\/.*\.ximalaya\.com\/discovery-feed\/isshowusergiftpendant url reject 62 | https?:\/\/.*\.ximalaya\.com\/mobile-user\/unread url reject 63 | https?:\/\/.*\.ximalaya\.com\/mobile-user\/minorprotection\/pop url reject 64 | https?:\/\/.*\.ximalaya\.com\/collector\/xl\/v\d url reject 65 | https?:\/\/.*\.ximalaya\.com\/butler-portal\/versioncheck url reject 66 | https?:\/\/(adse\.wsa|adse|adbehavior)\.ximalaya\.com\/.* url reject 67 | https?:\/\/.*\.ximalaya\.com\/mobile\/discovery\/v\d\/location url reject 68 | https?:\/\/.*\.ximalaya\.com\/api\/v\d\/adrealtime url reject 69 | https?:\/\/.*\.ximalaya\.com\/ting\/(loading|feed|home)? url reject 70 | https?:\/\/.*\.ximalaya\.com\/discovery-feed\/focus\/queryf url reject 71 | https?:\/\.*linkeye-cloud\/checkip url reject 72 | https?:\/\/www\.taobao\.com\/help\/getip\.php url reject 73 | https?:\/\.*audid-api\.taobao\.com url reject 74 | https?:\/\/passport(ws)?\.ximalaya\.com\/user-http-app\/v1\/token\/refresh url reject 75 | https?:\/\/(mobile(hera)?|m(ob)?wsa|m)\.ximalaya\.com\/mobile(-user\/v\d\/homePage|-playpage\/(track\/v\d\/baseInfo|playpage\/(tabs\/v\d|recommend(\/resource\/allocation|ContentV\d)))|\/(album\/paid\/info|playlist\/album\/new)|\/v\d\/album\/track) url script-response-body https://raw.githubusercontent.com/ClydeTime/Quantumult/main/Script/XMLY/xmly.js 76 | https?:\/\/(mobile(hera)?|m(ob)?wsa|m)\.ximalaya\.com\/business-vip-(presale-mobile-web\/page|level-h5-web\/api\/(gift\/detail|profile)|welfare-mobile-web\/welfare\/module\/exclusive\/list) url script-response-body https://raw.githubusercontent.com/ClydeTime/Quantumult/main/Script/XMLY/xmly.js 77 | ;https?:\/\/(mobile(hera)?|m(ob)?wsa|m)\.ximalaya\.com\/discovery-(category\/customCategories|feed\/v\d\/(freeListenTab\/queryCardList|mix)|ranking-web\/v\d\/ranking\/concreteRankList) url script-response-body https://raw.githubusercontent.com/ClydeTime/Quantumult/main/Script/XMLY/xmly.js 78 | https?:\/\/(mobile(hera)?|m(ob)?wsa|m)\.ximalaya\.com\/(browsing-history-business\/browsing\/history\/query|focus-mobile\/focusPic\/info|nyx\/history\/query\/(detail|id\/list)|product\/detail\/v\d\/basicInfo\/dynamic|subscribe\/v\d\/subscribe\/comprehensive\/rank|vip\/(feed\/v1\/mix|v\d\/recommand)) url script-response-body https://raw.githubusercontent.com/ClydeTime/Quantumult/main/Script/XMLY/xmly.js 79 | https?:\/\/search(wsa)?\.ximalaya\.com\/(hub\/)?(guideWordV\d|hotWord(V\d|Billboard\/card)) url script-response-body https://raw.githubusercontent.com/ClydeTime/Quantumult/main/Script/XMLY/xmly.js 80 | ;https?:\/\/(mobile(hera)?|m(ob)?wsa)\.ximalaya\.com\/(mobile-playpage\/track|mobile\/quickplay) url script-request-header https://raw.githubusercontent.com/ClydeTime/Quantumult/main/Script/XMLY/xmly_ck.js 81 | 82 | 83 | ;^http[s]?:\/\/((.+ximalaya.+)|(.+xmcdn.+))\/mobile-playpage\/track\/v3\/baseInfo\/ts url script-request-header https://raw.githubusercontent.com/gjwj666/qx/main/ximalayatk.js 84 | ;^http[s]?:\/\/((.+ximalaya.+)|(.+xmcdn.+)).*\/(playpage\/tabs\/v2|v1\/album\/track\/ts|v1\/album\/price|v2\/homePage|business-vip-presale-mobile-web\/page\/ts|vip\/v1\/recommand|track\/v3\/baseInfo|v1\/module\/data\/dynamic|basicInfo\/dynamic\/ts).*$ url script-response-body https://raw.githubusercontent.com/gjwj666/qx/main/ximalayabd.js 85 | 86 | ;^https?:\/\/.+((ximalaya)|(xmcdn)).+(mobile-user\/v2|mobile-web|queryCategoryPageData|discovery-feed\/v4|vip\/v1\/recommand|product\/detail\/v1|mobile\/v1\/album|playpage|album\/price\/ts|mobile\/user\/member).*$ url script-response-body https://raw.githubusercontent.com/WeiGiegie/666/main/xmly.js 87 | ^https?:\/\/.+((ximalaya)|(xmcdn)).+\/[a-z]{6}\-[a-z]{8}\/track\/(v[0-9])\/[a-zA-Z]+\/ts.*$ url script-request-header https://raw.githubusercontent.com/WeiGiegie/666/main/xmck.js 88 | 89 | ;^http[s]?:\/\/openapi\.mysteel\.com/v5/getAdv.htm url reject 90 | ;^http[s]?.+ulogs.umeng.com url reject 91 | ;^http[s]?.+gslbali.ximalaya.com url reject 92 | ;^http[s]?.+adse.ximalaya.com url reject 93 | ;^http[s]?.+gslbtx.ximalaya.com url reject 94 | ;^http[s]?.+location.ximalaya.com url reject 95 | ;^http[s]?.+passport.ximalaya.com url reject 96 | ;^http[s]?.+adbehavior.ximalaya.com url reject 97 | ;^http[s]?.+ad.ximalaya.com url reject 98 | ;^http[s]?.+audid-api.taobao.com url reject 99 | ;^http[s]?:\/\/((.+ximalaya.+)|(.+xmcdn.+))mobile-play.+$ url script-request-header https://raw.githubusercontent.com/WeiRen0/Scripts/main/xmly.js 100 | ;^http[s]?:\/\/((.+ximalaya.+)|(.+xmcdn.+))(product\/info|mobile-user\/v2\/homePage|vip\/v1\/recommand\/ts|mobile-playpage\/playpage\/tabs|mobile-album\/album\/page\/ts|mobile\/v1\/album\/track\/ts|product\/promotion\/v.\/whole\/album\/\d+\/price\/dynamic\/ts|business-vip-presale-mobile-web\/page\/ts|track\/v3\/baseInfo).*$ url script-response-body https://raw.githubusercontent.com/WeiRen0/Scripts/main/ximalaya.js 101 | ;^http[s]?:\/\/((.+ximalaya.+)|(.+xmcdn.+))\/mobile-playpage\/track\/v3\/baseInfo\/ts url script-request-header https://raw.githubusercontent.com/WeiRen0/Scripts/main/xmly3.js 102 | ;^http[s]?:\/\/((.+ximalaya.+)|(.+xmcdn.+)).*\/(playpage\/tabs\/v2|v1\/album\/track\/ts|v1\/album\/price|v2\/homePage|business-vip-presale-mobile-web\/page\/ts|vip\/v1\/recommand|track\/v3\/baseInfo|v1\/module\/data\/dynamic|basicInfo\/dynamic\/ts).*$ url script-response-body https://raw.githubusercontent.com/WeiRen0/NewFree/main/XMVIP.js 103 | ;^http[s]?:\/\/((.+ximalaya.+)|(.+xmcdn.+))\/mobile-playpage\/track\/v3\/baseInfo\/ts url script-request-header https://raw.githubusercontent.com/WeiRen0/Scripts/main/xmly03.js 104 | ;^http[s]?:\/\/((.+ximalaya.+)|(.+xmcdn.+)).*\/(playpage\/tabs\/v2|v1\/album\/track\/ts|v1\/album\/price|v2\/homePage|business-vip-presale-mobile-web\/page\/ts|vip\/v1\/recommand|track\/v3\/baseInfo|v1\/module\/data\/dynamic|basicInfo\/dynamic\/ts).*$ url script-response-body https://raw.githubusercontent.com/WeiRen0/NewFree/main/XMVIP03.js 105 | ;^http[s]?:\/\/((.+ximalaya.+)|(.+xmcdn.+))\/mobile-playpage\/track\/v3\/baseInfo\/ts url script-request-header https://raw.githubusercontent.com/WeiRen0/Scripts/main/xmly04.js 106 | ;^http[s]?:\/\/((.+ximalaya.+)|(.+xmcdn.+)).*\/(playpage\/tabs\/v2|v1\/album\/track\/ts|v1\/album\/price|v2\/homePage|business-vip-presale-mobile-web\/page\/ts|vip\/v1\/recommand|track\/v3\/baseInfo|v1\/module\/data\/dynamic|basicInfo\/dynamic\/ts).*$ url script-response-body https://raw.githubusercontent.com/WeiRen0/NewFree/main/XMVIP04.js 107 | ;^http[s]?:\/\/((.+ximalaya.+)|(.+xmcdn.+))\/mobile-playpage\/track\/v3\/baseInfo\/ts url script-request-header https://raw.githubusercontent.com/WeiRen0/Scripts/main/xmly05.js 108 | ;^http[s]?:\/\/((.+ximalaya.+)|(.+xmcdn.+)).*\/(playpage\/tabs\/v2|v1\/album\/track\/ts|v1\/album\/price|v2\/homePage|business-vip-presale-mobile-web\/page\/ts|vip\/v1\/recommand|track\/v3\/baseInfo|v1\/module\/data\/dynamic|basicInfo\/dynamic\/ts).*$ url script-response-body https://raw.githubusercontent.com/WeiRen0/NewFree/main/XMVIP05.js 109 | ;^http[s]?:\/\/((.+ximalaya.+)|(.+xmcdn.+))\/mobile-playpage\/track\/v3\/baseInfo\/ts url script-request-header https://raw.githubusercontent.com/WeiRen0/Scripts/main/xmlysvip3.js 110 | ;^http[s]?:\/\/((.+ximalaya.+)|(.+xmcdn.+)).*\/(playpage\/tabs\/v2|v1\/album\/track\/ts|v1\/album\/price|v2\/homePage|business-vip-presale-mobile-web\/page\/ts|vip\/v1\/recommand|track\/v3\/baseInfo|v1\/module\/data\/dynamic|basicInfo\/dynamic\/ts).*$ url script-response-body https://raw.githubusercontent.com/WeiRen0/Scripts/main/XMSSVIP3.js 111 | ;^http[s]?:\/\/((.+ximalaya.+)|(.+xmcdn.+))\/mobile-playpage\/track\/v3\/baseInfo\/ts url script-request-header https://raw.githubusercontent.com/WeiRen0/Scripts/main/xmlysvip2.js 112 | ;^http[s]?:\/\/((.+ximalaya.+)|(.+xmcdn.+)).*\/(playpage\/tabs\/v2|v1\/album\/track\/ts|v1\/album\/price|v2\/homePage|business-vip-presale-mobile-web\/page\/ts|vip\/v1\/recommand|track\/v3\/baseInfo|v1\/module\/data\/dynamic|basicInfo\/dynamic\/ts).*$ url script-response-body https://raw.githubusercontent.com/WeiRen0/NewFree/main/XMSVIP2.js 113 | ;^http[s]?:\/\/((.+ximalaya.+)|(.+xmcdn.+))\/mobile-playpage\/track\/v3\/baseInfo\/ts url script-request-header https://raw.githubusercontent.com/WeiRen0/Scripts/main/xmty1.js 114 | ;^http[s]?:\/\/((.+ximalaya.+)|(.+xmcdn.+)).*\/(playpage\/tabs\/v2|v1\/album\/track\/ts|v1\/album\/price|v2\/homePage|business-vip-presale-mobile-web\/page\/ts|vip\/v1\/recommand|track\/v3\/baseInfo|v1\/module\/data\/dynamic|basicInfo\/dynamic\/ts).*$ url script-response-body https://raw.githubusercontent.com/WeiRen0/Scripts/main/XMVIPTY1.js 115 | ;^http[s]?:\/\/((.+ximalaya.+)|(.+xmcdn.+))\/mobile-playpage\/track\/v3\/baseInfo\/ts url script-request-header https://raw.githubusercontent.com/WeiRen0/Scripts/main/xmty2.js 116 | ;^http[s]?:\/\/((.+ximalaya.+)|(.+xmcdn.+)).*\/(playpage\/tabs\/v2|v1\/album\/track\/ts|v1\/album\/price|v2\/homePage|business-vip-presale-mobile-web\/page\/ts|vip\/v1\/recommand|track\/v3\/baseInfo|v1\/module\/data\/dynamic|basicInfo\/dynamic\/ts).*$ url script-response-body https://raw.githubusercontent.com/WeiRen0/Scripts/main/XMVIPTY2.js 117 | ;^http[s]?:\/\/((.+ximalaya.+)|(.+xmcdn.+))\/mobile-playpage\/track\/v3\/baseInfo\/ts url script-request-header https://raw.githubusercontent.com/WeiRen0/Scripts/main/xmty3.js 118 | ;^http[s]?:\/\/((.+ximalaya.+)|(.+xmcdn.+)).*\/(playpage\/tabs\/v2|v1\/album\/track\/ts|v1\/album\/price|v2\/homePage|business-vip-presale-mobile-web\/page\/ts|vip\/v1\/recommand|track\/v3\/baseInfo|v1\/module\/data\/dynamic|basicInfo\/dynamic\/ts).*$ url script-response-body https://raw.githubusercontent.com/WeiRen0/Scripts/main/XMVIPTY3.js 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | -------------------------------------------------------------------------------- /Rewrite/YouTube.snippet: -------------------------------------------------------------------------------- 1 | hostname = -redirector*.googlevideo.com,*.googlevideo.com,www.youtube.com,s.youtube.com,youtubei.googleapis.com 2 | 3 | # 视频广告请求 4 | #^https?:\/\/[\w-]+\.googlevideo\.com\/initplayback.+&oad url script-response-body https://raw.githubusercontent.com/Maasea/sgmodule/master/Script/Youtube/youtube-fake.js 5 | ;(^https?:\/\/[\w-]+\.googlevideo\.com\/(?!dclk_video_ads).+?)&ctier=L(&.+?),ctier,(.+) url 302 $1$2$3 6 | ;^https?:\/\/[\w-]+\.googlevideo\.com\/(?!(dclk_video_ads|videoplayback\?)).+&oad url reject-200 7 | ^https?:\/\/[\w-]+\.googlevideo\.com\/initplayback.+&oad url reject-200 8 | 9 | # 瀑布流|搜索|播放页|短视频|贴片 广告 10 | ;^https?:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/(browse|next|player|search|reel\/reel_watch_sequence|guide|account\/get_setting) url script-response-body https://raw.githubusercontent.com/Maasea/sgmodule/master/Script/Youtube/youtube.js 11 | ^https:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/(browse|next|player|reel\/reel_watch_sequence|get_watch) url script-request-body https://raw.githubusercontent.com/Maasea/sgmodule/master/Script/Youtube/dist/youtube.request.preview.js 12 | ^https:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/(browse|next|player|search|reel\/reel_watch_sequence|guide|account\/get_setting|get_watch) url script-response-body https://raw.githubusercontent.com/Maasea/sgmodule/master/Script/Youtube/dist/youtube.response.preview.js 13 | 14 | 15 | 16 | # 通用广告请求 17 | #^https?:\/\/youtubei\.googleapis\.com\/youtubei\/v\d\/player\/ad_break url reject 18 | ;^https?:\/\/(www|s)\.youtube\.com\/api\/stats\/ads url reject-200 19 | ;^https?:\/\/(www|s)\.youtube\.com\/(pagead|ptracking) url reject-200 20 | ;^https?:\/\/s\.youtube\.com\/api\/stats\/qoe\?adcontext url reject-200 21 | 22 | -------------------------------------------------------------------------------- /Rewrite/YouTubeCC.snippet: -------------------------------------------------------------------------------- 1 | # QX Youtube 无中文字幕机翻方案 2 | 3 | hostname= www.youtube.com 4 | 5 | // 简体;订阅链接后面加上 #out=Hant 后开启资源解析器 6 | // https://raw.githubusercontent.com/id77/QuantumultX/master/rewrite/Youtube_CC.conf#out=Hant 7 | 8 | https:\/\/www.youtube.com\/api\/timedtext\?.+&lang=(?!(zh|zh\-Hans)&)((?!&tlang=zh\-Hans).)*$ url request-header \sHTTP/1\.1(\r\n) request-header &tlang=zh-Hans HTTP/1.1$1 9 | 10 | 11 | // 繁体;订阅链接后面加上 #out=Hans 后开启资源解析器 12 | // https://raw.githubusercontent.com/id77/QuantumultX/master/rewrite/Youtube_CC.conf#out=Hans 13 | 14 | ;https:\/\/www.youtube.com\/api\/timedtext\?.+&lang=(?!zh\-Hant&)((?!&tlang=zh\-Hant).)*$ url request-header \sHTTP/1\.1(\r\n) request-header &tlang=zh-Hant HTTP/1.1$1 15 | -------------------------------------------------------------------------------- /Rewrite/Zheye.snippet: -------------------------------------------------------------------------------- 1 | # 搜索页 关键词,猜你想搜 2 | ;^https:\/\/api\.zhihu\.com\/feed\/render\/revisit\/current_reading$ url reject-dict 3 | ;^https:\/\/api\.zhihu\.com\/search\/preset_words\?? url reject-dict 4 | ;^https:\/\/api\.zhihu\.com\/search\/recommend_query\/v2\? url response-body "recommend_queries":\{.+\} response-body "recommend_queries":{} 5 | ^https:\/\/www\.zhihu\.com\/api\/v4\/search\/related_queries\/(answer|article)\/\d+ url reject-dict 6 | 7 | -------------------------------------------------------------------------------- /Rewrite/bdmap.snippet: -------------------------------------------------------------------------------- 1 | #!name = 百度地图 2 | #!desc = 移除广告 3 | #!author = RuCu6 4 | #!update = 2023-05-05 18:35 5 | 6 | # 组件包 7 | ^https:\/\/newclient\.map\.baidu\.com\/client\/crossmarketing\/\?container=du_aide_module url reject-dict 8 | ^https:\/\/newclient\.map\.baidu\.com\/client\/crossmarketing\/\?container=du_card_ugc url reject-dict 9 | ^https:\/\/newclient\.map\.baidu\.com\/client\/crossmarketing\/\?container=du_trip_route_tab url reject-dict 10 | ^https:\/\/newclient\.map\.baidu\.com\/client\/crossmarketing\/\?oem= url reject-dict 11 | ^https:\/\/newclient\.map\.baidu\.com\/client\/imap\/dl\/s\/UpdateInfo\.php\? url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/baidu/map.js 12 | # 首页 小横条,左上角动图 13 | ^https:\/\/newclient\.map\.baidu\.com\/client\/noticebar\/get\? url reject-dict 14 | ^https:\/\/newclient\.map\.baidu\.com\/client\/phpui2\/\?qt=ads url reject-dict 15 | # 我的页面 16 | ^https:\/\/newclient\.map\.baidu\.com\/client\/usersystem\/mine\/page\? url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/baidu/map.js 17 | ^https:\/\/newclient\.map\.baidu\.com\/grow-engine\/api\/common\/userHome\? url reject-dict 18 | # 打车页 19 | ^https:\/\/yongche\.baidu\.com\/goorder\/passenger\/notice url reject-dict 20 | ^https:\/\/yongche\.baidu\.com\/gomarketing\/api\/activity\/talos\/activitycard\? url reject-dict 21 | ^https:\/\/yongche\.baidu\.com\/gomarketing\/api\/popup\/getentrancecordovaurl url reject-dict 22 | ^https:\/\/yongche\.baidu\.com\/goorder\/passenger\/baseinfo url reject-dict 23 | 24 | hostname = newclient.map.baidu.com, yongche.baidu.com, 180.76.76.200 25 | 26 | # > 百度地图_搜索推广@ddgksf2013 27 | ^https?:\/\/newclient\.map\.baidu\.com\/client\/phpui.*qt=hw url reject-200 28 | # > 百度地图_开屏广告|首页左上角广告@ddgksf2013 29 | ;^https?:\/\/newclient\.map\.baidu\.com\/client\/phpui2\/\?qt=ads url reject-200 30 | # > 百度地图_DNS处理@ddgksf2013 31 | ^https?:\/\/httpdns\.baidubce\.com url reject-200 32 | # > 百度地图_各种商业推广@ddgksf2013 33 | ;^https?:\/\/newclient\.map\.baidu\.com\/client\/crossmarketing url reject-200 34 | # > 百度地图_我的页面地图动态@ddgksf2013 35 | ^https?:\/\/newclient\.map\.baidu\.com\/client\/usersystem\/home\/dynamic url reject-200 36 | 37 | ;^https:\/\/ugc\.map\.baidu\.com\/govui\/rich_content\?cuid= url reject-dict -------------------------------------------------------------------------------- /Rule/ASN.Telegram.list: -------------------------------------------------------------------------------- 1 | host-suffix, comments.app, telegram 2 | host-suffix, t.me, telegram 3 | host-suffix, tdesktop.com, telegram 4 | host-suffix, telegra.ph, telegram 5 | host-suffix, telegram.me, telegram 6 | host-suffix, telegram.org, telegram 7 | host-suffix, telegram-cdn.org, telegram 8 | host-suffix, telesco.pe, telegram 9 | ip-cidr, 109.239.140.0/24, telegram 10 | ip-cidr, 5.28.195.163/32, telegram 11 | ip-cidr, 5.28.195.205/32, telegram 12 | ip-cidr, 91.108.0.0/16, telegram 13 | ;ip-cidr6, 2a0a:f280::/32, telegram 14 | ip-asn, 44907, telegram 15 | ip-asn, 62014, telegram 16 | ip-asn, 62041, telegram 17 | ip-asn, 59930, telegram 18 | ip-asn, 211157, telegram 19 | -------------------------------------------------------------------------------- /Rule/Copilot.list: -------------------------------------------------------------------------------- 1 | # Copilot.list 2 | host, api.msn.com, Copilot 3 | host, assets.msn.com, Copilot 4 | host, dealczars.bing-shopping.microsoft-falcon.io, Copilot 5 | host, gateway.bingviz.microsoftapp.net, Copilot 6 | host, location.microsoft.com, Copilot 7 | host, login.microsoftonline.com, Copilot 8 | host, self.events.data.microsoft.com, Copilot 9 | host, services.bingapis.com, Copilot 10 | host, shopping.bing-shopping.microsoft-falcon.io, Copilot 11 | host, sapphire.api.microsoftapp.net, Copilot 12 | host, sr.bing.com, Copilot 13 | host, sydney.bing.com, Copilot 14 | host, ssl.bing.com, Copilot 15 | host, th.bing.com, Copilot 16 | host, www.bing.com, Copilot 17 | host, www.bingapis.com, Copilot 18 | -------------------------------------------------------------------------------- /Rule/Direct-1.list: -------------------------------------------------------------------------------- 1 | # 番茄小说 2 | host, i.snssdk.com, reject 3 | host, effect.snssdk.com, reject 4 | host, ec5-core-lf.ecombdapi.com, reject 5 | host, ec3-core-lf.ecombdapi.com, reject 6 | host, ecom5-normal-lf.ecombdapi.com, reject 7 | host, ecom3-normal-lf.ecombdapi.com, reject 8 | host, p9-developer-sign.bytemaimg.com, reject 9 | host, p3-developer-sign.bytemaimg.com, reject 10 | host, is.snssdk.com, reject 11 | host, imapi5-oth.zijieapi.com, reject 12 | host, frontier100-toutiao-lf.fqnovel.com, reject 13 | host, applog.snssdk.com, reject 14 | host-suffix, growth.ecombdapi.com, reject 15 | host-suffix, isaas.ecombdapi.com, reject 16 | host-suffix, p6-ad-sign.byteimg.com, reject 17 | host-suffix, p9-ad-sign.byteimg.com, reject 18 | #host, i.snssdk.com, reject 19 | #host, i-lq.snssdk.com, reject 20 | host, activity-ag.awemeughun.com, reject 21 | host, mcs.snssdk.com, reject 22 | host, tnc3-alisc1.snssdk.com, reject 23 | #host, security-lq.snssdk.com, reject 24 | host, msync-im1-vip6-std.easemob.com, reject 25 | host, apd-pcdnwxlogin.teg.tencent-cloud.net, reject 26 | host, api.iegadp.qq.com, reject 27 | host, sf3-ttcdn-tos.pstatp.com, reject 28 | host-suffix, pglstatp-toutiao.com, reject 29 | host, *default.ixigua.com, reject 30 | host, v6-novelapp.ixigua.com, reject 31 | host, *novelapp.ixigua.com, reject 32 | host-suffix, byteorge.com, reject 33 | #host-suffix, bytegoofy.com, reject 34 | #host-suffix, bytedance.com, reject 35 | ip-cidr, 49.71.37.101/32, reject 36 | ip-cidr, 117.71.105.23/32, reject 37 | ip-cidr, 218.94.207.205/32, reject 38 | ip-cidr, 117.92.229.188/32, reject 39 | ip-cidr, 101.36.166.16/32, reject 40 | ip-cidr, 180.96.2.114/32, reject 41 | host-suffix, ads3-normal-lf.zijieapi.com, reject 42 | host-suffix, ads5-normal-lf.zijieapi.com, reject 43 | host-suffix, adim.pinduoduo.com, reject 44 | #ip-cidr, 36.96.0.0/11, reject 45 | host-suffix, toutiao-frontier.snssdk.com, reject 46 | host-suffix, polaris3-normal-lf.zijieapi.com, reject 47 | host-suffix, tnc3-aliec2.snssdk.com, reject 48 | host-suffix, mon11-misc-lf.fqnovel.com, reject 49 | host-suffix, bsync3-normal-lf.zijieapi.com, reject 50 | host-suffix, saveu5-normal-lf.zijieapi.com, reject 51 | host-suffix, log3-applog-lf.fqnovel.com, reject 52 | host-suffix, rtlog3-applog-lf.fqnovel.com, reject 53 | host-suffix, rtlog5-applog-lf.fqnovel.com, reject 54 | #ip-cidr, 58.192.0.0/11, reject 55 | host-suffix, log5-applog-lf.fqnovel.com, reject 56 | #ip-cidr, 150.138.0.0/15, reject 57 | #ip-cidr, 220.160.0.0/11, reject 58 | #ip-cidr, 121.224.0.0/12, reject 59 | host-suffix, mon3-misc-lf.fqnovel.com, reject 60 | #ip-cidr, 117.21.0.0/16, reject 61 | host-suffix, tnc3-bjlgy.bytedance.com, reject 62 | #host-suffix, is.snssdk.com, reject 63 | host-suffix, tnc11-bjlgy.zijieapi.com, reject 64 | host-suffix, abtest3-misc-lf.zijieapi.com, reject 65 | host-suffix, mssdk3-normal-lf.zijieapi.com, reject 66 | host-suffix, gecko3-lf.zijieapi.com, reject 67 | host-suffix, tnc3-alisc1.zijieapi.com, reject 68 | host-suffix, gecko5-lf.zijieapi.com, reject 69 | host-suffix, tnc3-aliec2.zijieapi.com, reject 70 | host-suffix, webcast5-open-lf.douyin.com, reject 71 | host-suffix, tnc3-bjlgy.zijieapi.com, reject 72 | host-suffix, feedback-c.zijieapi.com, reject 73 | host-suffix, mon.toutiaocloud.net, reject 74 | host-suffix, praisewindow.ugsdk.cn, reject 75 | host-suffix, mon.toutiaocloud.com, reject 76 | 77 | 78 | host, is.snssdk.com, reject 79 | host, imapi2.snssdk.com, reject 80 | host, mon.toutiao.com, reject 81 | host, log3-applog.fqnovel.com, reject 82 | host, agoo-report.m.taobao.com, reject 83 | host, mon3-misc.fqnovel.com, reject 84 | host, rtlog3-applog.fqnovel.com, reject 85 | host, mon11-misc.fqnovel.com, reject 86 | host, log5-applog.fqnovel.com, reject 87 | host, zlink.toutiao.com, reject 88 | host, ichannel.snssdk.com, reject 89 | host, rtlog5-applog.fqnovel.com, reject 90 | host, zlink.ugsdk.cn, reject 91 | host, lf3-static.bytefae.com, reject 92 | host, sf6-scmcdn-tos.pstatp.com, reject 93 | host, tp-pay.snssdk.com, reject 94 | host, lf3-infras.bytetos.com, reject 95 | host, gurd.snssdk.com, reject 96 | -host, lf-sourcecdn-tos.bytegecko.com, reject 97 | host, lf3-short.ibytedapm.com, reject 98 | host, security.snssdk.com, reject 99 | host, p3-ad-sign.byteimg.com, reject 100 | host, lf3-cdn-tos.bytescm.com, reject 101 | host, mon.toutiaocloud.com, reject 102 | -host, lf-cdn-tos.bytescm.com, reject 103 | -host, reading.snssdk.com, reject 104 | host, mon.toutiaocloud.net, reject 105 | host, lf-webcast-gr-sourcecdn.bytegecko.com, reject 106 | host, rtlog3-applog-lf.fqnovel.com, reject 107 | host, lf6-mg-developer.dailygn.com, reject 108 | host, praisewindow.ugsdk.cn, reject 109 | host, log3-applog-lf.fqnovel.com, reject 110 | host, rtlog5-applog-lf.fqnovel.com, reject 111 | host, applog.snssdk.com, reject 112 | host, ec5-core-lf.ecombdapi.com, reject 113 | host, ec3-core-lf.ecombdapi.com, reject 114 | host, ecom5-normal-lf.ecombdapi.com, reject 115 | host, ecom3-normal-lf.ecombdapi.com, reject 116 | host, mon3-misc-lf.fqnovel.com, reject 117 | host, log5-applog-lf.fqnovel.com, reject 118 | host, frontier100-toutiao-lf.fqnovel.com, reject 119 | host, tnc3-bjlgy.snssdk.com, reject 120 | host, mon11-misc-lf.fqnovel.com, reject 121 | 122 | 123 | # 番茄小说 124 | 125 | host-suffix, douyin.com, reject 126 | ;host-suffix, douyinpic.com, reject 127 | 128 | host, p6-ad-sign.byteimg.com, reject 129 | host, p9-ad-sign.byteimg.com, reject 130 | host, i.snssdk.com, reject 131 | host, i-lq.snssdk.com, reject 132 | host, dig.bdurl.net, reject 133 | host-suffix, zijieapi.com, reject 134 | host, activity-ag.awemeughun.com, reject 135 | host, mcs.snssdk.com, reject 136 | host, tnc3-alisc1.snssdk.com, reject 137 | host, security-lq.snssdk.com, reject 138 | host, tnc3-aliec2.snssdk.com, reject 139 | host, is.snssdk.com, reject 140 | host, msync-im1-vip6-std.easemob.com, reject 141 | host, apd-pcdnwxlogin.teg.tencent-cloud.net, reject 142 | host, api.iegadp.qq.com, reject 143 | host, sf3-ttcdn-tos.pstatp.com, reject 144 | host-suffix, pglstatp-toutiao.com, reject 145 | host, *default.ixigua.com, reject 146 | host, v6-novelapp.ixigua.com, reject 147 | host, *novelapp.ixigua.com, reject 148 | host-suffix, byteorge.com, reject 149 | host-suffix, bytegoofy.com, reject 150 | host-suffix, bytedance.com, reject 151 | ;host-suffix, bytegecko.com, reject 152 | ip-cidr, 49.71.37.101/32, reject 153 | ip-cidr, 117.71.105.23/32, reject 154 | ip-cidr, 218.94.207.205/32, reject 155 | ip-cidr, 117.92.229.188/32, reject 156 | ip-cidr, 101.36.166.16/32, reject 157 | ip-cidr, 180.96.2.114/32, reject 158 | # 番茄视频广告页的sdk agent都是ttplayer 159 | ;USER-AGENT,ttplayer*,REJECT 160 | 161 | # 番茄小说去章末广告 162 | ^https?:\/\/.+\.pangolin-sdk-toutiao\.com\/api\/ad\/union\/sdk\/(get_ads|stats|settings)\/ url reject 163 | ^https?:\/\/.+\.pglstatp-toutiao\.com\/.+\/toutiao\.mp4 url reject 164 | ^https?:\/\/.+\.(pglstatp-toutiao|pstatp)\.com\/(obj|img)\/(ad-app-package|ad)\/.+ url reject 165 | ^https?:\/\/.+\.(pglstatp-toutiao|pstatp)\.com\/(obj|img)\/web\.business\.image\/.+ url reject 166 | ^https?:\/\/.+\.(pglstatp-toutiao|pstatp)\.com\/obj\/ad-pattern\/renderer url reject 167 | ^https?:\/\/gurd\.snssdk\.com\/src\/server\/v3\/package url reject 168 | ^https?:\/\/.+\.byteimg.com/tos-cn-i-1yzifmftcy\/(.+)-jpeg\.jpeg url reject 169 | ^https?:\/\/.+\.pstatp\.com\/obj\/mosaic-legacy\/.+\?from\=ad url reject 170 | ^https?:\/\/.+\.pstatp\.com\/bytecom\/resource\/track_log\/src\/.+ url reject 171 | ^https?:\/\/.+\.snssdk\.com\/video\/play\/1\/toutiao\/.+\/mp4 url reject 172 | ^https?:\/\/.+\.snssdk.com\/api\/ad\/.+ url reject 173 | ^http:\/\/.+\.byteimg\.com\/ad-app-package url reject 174 | ^http:\/\/.+\.byteimg\.com\/web\.business\.image url reject 175 | ^https?:\/\/.+\.(pglstatp-toutiao|pstatp)\.com\/(ad-app-package|ad)\/.+ url reject 176 | ^https?:\/\/adim\.pinduoduo\.com\/.+\/toutiao\?.+ url reject 177 | ;^https?:\/\/v(\d)+-novelapp\.fqnovelvod\.com\/.+\/video\/.+ url reject 178 | ;^http:\/\/.+\.douyincdn\.com\/stage\/.+\.flv url reject 179 | 180 | # 下面两条来自他人,暂不知是哪个app 181 | ^https?:\/\/.+?\.snssdk\.com\/motor\/operation\/activity\/display\/config\/V2\/ url reject 182 | 183 | 184 | 185 | -------------------------------------------------------------------------------- /Rule/Direct.list: -------------------------------------------------------------------------------- 1 | # > 苹果推送服务 2 | host-keyword, push.apple.com, direct 3 | # > 苹果时间同步 4 | host, time.apple.com, direct 5 | 6 | # > 快手修正 7 | host-suffix, e.kuaishou.com, direct 8 | host-suffix, kuaishou.com, direct 9 | host-suffix, yximgs.com, direct 10 | host-suffix, ksapisrv.com, direct 11 | # > qq邮箱修正 12 | host-suffix, iwx.mail.qq.com, direct 13 | # > wps简历 14 | host-suffix, dl.op.wpscdn.cn, direct 15 | host, mo.res.wpscdn.cn, direct 16 | # > 同程修正 17 | host-suffix, 17u.cn, direct 18 | host-suffix, 40017.cn, direct 19 | # > 驾考宝典 20 | host,short-video.kakamobi.cn,direct 21 | # > 飞猪 22 | host-suffix,apoll.m.taobao.com,direct 23 | host-suffix,acs.m.taobao.com,direct 24 | # > 今日热榜 25 | host-suffix, tophub.app, direct 26 | # > 携程 27 | host-keyword, aw-s.tripcdn.com, direct 28 | host-keyword, trip.com, direct 29 | # > 中国移动登陆 30 | host, www.cmpassport.com, direct 31 | host, verify.cmpassport.com, direct 32 | # > 米家 33 | host, app.chat.xiaomi.net, direct 34 | # > 搜狗 35 | host, get.sogou.com, direct 36 | 37 | # > 苹果天气服务 38 | host-keyword, weather-edge.apple.com, direct 39 | host-keyword, weather-adge.apple.com, direct 40 | host-keyword, weather-data.apple.com, direct 41 | host-keyword, weather-map.apple.com, direct 42 | host-keyword, weather-analytics-events.apple.com, direct 43 | # > 苹果内购服务 44 | host-keyword, buy.itunes.apple.com, direct 45 | host, api.revenuecat.com, direct 46 | # > 苹果icloud 47 | host-keyword, icloud.com, direct 48 | # > 苹果输入法相关服务 49 | host-keyword, api.smoot.apple.com, direct 50 | host-keyword, api.smoot.apple.cn, direct 51 | # > 苹果iMessage服务 52 | host, init.ess.apple.com, direct 53 | # > 苹果其他服务 54 | host-keyword, ssl.apple.com, direct 55 | host-keyword, humb.apple.com, direct 56 | host, smp-device-content.apple.com, direct 57 | host-keyword, api-adservices.apple.com, direct 58 | host-keyword, ls.apple.com, direct 59 | host-keyword, gsa.apple.com, direct 60 | host-keyword, ess.apple.com, direct 61 | # > QQ空间 62 | host-keyword, ctc.qzs.qzone.qq.com, direct 63 | # > 路由器后台 64 | ip-cidr, 192.168.0.1/24, direct 65 | # > 天翼网关 66 | ip-cidr, 192.168.1.1/24, direct 67 | # > 其他分流修正 68 | host-keyword, anti-ad.net, direct 69 | 70 | # > 网易 71 | host, api.iplay.163.com, direct 72 | host, rcs.cmpassport.com, direct 73 | host, ac.dun.163yun.com, direct 74 | 75 | # > xiaomi 76 | host, hm.baidu.com, direct 77 | host, static.fengkongcloud.com, direct 78 | host, a.stat.xiaomi.com, direct 79 | host, e.cn.miaozhen.com, direct 80 | 81 | # 163邮箱 82 | host, dl.reg.163.com, direct 83 | host, r.mail.163.com, direct 84 | 85 | # 夸克浏览器 86 | host, ucweb.com, direct 87 | host-suffix, ucweb.cn, direct 88 | host-suffix, uc.ucweb.com, direct 89 | host-suffix, uc9.ucweb.com, direct 90 | host-suffix, px.effirst.com, direct 91 | host-suffix, image.zzd.sm.cn, direct 92 | host-suffix, uczzd.cn, direct 93 | host-suffix, uczzd.cn, direct 94 | host-suffix, uczzd.com, direct 95 | host-suffix, uczzd.com.cn, direct 96 | host-suffix, uczzd.net, direct 97 | 98 | # Bing 99 | ;host-suffix, pipe.aria.microsoft.com, direct 100 | ;host-suffix, sb.scorecardresearch.com, direct 101 | ;host-suffix, c.bing.com, direct 102 | ;host-suffix, c.msn.com, direct 103 | ;host-suffix, srtb.msn.com, direct 104 | 105 | # 淘宝 106 | host, sjarvis.taobao.com, direct 107 | 108 | # outlook 109 | host-suffix, image.engage.windows.com, direct 110 | 111 | # 网易云音乐 112 | host, api.iplay.163.com, direct 113 | 114 | # Google 115 | host-suffix, ad.doubleclick.net, direct 116 | 117 | # 12306 118 | host, ad.12306.cn, direct 119 | 120 | # 美团 121 | host-suffix, analytics.meituan.net, direct 122 | 123 | # 微信 124 | host-suffix, wx.qlogo.cn, direct 125 | 126 | # 汽车之家 127 | host-suffix, push.app.autohome.com.cn, direct 128 | host-suffix, activity.app.autohome.com.cn, direct 129 | host, img2.autoimg.cn, direct 130 | host, adm3.autoimg.cn, direct 131 | host, leads.autohome.com.cn, direct 132 | host-suffix, al.autohome.com.cn, direct 133 | 134 | # CSDN 135 | host, kunyu.csdn.net, direct 136 | 137 | # 华为智慧生活 138 | host-suffix, metrics1.data.hicloud.com, direct 139 | host-suffix, logservice.hicloud.com, direct 140 | host-suffix, logservice1.hicloud.com, direct 141 | 142 | # 小米多看 143 | HOST,pingma.qq.com,Direct 144 | HOST,api.micloud.xiaomi.net,Direct 145 | 146 | # 网易云登陆验证 147 | host, id6.me, direct 148 | 149 | # iQiyi 150 | host-suffix, static-s.iqiyi.com, direct 151 | #HOST-SUFFIX,cache.video.iqiyi.com,Direct 152 | #HOST-SUFFIX, msg.qy.net, Direct 153 | #host-suffix, act.vip.iqiyi.com, direct 154 | 155 | # 汽车之家登陆验证码 156 | host, comm.app.autohome.com.cn, direct 157 | 158 | # 百度 159 | host-suffix, baidustatic.com, direct 160 | host, ada.baidu.com, direct 161 | host, issuecdn.baidupcs.com, direct 162 | host, ms.bdimg.com, direct 163 | host-suffix, e.cn.miaozhen.com, direct 164 | host-suffix, ecma.bdimg.com, direct 165 | host-suffix, ecmb.bdimg.com, direct 166 | host-suffix, appc.baidu.com, direct 167 | host-suffix, ufosdk.baidu.com, direct 168 | host-suffix, paimgcdn.baidu.com, direct 169 | host-suffix, als.baidu.com, direct 170 | HOST-SUFFIX,map-mobile-opnimg.cdn.bcebos.com,Direct 171 | HOST-SUFFIX,feed.baidu.com,Direct 172 | HOST-SUFFIX,staticsns.cdn.bcebos.com,Direct 173 | HOST-SUFFIX,b.bdstatic.com,Direct 174 | HOST-SUFFIX,f10.baidu.com,Direct 175 | HOST-SUFFIX,t10.baidu.com,Direct 176 | HOST-SUFFIX,t11.baidu.com,Direct 177 | HOST-SUFFIX,t12.baidu.com,Direct 178 | HOST-SUFFIX,sp0.baidu.com,Direct 179 | HOST-SUFFIX,baikebcs.bdimg.com,Direct 180 | HOST-SUFFIX,bj.bcebos.com,Direct 181 | HOST-SUFFIX,crashlytics.com,Direct 182 | host, staticsns.cdn.bcebos.com, direct 183 | host, ext.baidu.com, direct 184 | host-suffix, hmma.baidu.com, direct 185 | 186 | # 187 | host-suffix, collector.github.com, direct 188 | ;host-suffix, log.snssdk.com, direct 189 | host-suffix, et.tanx.com, direct 190 | host-suffix, sdk.e.qq.com, direct 191 | host, cms-bucket.ws.126.net, direct 192 | host-suffix, api-a.op-mobile.opera.com, direct 193 | host-suffix, clarity.ms, direct 194 | host-suffix, getui.net, direct 195 | host-suffix, getui.com, direct 196 | host-suffix, analytics.126.net, direct 197 | 198 | # 微博 199 | HOST,h5.sinaimg.cn,Direct 200 | HOST,ilce.alicdn.com,Direct 201 | host-suffix, gk.sina.cn, direct 202 | host-suffix, sdkapp.uve.weibo.com, direct 203 | 204 | # 360 205 | HOST,qhupdate.com,Direct 206 | HOST,s.360.cn,Direct 207 | HOST,u.api.look.360.cn,Direct 208 | 209 | # WPS 210 | host, mo.res.wpscdn.cn, direct 211 | host, dl.op.wpscdn.cn, direct 212 | ;host, lf-webcast-sourcecdn-tos.bytegecko.com, direct 213 | -------------------------------------------------------------------------------- /Rule/HTTPDNS.Block.list: -------------------------------------------------------------------------------- 1 | #!name=🍟 Fries: 🚫 Block HTTPDNS 2 | #!desc=阻止常见的 HTTPDNS 服务器 3 | #!author=VirgilClyne 4 | #!homepage=https://github.com/VirgilClyne/GetSomeFries/wiki/🚫-HTTPDNS 5 | #!icon=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Server.png 6 | 7 | 8 | # Alibaba 9 | host, httpdns.alicdn.com,reject 10 | # Aliyun 11 | host, httpdns-api.aliyuncs.com, reject 12 | host, httpdns-sc.aliyuncs.com, reject 13 | IP-CIDR, 203.107.1.0/24, reject 14 | # Baidu 15 | host, httpsdns.baidu.com, reject 16 | host, httpdns.baidu.com, reject 17 | # BaiduBCE 18 | host, httpdns.baidubce.com, reject 19 | IP-CIDR, 186.76.76.200/32, reject 20 | # Bilibili 21 | host, httpdns.bilivideo.com, reject 22 | # Huawei 23 | host, httpdns.c.cdnhwc2.com, reject 24 | # JD 25 | host, dns.jd.com, reject 26 | IP-CIDR, 101.124.19.122/32, reject 27 | IP6-CIDR, 2402:db40:5100:1011::5/128, reject 28 | # JD Cloud 29 | IP-CIDR, 103.224.222.208/32, reject 30 | # NetEase 31 | host, httpdns.n.netease.com, reject 32 | IP-CIDR, 59.111.239.61/32, reject 33 | IP-CIDR, 59.111.239.62/32, reject 34 | host, music.httpdns.c.163.com, reject 35 | host, lofter.httpdns.c.163.com, reject 36 | # Oppo 37 | host, httpdns.push.oppomobile.com, reject 38 | # Volcengine 39 | host, httpdns.volcengineapi.com, reject 40 | # Weibo 41 | host, dns.weibo.cn, reject 42 | IP-CIDR, 39.97.128.148/32, reject 43 | IP-CIDR, 39.97.130.51/32, reject 44 | # Weixin 45 | ;host, dns.weixin.qq.com, reject 46 | ;host, dns.weixin.qq.com.cn, reject 47 | IP-CIDR, 42.81.232.18/32, reject 48 | IP-CIDR, 42.187.182.106/32, reject 49 | IP-CIDR, 42.187.182.123/32, reject 50 | IP-CIDR, 42.187.184.154/32, reject 51 | IP-CIDR, 123.151.54.50/32, reject 52 | IP6-CIDR, 2402:4e00:1900:1700:0:9554:1ad9:c3a/128, reject 53 | IP6-CIDR, 240e:928:1400:10::25/128, reject 54 | # Zhihu 55 | IP-CIDR, 118.89.204.198/23, reject 56 | IP6-CIDR, 2402:4e00:1200:ed00:0:9089:6dac:96b6/128, reject 57 | -------------------------------------------------------------------------------- /Script/12306.js: -------------------------------------------------------------------------------- 1 | //let $=function(){const e="undefined"!=typeof $task,t="undefined"!=typeof $httpClient;return{isQuanX:e,isSurge:t,notify:(i,n,s)=>{e&&$notify(i,n,s),t&&$notification.post(i,n,s)},getValue:i=>e?$prefs.valueForKey(i):t?$persistentStore.read(i):void 0,setValue:(i,n)=>e?$prefs.setValueForKey(i,n):t?$persistentStore.write(i,n):void 0}}();"undefined"!=typeof $response?function(){let e=JSON.parse($response.body);e.materialsList&&(1===e.materialsList.length?function(e){e.materialsList[0].filePath="h",e.advertParam.skipTime=0}(e):e.materialsList.length>1&&(e.materialsList=[{}]));$done({body:JSON.stringify(e)})}():function(){$.setValue("","train_12306")&&console.log("12306去广告 - 脚本已更新,无需手动运行");$done()}(); 2 | 3 | //function removeAds(){var e=JSON.parse($response.body);if(e.materialsList)if(1===e.materialsList.length){if($prefs.valueForKey("train_12306"))e.materialsList[0].filePath=void 0,setData(e);else{setData(e),$prefs.setValueForKey("1","train_12306")&&$notify("12306去广告","","修改参数成功,退后台重进即可干掉开屏广告")}}else e.materialsList.length>1&&(e.materialsList=[{}]);$done({body:JSON.stringify(e)})}function setData(e){e.materialsList[0].billId="1000000",e.materialsList[0].billMaterialsId="2000000",e.advertParam.skipTime=1,e.advertParam.chacheTime=31536e4}function removeValue(){$prefs.removeValueForKey("train_12306")&&$notify("12306去广告","","广告参数已清空,可重新获取参数"),$done()}"undefined"!=typeof $response?removeAds():removeValue(); 4 | 5 | 6 | // 2023-02-11 22:30 7 | 8 | /* 9 | if (!$response.body) $done({}); 10 | let obj = JSON.parse($response.body); 11 | 12 | if (obj.materialsList) { 13 | if (obj.advertParam && obj.materialsList.length === 1) { 14 | obj.materialsList[0].filePath = "h"; 15 | obj.advertParam.skipTime = 0; 16 | } else if (obj.materialsList.length > 1) { 17 | obj.materialsList = []; 18 | } 19 | } 20 | 21 | $done({ body: JSON.stringify(obj) }); 22 | */ 23 | 24 | var ojbk = JSON.parse($response.body); 25 | 26 | ojbk = { 27 | "code": "00", 28 | "materialsList": [{ 29 | "billId": "3427", 30 | "billMaterialsId": "6052", 31 | "filePath": "null", 32 | "title": "郎溪县文化和旅游局", 33 | "linkUri": "https://mp.weixin.qq.com/s/jLuZkL1MExVz-JHOHPgwSw", 34 | "linkType": 2, 35 | "viewUrlList": ["https://ad.12306.cn/ad/mon/mzc?bid=3427&appId=2&mid=6052&pn=0060&n=1&ct=0&cn=CH&reqDate=1670762668338&rid=e2f930654b784e9dad0b804692a2d222&did=E5D2D21C-AEB7-4402-A9D4-391A8FE0C07F&t=1"], 36 | "clickUrlList": ["https://ad.12306.cn/ad/mon/mzc?bid=3427&appId=2&mid=6052&pn=0060&n=1&ct=0&cn=CH&reqDate=1670762668338&rid=e2f930654b784e9dad0b804692a2d222&did=E5D2D21C-AEB7-4402-A9D4-391A8FE0C07F&t=2"], 37 | "textDesc": "", 38 | "dplUrl": "", 39 | "advNature": 1, 40 | "pn": "0060", 41 | "creativeType": 1, 42 | "areaCode": "LXU" 43 | }, { 44 | "billId": "4611", 45 | "billMaterialsId": "6304", 46 | "filePath": "null", 47 | "title": "铁路e卡通", 48 | "linkUri": "https://mp.weixin.qq.com/s/GuIM1ix0lw_3stdZg0S0bg", 49 | "linkType": 2, 50 | "viewUrlList": ["https://ad.12306.cn/ad/mon/mzc?bid=4611&appId=2&mid=6304&pn=0061&n=1&ct=0&cn=CH&reqDate=1670762668338&rid=e2f930654b784e9dad0b804692a2d222&did=E5D2D21C-AEB7-4402-A9D4-391A8FE0C07F&t=1"], 51 | "clickUrlList": ["https://ad.12306.cn/ad/mon/mzc?bid=4611&appId=2&mid=6304&pn=0061&n=1&ct=0&cn=CH&reqDate=1670762668338&rid=e2f930654b784e9dad0b804692a2d222&did=E5D2D21C-AEB7-4402-A9D4-391A8FE0C07F&t=2"], 52 | "textDesc": "", 53 | "dplUrl": "", 54 | "advNature": 1, 55 | "pn": "0061", 56 | "creativeType": 1 57 | }, { 58 | "billId": "4705", 59 | "billMaterialsId": "6317", 60 | "filePath": "null", 61 | "title": "12306酒店", 62 | "linkUri": "app#60000014#/www/hotel-activity.html?showTitleBar=false&hotelFromPage=12306_sy_ggw&activityId=100043", 63 | "linkType": 3, 64 | "viewUrlList": ["https://ad.12306.cn/ad/mon/mzc?bid=4705&appId=2&mid=6317&pn=0063&n=1&ct=0&cn=CH&reqDate=1670762668338&rid=e2f930654b784e9dad0b804692a2d222&did=E5D2D21C-AEB7-4402-A9D4-391A8FE0C07F&t=1"], 65 | "clickUrlList": ["https://ad.12306.cn/ad/mon/mzc?bid=4705&appId=2&mid=6317&pn=0063&n=1&ct=0&cn=CH&reqDate=1670762668338&rid=e2f930654b784e9dad0b804692a2d222&did=E5D2D21C-AEB7-4402-A9D4-391A8FE0C07F&t=2"], 66 | "textDesc": "", 67 | "dplUrl": "", 68 | "advNature": 4, 69 | "pn": "0063", 70 | "creativeType": 1 71 | }], 72 | "rid": "e2f930654b784e9dad0b804692a2d222", 73 | "advertParam": { 74 | "skipTime": 1, 75 | "showSkipBtn": -1, 76 | "skipTimeAgain": 1, 77 | "chacheTime": 600000, 78 | "fixedscreen": 3, 79 | "isDefault": 0, 80 | "displayNumDi": 1, 81 | "index": 2 82 | } 83 | } 84 | 85 | $done({body : JSON.stringify(ojbk)}); -------------------------------------------------------------------------------- /Script/Aiqicha.js: -------------------------------------------------------------------------------- 1 | /* 2 | 爱企查vip 3 | ^https:\//aiqicha.baidu.com\/usercenter\/getvipinfoajax url script-response-body https://raw.githubusercontent.com/litieyin/AD_VIP/main/Script/aiqicha.js 4 | mitm= aiqicha.baidu.com 5 | */ 6 | 7 | /*var body = $response.body 8 | .replace(/\"svip\":\{\"status\":0,\"startTime\":\"\",\"endTime\":\"\"/, "\"svip\":\{\"status\":1,\"startTime\":\"\",\"endTime\":\"2099-12-31\""); 9 | $done({ body }); 10 | */ 11 | 12 | 13 | let obj = JSON.parse($response.body); 14 | obj.data = { 15 | "vip": 1, 16 | "consume": 150, 17 | "time": "2099-12-31", 18 | "signInStaus": 0 19 | } 20 | $done({body: JSON.stringify(obj)}); 21 | -------------------------------------------------------------------------------- /Script/Alidrive.js: -------------------------------------------------------------------------------- 1 | var body = $response.body; 2 | var chxm1023 = JSON.parse(body); 3 | 4 | const huanying = '/users/apps/welcome'; 5 | const chatiao = '/users/tools'; 6 | const shouye = '/users/home'; 7 | const vipa = '/users/vip/info'; 8 | const vipb = '/users/me/vip/info'; 9 | const bofang = '/users/feature/list'; 10 | const tubiao = '/users/me'; 11 | 12 | if ($request.url.indexOf(huanying) != -1){ 13 | chxm1023.title = "Hey, 欢迎您使用🎉"; 14 | chxm1023.description = "特别说明:解锁部分功能,不完全解锁"; 15 | } 16 | 17 | if ($request.url.indexOf(chatiao) != -1){ 18 | delete chxm1023.result.guideInfo; 19 | } 20 | 21 | if ($request.url.indexOf(shouye) != -1){ 22 | delete chxm1023.recentUsed; 23 | delete chxm1023.recentSaved; 24 | delete chxm1023.activities; 25 | delete chxm1023.result; 26 | delete chxm1023.myBackup; 27 | delete chxm1023.success; 28 | delete chxm1023.deviceBackupChannel; 29 | } 30 | 31 | if ($request.url.indexOf(vipa) != -1){ 32 | chxm1023 = { 33 | "status" : "normal", 34 | "identity" : "svip", 35 | "icon" : "https://gw.alicdn.com/imgextra/i3/O1CN01iPKCuZ1urjDgiry5c_!!6000000006091-2-tps-60-60.png", 36 | "level" : "8t", 37 | "vipList" : [ 38 | { 39 | "code" : "svip.8t", 40 | "promotedAt" : 1675469645, 41 | "expire" : 4092599349, 42 | "name" : "超级会员" 43 | } 44 | ], 45 | "mediumIcon" : "https://gw.alicdn.com/imgextra/i4/O1CN01Mk916Y1c99aVBrgxM_!!6000000003557-2-tps-222-60.png" 46 | }; 47 | } 48 | 49 | if ($request.url.indexOf(vipb) != -1){ 50 | chxm1023 = { 51 | "rightButtonText" : "立即续费", 52 | "identity" : "svip", 53 | "level" : "8t", 54 | "titleNotice" : "SVIP", 55 | "titleImage" : "https://gw.alicdn.com/imgextra/i1/O1CN01Z2Yv4u1jrJ5S5TYpo_!!6000000004601-2-tps-216-60.png", 56 | "description" : "有效期至2099-09-09" 57 | }; 58 | } 59 | 60 | if ($request.url.indexOf(bofang) != -1){ 61 | body = body.replace(/\"name":".*?"/g, '\"name":"svip"').replace(/\"intercept":\w+/g, '\"intercept":false'); 62 | $done({body}); 63 | } 64 | 65 | if ($request.url.indexOf(tubiao) != -1){ 66 | chxm1023.membershipIdentity = "svip"; 67 | chxm1023.membershipIcon = "https://gw.alicdn.com/imgextra/i3/O1CN01iPKCuZ1urjDgiry5c_!!6000000006091-2-tps-60-60.png"; 68 | } 69 | 70 | 71 | $done({body : JSON.stringify(chxm1023)}); -------------------------------------------------------------------------------- /Script/Amap.js: -------------------------------------------------------------------------------- 1 | // 2023-08-07 16:15 2 | 3 | const url = $request.url; 4 | if (!$response.body) $done({}); 5 | let obj = JSON.parse($response.body); 6 | 7 | if (url.includes("/faas/amap-navigation/main-page")) { 8 | // 首页底部卡片 9 | if (obj.data.cardList) { 10 | obj.data.cardList = obj.data.cardList.filter( 11 | (i) => 12 | i.dataKey === "ContinueNavigationCard" || // 继续导航 13 | i.dataKey === "FrequentLocation" || // 常去地点 14 | i.dataKey === "LoginCard" // 登陆卡片 15 | ); 16 | } 17 | if (obj.data.mapBizList) { 18 | obj.data.mapBizList = obj.data.mapBizList.filter( 19 | (i) => i.dataKey === "FindCarVirtualCard" // 显示关联车辆位置 20 | ); 21 | } 22 | } else if (url.includes("/promotion-web/resource")) { 23 | // 打车页面 24 | let item = [ 25 | "alpha", // 出行优惠套餐 26 | "banner", 27 | "bravo", // 第三方推广 喜马拉雅月卡 28 | "bubble", 29 | "charlie", // 横版推广 单单立减 领专属优惠 体验问卷 30 | "icon", 31 | "other", 32 | "popup", 33 | "push", // 顶部通知 发单立享优惠 34 | "tips" 35 | ]; 36 | if (obj.data) { 37 | item.forEach((i) => { 38 | delete obj.data[i]; 39 | }); 40 | } 41 | } else if (url.includes("/sharedtrip/taxi/order_detail_car_tips")) { 42 | if (obj.data?.carTips?.data?.popupInfo) { 43 | delete obj.data.carTips.data.popupInfo; 44 | } 45 | } else if (url.includes("/shield/dsp/profile/index/nodefaasv3")) { 46 | // 我的页面 47 | if (obj.data.cardList) { 48 | obj.data.cardList = obj.data.cardList.filter( 49 | (i) => i.dataKey === "MyOrderCard" 50 | ); 51 | } 52 | if (obj.data.tipData) { 53 | delete obj.data.tipData; 54 | } 55 | // 足迹 56 | // if (obj.data.footPrintV2) { 57 | // delete obj.data.footPrintV2; 58 | // } 59 | // 成就勋章 lv1见习达人 60 | if (obj.data.memberInfo) { 61 | delete obj.data.memberInfo; 62 | } 63 | } else if (url.includes("/shield/frogserver/aocs")) { 64 | // 整体图层 65 | const item = [ 66 | "Naviendpage_Searchwords", 67 | "SplashScreenControl", 68 | "TipsTaxiButton", 69 | "TrainOrderBanner", 70 | "_testmark_info", 71 | "_user_profile_", 72 | "air_card", 73 | "amapCoin", 74 | "aos_feedback", 75 | "apple_location_log_collect", 76 | "collect", 77 | "deviceml_force_recommend", 78 | "deviceml_update_apk_conf", 79 | "footprint", // 足迹 80 | "gd_code_cover", 81 | "gd_notch_logo", 82 | "his_input_tip", 83 | "home_business_position_config", // 首页右上角动图 84 | "homepage_resource_config", 85 | "hotel_activity", 86 | "hotel_fillin_opt", 87 | "hotel_loop", 88 | "hotel_portal", 89 | "hotel_tipsicon", 90 | "icon_show", 91 | "info_env_setting", 92 | "ip_square", 93 | "ip_square_share", 94 | "isNewSearchMapCard", // 可能是足迹 95 | "isPoiBubbleDisplay", 96 | "lab_beta", 97 | "lab_screenrecording", 98 | "landing_page_info", 99 | "list_action_drawer", 100 | "listguide", 101 | "map_environment_air", 102 | "map_weather_switch", 103 | "maplayers", // 赏花地图 104 | "message_tab", 105 | "navi_end", // 导航结束页面 106 | "nearby", 107 | "nearby_business_popup", 108 | "nearby_map_entry_guide", 109 | "nearby_map_pull_down_guide", 110 | "nore_rec", 111 | "operation_layer", // 首页右上角图层 112 | "photo_with_location", 113 | "poi_rec", 114 | "preword", 115 | "profileHeaderPic", 116 | "profiletTopBtn", 117 | "recommend_api", 118 | "recommend_key", 119 | "redesign_user", 120 | "routeresult_banner", 121 | "search_homepage", 122 | "search_keyword", 123 | "search_moni", 124 | "search_perf", 125 | "search_poi_recommend", 126 | "search_service_adcode", 127 | "search_word", 128 | "small_biz_fun", 129 | "small_biz_index", 130 | "small_biz_news", 131 | "splashscreen", 132 | "splashview_config", 133 | "sur_bar", 134 | "taxi_activity", 135 | "testflight_adiu", 136 | "tf_remind", 137 | "third_party_places", 138 | "tips_bar_black_list", 139 | "tips_hook", 140 | "trackupload", 141 | "user_insight", // 您对本次导航满意吗 142 | "vip", 143 | "weather_restrict_config" 144 | ]; 145 | for (let i of item) { 146 | if (obj.data?.[i]) { 147 | obj.data[i] = { status: 1, version: "", value: "" }; 148 | } 149 | } 150 | } else if (url.includes("/shield/search/common/coupon/info")) { 151 | if (obj.data) { 152 | obj.data = {}; 153 | } 154 | } else if (url.includes("/shield/search/nearbyrec_smart")) { 155 | // 附近页面 156 | if (obj.data.modules) { 157 | obj.data.modules = obj.data.modules.filter( 158 | (i) => i === "head" || i === "search_hot_words" || i === "feed_rec" 159 | ); 160 | } 161 | } else if (url.includes("/shield/search/poi/detail")) { 162 | // 搜索结果 模块详情 163 | const item = [ 164 | // "anchor", 165 | "adv_compliance_info", // 服务提供方 166 | "adv_gift", 167 | // "base_info", 168 | "bigListBizRec", // 周边景点推荐 三张景点大图 169 | "bottomDescription", // 底部描述 高德酒店 全网比价 170 | // "brand_introduction", 171 | "brand_shop_bar", 172 | // "brand_story", 173 | "checkIn", 174 | "check_in", // 足迹打卡 175 | "city_discount", // 专业老师在线答疑 176 | "claim", // 立即认领 管理店铺 177 | "co_branded_card", 178 | "collector_guide", // 游玩的图文指南 179 | "common_coupon_bar", // 领券条幅 新客专享 省钱卡 180 | "comprehensiveEditEntrance", // 编辑地点信息 181 | // "consultancy", 182 | "contributor", // 地点贡献 183 | // "coupon_allowance", 184 | // "coupon_entrance", 185 | "cpt_service_shop", //买卖二手房 186 | // "craftsman_entry", 187 | // "crowd_index", // 人流量情况 188 | // "detailFeedCommodity", 189 | // "detail_bottom_shop_service", 190 | "discount_commodity", // 优惠团购 191 | "divergentRecommendModule", // 你可能还喜欢 192 | // "evaluate", // 高德出行评分 193 | // "events", 194 | "everyOneToSee", // 大家还在看 195 | "feedback", // 问题反馈 196 | "first_surround_estate_tab", // 周边小区 197 | // "floor_guide_second", // 楼层导览 198 | // "footer_logo", 199 | // "foreclosurehouse", 200 | // "gallery_info", // 现场照片 201 | // "ggc_entry", 202 | // "hkfMiniPortal", // 订票页面 飞机 火车 汽车 203 | "horizontalGoodsShelf", 204 | "hot_new_house_estate", 205 | "hot_shop", 206 | "hotelCoupon", 207 | "hotelMustRead", // 订房必读 208 | // "hotelRooms", // 酒店所有房间 209 | // "hourHotelRooms", // 钟点房 210 | "houseList", 211 | "houseOfficeBrandIntroduction", 212 | "houseOfficeInfo", 213 | "houseOfficeNotice", 214 | "houseOfficeService", 215 | "house_apart_info", 216 | "house_buying_agent", 217 | "house_coupon", 218 | "house_cp_clues", 219 | "house_cpt_coupon", 220 | "house_cpt_grab", 221 | "house_price", 222 | "house_rent_sale_agency", 223 | // "human_traffic", // 人流量情况 有统计图 224 | "image_banner", 225 | "legal_document", // 房源法律信息 226 | "listBizRec_1", 227 | "listBizRec_2", // 周边餐饮 228 | "merchantSettlement", // 商家店铺管理 229 | "membership", // 高德菲住卡 会员项目 230 | "movie_info", // 优惠购票 景点宣传片 231 | "multi_page_anchor", // 二级导航菜单 门票 评论 推荐 232 | // "navbarMore", // 右上角三点 233 | "nearbyRecommendModule", // 周边推荐 234 | "nearby_house", 235 | "nearby_new_house_estate", 236 | "nearby_office_estate", 237 | "nearby_old_sell_estate", 238 | "nearby_play_rec", // 附近玩乐项目 239 | "newGuest", // 新客专享 240 | "newRelatedRecommends", // 探索周边 241 | "new_operation_banner", // 精选活动 高德的推广 242 | "newsellhouse", 243 | // "normal_nav_bar", // 右上角图标 客服 反馈 244 | // "notification", 245 | "officerenthouse", 246 | "officesellhouse", 247 | "official_account", // 其他平台官方账号 248 | "oldsellhouse", 249 | // "opentime", // 营业时间 250 | "operation_banner", // 横版图片推广 251 | "operator_card", 252 | // "packageShelf", 253 | "parentBizRec", 254 | "parentPoiRecEntrance", // 所在商圈 255 | "poster_banner", 256 | // "poi_intercept", 257 | "portal_entrance", // 高德旅游版块 引流到旅游频道 258 | // "question_answer_card", // 问问 地点附近的热门问题 259 | "relatedRecommends", // 附近同类型酒店 260 | // "realtorRealStep", 261 | "renthouse", 262 | "rentsaleagencyv2", 263 | "rentsaleagencyv3", 264 | "rentsalehouse", 265 | "residentialOwners", // 小区业主 266 | "reviews", // 用户评价 267 | // "roomSelect", // 选择订房日期 悬浮菜单 268 | "sameIndustryRecommendModule", 269 | "sameIndustry2RecommendModule", 270 | // "same_price_new_estate", 271 | "scenic_coupon", // 优惠券过期提示 272 | "scenic_filter", // 购票悬浮菜单 可定明日 随时退 273 | // "scenic_guide", 274 | // "scenic_helper", // 景区助手 开放时间 旺季 淡季 275 | // "scenic_knowledge", 276 | "scenic_lifeservices", // 吃住购娱 餐厅 购物 277 | "scenic_mustplay", // 必游景点 四张景点大图 278 | // "scenic_parking", 279 | "scenic_play_guide", // 景区攻略 游玩攻略 交通攻略 280 | "scenic_recommend", // 景点建议 281 | // "scenic_route", 282 | // "scenic_route_intelligent", // 推荐游玩线路 283 | // "scenic_service", 284 | // "scenic_ski", // 滑雪攻略 雪道数量 设施及服务 285 | // "scenic_story", 286 | // "scenic_ticket", // 购票 287 | // "scenic_ticket_activity", // 购票活动 288 | "scenic_voice", // 语音讲解 付费的项目 289 | "second_surround_estate_tab", // 周边房产 290 | "service_shop", // 中介门店 291 | // "shop_news", 292 | "smallListBizRec", // 周边热门酒店 293 | "smallOrListBizRec", 294 | "surround_facility", 295 | "surround_facility_new", 296 | "surround_house_tab", 297 | "surround_oldsellhouse", 298 | "surround_renthouse", 299 | "surround_rentoffice", 300 | "surround_selloffice", 301 | // "traffic", // 交通出行 地铁站 公交站 停车场 302 | "uploadBar", 303 | "upload_bar", // 上传照片 304 | "verification" // 商家已入驻 305 | // "video", 306 | ]; 307 | if (obj.data.modules) { 308 | item.forEach((i) => { 309 | delete obj.data.modules[i]; 310 | }); 311 | } 312 | } else if ( 313 | url.includes("/shield/search_poi/search/sp") || 314 | url.includes("/shield/search_poi/mps") 315 | ) { 316 | if (obj.data?.list_data) { 317 | let list = obj.data.list_data.content[0]; 318 | // 详情页 底部 房产推广 319 | if (list?.hookInfo) { 320 | let hookData = list.hookInfo.data; 321 | if (hookData?.header) { 322 | delete hookData.header; 323 | } 324 | if (hookData?.house_info) { 325 | delete hookData.house_info; 326 | } 327 | } 328 | // 详情页 底部 订酒店 329 | if (list?.map_bottom_bar?.hotel) { 330 | delete list.map_bottom_bar.hotel; 331 | } 332 | if (list?.poi?.item_info?.tips_bottombar_button?.hotel) { 333 | delete list.poi.item_info.tips_bottombar_button.hotel; 334 | } 335 | if (list?.tips_operation_info) { 336 | delete list.tips_operation_info; 337 | } 338 | if (list?.bottom?.bottombar_button?.hotel) { 339 | delete list.bottom.bottombar_button.hotel; 340 | } 341 | // 搜索页 顶部卡片 342 | if ( 343 | list?.card?.card_id === "SearchCardBrand" && 344 | list?.item_type === "brandAdCard" 345 | ) { 346 | delete list.card; 347 | } 348 | if ( 349 | list?.card?.card_id === "NearbyGroupBuy" && 350 | list?.item_type === "toplist" 351 | ) { 352 | delete list.card; 353 | } 354 | if ( 355 | list?.card?.card_id === "ImageBanner" && 356 | list?.item_type === "ImageBanner" 357 | ) { 358 | delete list.card; 359 | } 360 | } else if (obj.data?.district?.poi_list) { 361 | // 搜索列表详情页 362 | let poi = obj.data.district.poi_list[0]; 363 | // 订票横幅 364 | if (poi?.transportation) { 365 | delete poi.transportation; 366 | } 367 | // 景点门票 酒店特惠 特色美食 休闲玩乐 368 | if (poi?.feed_rec_tab) { 369 | delete poi.feed_rec_tab; 370 | } 371 | } 372 | } else if (url.includes("/shield/search_poi/sug")) { 373 | if (obj?.tip_list) { 374 | let newList = []; 375 | if (obj?.tip_list?.length > 0) { 376 | for (let item of obj.tip_list) { 377 | if ( 378 | ["12"].includes(item?.tip?.datatype_spec) || 379 | ["ad", "poi_ad", "toplist"].includes(item?.tip?.result_type) || 380 | [ 381 | "ad", 382 | "exct_query_sug_merge_theme", 383 | "query_sug_merge_theme", 384 | "sp" 385 | ].includes(item?.tip?.task_tag) 386 | ) { 387 | continue; 388 | } else { 389 | newList.push(item); 390 | } 391 | } 392 | obj.tip_list = newList; 393 | } 394 | } else if (obj?.city_list) { 395 | let newList = []; 396 | if (obj?.city_list?.length > 0) { 397 | for (let item of obj.city_list) { 398 | let newTip = []; 399 | if (item?.tip_list?.length > 0) { 400 | for (let ii of item.tip_list) { 401 | if (["12"].includes(ii?.tip?.datatype_spec)) { 402 | continue; 403 | } else if (["ad", "poi_ad"].includes(ii?.tip?.result_type)) { 404 | continue; 405 | } else { 406 | newTip.push(ii); 407 | } 408 | } 409 | item.tip_list = newTip; 410 | } 411 | newList.push(item); 412 | } 413 | obj.city_list = newList; 414 | } 415 | } 416 | } else if (url.includes("/shield/search_poi/tips_operation_location")) { 417 | // 搜索页面 底部结果上方窄横幅 418 | if (obj.data.coupon) { 419 | delete obj.data.coupon; 420 | } 421 | const bar = [ 422 | "belt", 423 | "common_float_bar", 424 | "common_image_banner", 425 | "coupon_discount_float_bar", 426 | "coupon_float_bar", 427 | "discount_coupon", 428 | "image_cover_bar", 429 | "mood_coupon_banner", 430 | "operation_brand", 431 | "promotion_wrap_card", 432 | "tips_top_banner" 433 | ]; 434 | if (obj.data.modules) { 435 | bar.forEach((i) => { 436 | delete obj.data.modules[i]; 437 | }); 438 | } 439 | } else if (url.includes("/valueadded/alimama/splash_screen")) { 440 | // 开屏广告 441 | if (obj.data.ad) { 442 | for (let item of obj.data.ad) { 443 | item.set.setting.display_time = 0; 444 | item.creative[0].start_time = 2208960000; // Unix 时间戳 2040-01-01 00:00:00 445 | item.creative[0].end_time = 2209046399; // Unix 时间戳 2040-01-01 23:59:59 446 | } 447 | } 448 | } 449 | 450 | $done({ body: JSON.stringify(obj) }); -------------------------------------------------------------------------------- /Script/BaiduCloud.js: -------------------------------------------------------------------------------- 1 | function ENV(){const e="function"==typeof require&&"undefined"!=typeof $jsbox;return{isQX:"undefined"!=typeof $task,isLoon:"undefined"!=typeof $loon,isSurge:"undefined"!=typeof $httpClient&&"undefined"==typeof $loon,isBrowser:"undefined"!=typeof document,isNode:"function"==typeof require&&!e,isJSBox:e,isRequest:"undefined"!=typeof $request,isScriptable:"undefined"!=typeof importModule,}}function HTTP(e={baseURL:""}){function t(t,a){a="string"==typeof a?{url:a}:a;const h=e.baseURL;h&&!d.test(a.url||"")&&(a.url=h?h+a.url:a.url),a.body&&a.headers&&!a.headers["Content-Type"]&&(a.headers["Content-Type"]="application/x-www-form-urlencoded"),(a={...e,...a});const c=a.timeout,l={onRequest:()=>{},onResponse:(e)=>e,onTimeout:()=>{},...a.events,};let f,y;if((l.onRequest(t,a),s))f=$task.fetch({method:t,...a});else if(o||n)f=new Promise((e,s)=>{$httpClient[t.toLowerCase()](a,(t,o,n)=>{t?s(t):e({statusCode:o.status||o.statusCode,headers:o.headers,body:n,})})});else if(r){const e=require("got"),s=require("iconv-lite");f=new Promise((o,n)=>{e[t.toLowerCase()](a).then((e)=>o({statusCode:e.statusCode,headers:e.headers,body:s.decode(e.rawBody,"utf-8"),})).catch(n)})}else if(i){const e=new Request(a.url);(e.method=t),(e.headers=a.headers),(e.body=a.body),(f=new Promise((t,s)=>{e.loadString().then((s)=>{t({statusCode:e.response.statusCode,headers:e.response.headers,body:s,})}).catch((e)=>s(e))}))}else u&&(f=new Promise((e,s)=>{fetch(a.url,{method:t,headers:a.headers,body:a.body}).then((e)=>e.json()).then((t)=>e({statusCode:t.status,headers:t.headers,body:t.data})).catch(s)}));const p=c?new Promise((e,s)=>{y=setTimeout(()=>(l.onTimeout(),s(`${t}URL:${a.url}exceeds the timeout ${c}ms`)),c)}):null;return(p?Promise.race([p,f]).then((e)=>(clearTimeout(y),e)):f).then((e)=>l.onResponse(e))}const{isQX:s,isLoon:o,isSurge:n,isScriptable:i,isNode:r,isBrowser:u,}=ENV(),a=["GET","POST","PUT","DELETE","HEAD","OPTIONS","PATCH"],d=/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/,h={};return a.forEach((e)=>(h[e.toLowerCase()]=(s)=>t(e,s))),h}function API(e="untitled",t=!1){const{isQX:s,isLoon:o,isSurge:n,isNode:i,isJSBox:r,isScriptable:u,}=ENV();return new(class{constructor(e,t){(this.name=e),(this.debug=t),(this.http=HTTP()),(this.env=ENV()),(this.node=(()=>{if(i){const e=require("fs");return{fs:e}}return null})()),this.initCache();const s=(e,t)=>new Promise(function(s){setTimeout(s.bind(null,t),e)});Promise.prototype.delay=function(e){return this.then(function(t){return s(e,t)})}}initCache(){if((s&&(this.cache=JSON.parse($prefs.valueForKey(this.name)||"{}")),(o||n)&&(this.cache=JSON.parse($persistentStore.read(this.name)||"{}")),i)){let e="root.json";this.node.fs.existsSync(e)||this.node.fs.writeFileSync(e,JSON.stringify({}),{flag:"wx"},(e)=>console.log(e)),(this.root={}),(e=`${this.name}.json`),this.node.fs.existsSync(e)?(this.cache=JSON.parse(this.node.fs.readFileSync(`${this.name}.json`))):(this.node.fs.writeFileSync(e,JSON.stringify({}),{flag:"wx"},(e)=>console.log(e)),(this.cache={}))}}persistCache(){const e=JSON.stringify(this.cache,null,2);s&&$prefs.setValueForKey(e,this.name),(o||n)&&$persistentStore.write(e,this.name),i&&(this.node.fs.writeFileSync(`${this.name}.json`,e,{flag:"w"},(e)=>console.log(e)),this.node.fs.writeFileSync("root.json",JSON.stringify(this.root,null,2),{flag:"w"},(e)=>console.log(e)))}write(e,t){if((this.log(`SET ${t}`),-1!==t.indexOf("#"))){if(((t=t.substr(1)),n||o))return $persistentStore.write(e,t);if(s)return $prefs.setValueForKey(e,t);i&&(this.root[t]=e)}else this.cache[t]=e;this.persistCache()}read(e){return(this.log(`READ ${e}`),-1===e.indexOf("#")?this.cache[e]:((e=e.substr(1)),n||o?$persistentStore.read(e):s?$prefs.valueForKey(e):i?this.root[e]:void 0))}delete(e){if((this.log(`DELETE ${e}`),-1!==e.indexOf("#"))){if(((e=e.substr(1)),n||o))return $persistentStore.write(null,e);if(s)return $prefs.removeValueForKey(e);i&&delete this.root[e]}else delete this.cache[e];this.persistCache()}notify(e,t="",a="",d={}){const h=d["open-url"],c=d["media-url"];if((s&&$notify(e,t,a,d),n&&$notification.post(e,t,a+`${c?"\n多媒体:"+c:""}`,{url:h,}),o)){let s={};h&&(s.openUrl=h),c&&(s.mediaUrl=c),"{}"===JSON.stringify(s)?$notification.post(e,t,a):$notification.post(e,t,a,s)}if(i||u){const s=a+(h?`\n点击跳转:${h}`:"")+(c?`\n多媒体:${c}`:"");if(r){const o=require("push");o.schedule({title:e,body:(t?t+"\n":"")+s})}else console.log(`${e}\n${t}\n${s}\n\n`)}}log(e){this.debug&&console.log(`[${this.name}]LOG:${this.stringify(e)}`)}info(e){console.log(`[${this.name}]INFO:${this.stringify(e)}`)}error(e){console.log(`[${this.name}]ERROR:${this.stringify(e)}`)}wait(e){return new Promise((t)=>setTimeout(t,e))}done(e={}){s||o||n?$done(e):i&&!r&&"undefined"!=typeof $context&&(($context.headers=e.headers),($context.statusCode=e.statusCode),($context.body=e.body))}stringify(e){if("string"==typeof e||e instanceof String)return e;try{return JSON.stringify(e,null,2)}catch(e){return"[object Object]"}}})(e,t)}function getGoneDay(n=0,yearFlag=true){let myDate=new Date();myDate.setDate(myDate.getDate()-n);let month=myDate.getMonth()+1;let day=myDate.getDate();let result=""+(yearFlag?myDate.getFullYear():"")+"/"+(month<10?"0"+month:month)+"/"+(day<10?"0"+day:day);return result}var obj=JSON.parse($response.body.replace(/\"svip\":\"\w+\"/g,'"svip":true').replace(/\"vip\":\"\w+\"/g,'"vip":false').replace(/\"normal\":\"\w+\"/g,'"normal":false').replace(/\"in_vip\":\"\w+\"/g,'"in_vip":false').replace(/\"in_svip\":\"\w+\"/g,'"in_svip":true').replace(/\"in_normal\":\"\w+\"/g,'"in_normal":false'));var $XiaoMaoSvip="";var appName=`XiaoMao-百度云Svip`;var XiaoMaoSvip="";let XiaoMaoEndTime=null;let levelList=[0,1000,3000,7000,15000,27000,43000,56000,68000,100000,];let XiaoMaoLevel=9;let XiaoMaoValue=99999;!(async()=>{await XiaoMaoFunction()})().catch((err)=>{$XiaoMaoSvip.error(err);setTimeout(()=>{$XiaoMaoSvip.done()},3000)}).finally(()=>{console.log(appName+"设置成功");setTimeout(()=>{$XiaoMaoSvip.done()},5000)});function XiaoMaoFunction(){$XiaoMaoSvip=API("XiaoMao");if($XiaoMaoSvip.read("BaiDuSvipYear")&&$XiaoMaoSvip.read("BaiDuSvipMonth")&&$XiaoMaoSvip.read("BaiDuSvipDay")){SvipDate=new Date($XiaoMaoSvip.read("BaiDuSvipYear")+"/"+$XiaoMaoSvip.read("BaiDuSvipMonth")+"/"+$XiaoMaoSvip.read("BaiDuSvipDay")).getTime();if(!SvipDate){$XiaoMaoSvip.notify(appName,"","会员日期设置错误,请输入正确的日期范围!");XiaoMaoSvip=getGoneDay(-1)}else{XiaoMaoSvip=$XiaoMaoSvip.read("BaiDuSvipYear")+"/"+$XiaoMaoSvip.read("BaiDuSvipMonth")+"/"+$XiaoMaoSvip.read("BaiDuSvipDay")}}else{XiaoMaoSvip=getGoneDay(-1)}if($XiaoMaoSvip.read("BaiDuLevel")){let level=parseInt($XiaoMaoSvip.read("BaiDuLevel"));if(level==10){XiaoMaoLevel=10;XiaoMaoValue=levelList[XiaoMaoLevel-1]}else{XiaoMaoLevel=level>10||level<1?9:level;XiaoMaoValue=levelList[XiaoMaoLevel]-1<0?1:levelList[XiaoMaoLevel]-1}}XiaoMaoEndTime=new Date(XiaoMaoSvip).getTime()/1000}if($response.body){let requestUrl=$request.url;if(/^https:\/\/pan\.baidu\.com\/rest\/\d\.\d\/membership\/user?/.test(requestUrl)){obj.hasOwnProperty("product_infos")?((obj.product_infos[1]={product_name:"svip"+XiaoMaoLevel+"_nd",product_description:"超级会员",function_num:100,start_time:1553702399,buy_description:"",buy_time:0,product_id:XiaoMaoLevel-1,auto_upgrade_to_svip:0,end_time:XiaoMaoEndTime,cluster:"vip",detail_cluster:"svip",status:0,}),(obj.level_info={history_value:XiaoMaoValue-1,current_level:XiaoMaoLevel,current_value:XiaoMaoValue,history_level:XiaoMaoLevel,}),(obj.center_skip_config.action_url=""),(obj.user_tag=`{"has_buy_record":1,"has_buy_vip_svip_record":1,"last_buy_record_creat_time":1641279341,"is_vip":1,"is_svip":1,"last_vip_type":1,"last_vip_svip_end_time":${XiaoMaoEndTime},"is_svip_sign":1,"notice_user_type":2,"notice_user_status":2,"is_first_act":0}`)):"";obj.hasOwnProperty("vip")?((obj.vip.emotional_tip_front="你管我失去多少"),(obj.vip.status=1),(obj.svip.status=1)):"";obj.hasOwnProperty("svip")?(obj.svip.emotional_tip_front="你管我失去多少"):"";obj.hasOwnProperty("tips_data_list")?(obj.tips_data_list=[]):"";obj.hasOwnProperty("status_data")?(obj.status_data="你管我你管我你管我"):"";obj.hasOwnProperty("guide_data")?(obj.guide_data={}):"";obj.hasOwnProperty("tips_data")?(obj.tips_data={}):"";obj.hasOwnProperty("v10_guide")?(obj.v10_guide={}):"";if(obj.hasOwnProperty("status_data_arr")){let index=obj.status_data_arr.findIndex((item)=>item.includes("已失去特权"));index!=-1?(obj.status_data_arr[index]="百度网盘第一股东"):""}obj.hasOwnProperty("new_guide_data")?(obj.new_guide_data={title:"精神股东",button:{text:"",action_url:""},sub_card_list:[],}):"";obj.hasOwnProperty("user_info")?((obj.user_info.is_svip=1),(obj.user_info.is_vip=0),(obj.user_info.plus_buy_hit=1)):"";obj.hasOwnProperty("privilege_title")?(obj.privilege_title={}):""}else if(/^https:\/\/pan\.baidu\.com\/act\/v2\/membergrow\/my?/.test(requestUrl)){obj.hasOwnProperty("list")?(obj.list.length=0):""}else if(/^https:\/\/pan\.baidu\.com\/story\/diff?/.test(requestUrl)){obj.hasOwnProperty("list")?(obj.list.length=0):"";obj.hasOwnProperty("dellist")?(obj.dellist.length=0):""}else if(/^https:\/\/pan\.baidu\.com\/dosp\/opconf\/list?/.test(requestUrl)){obj.hasOwnProperty("data")?(obj.data.length=0):""}else if(/^https:\/\/pan\.baidu\.com\/api\/user\/getinfo?/.test(requestUrl)){obj.hasOwnProperty("records")?(obj.records[0].vip_level=XiaoMaoLevel):""}else if(/^https:\/\/pan\.baidu\.com\/act\/api\/activityentry?/.test(requestUrl)){obj.hasOwnProperty("popup_list")?(obj.popup_list.length=0):""}else if(/^https:\/\/pan\.baidu\.com\/api\/singkil\/bindquery?/.test(requestUrl)){obj.hasOwnProperty("svip")?(obj.svip=1):""}let FinishBody=JSON.stringify(obj);$done(FinishBody)}else{$done({})} 2 | -------------------------------------------------------------------------------- /Script/BaiduLibrary.js: -------------------------------------------------------------------------------- 1 | 2 | let ddgksf2013 = JSON.parse($response.body); 3 | ddgksf2013.data.vip.base_vip_info={"uid":12345678,"type":2,"start_time":1622222200,"end_time":4622222200,"is_vip":1,"remain_day":999,"pro_total":5,"normal_total":5}; 4 | $done({ body: JSON.stringify(ddgksf2013) }); 5 | 6 | 7 | /* 8 | let Premium = $response.body; 9 | var modified = JSON.parse(Premium); 10 | modified.data.vip.base_vip_info = {"end_time":4070880000,"uid":510004015,"is_vip":1,"pro_total":0,"start_time":1672502400,"type":2,"remain_day":365,"normal_total":0}; 11 | $done({body:JSON.stringify(modified)}); 12 | */ -------------------------------------------------------------------------------- /Script/BiliBili.js: -------------------------------------------------------------------------------- 1 | var modifiedHeaders = $request['headers']; 2 | modifiedHeaders['Cookie'] = ''; 3 | modifiedHeaders['x-bili-device-bin'] = ''; 4 | modifiedHeaders['Authorization'] = ''; 5 | modifiedHeaders['User-Agent'] = ''; 6 | modifiedHeaders['buvid'] = ''; 7 | modifiedHeaders['x-bili-metadata-bin'] = ''; 8 | modifiedHeaders['x-bili-locale-bin'] = ''; 9 | modifiedHeaders['x-bili-network-bin'] = ''; 10 | modifiedHeaders['x-bili-fawkes-req-bin'] = ''; 11 | modifiedHeaders['x-bili-trace-id'] = ''; 12 | modifiedHeaders['x-bili-exps-bin'] = ''; 13 | modifiedHeaders['x-bili-network-bin'] = ''; 14 | $done({'headers': modifiedHeaders}); 15 | -------------------------------------------------------------------------------- /Script/Camscanner.js: -------------------------------------------------------------------------------- 1 | let body = JSON.parse($response.body) 2 | body.data.psnl_vip_property = {"renew_method": "appstore", 3 | "initial_tm": "1614867690", 4 | "svip": 1, 5 | "auto_renewal": true, 6 | "ms_first_pay": 0, 7 | "pending": 0, 8 | "group2_paid": 0, 9 | "inherited_flag": 0, 10 | "nxt_renew_tm": "9915126887", 11 | "level_info": { 12 | "level": 1, 13 | "days": 1, 14 | "end_days": 30 15 | }, 16 | "group1_paid": 1, 17 | "ys_first_pay": 0, 18 | "renew_type": "year", 19 | "expiry": 8487890487, 20 | "grade": 2, 21 | "last_payment_method": "appstore", 22 | "product_id": "com.intsig.camscanner.premiums.oneyear.autorenewable.svip.low"} 23 | $done({body:JSON.stringify(body)}) 24 | -------------------------------------------------------------------------------- /Script/Coolapk.js: -------------------------------------------------------------------------------- 1 | const version = 'V1.0.9'; 2 | 3 | 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("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); -------------------------------------------------------------------------------- /Script/DouBan.js: -------------------------------------------------------------------------------- 1 | let url = $request.url 2 | let movieId = url.match(/subject\/(\d+)/) 3 | let seen = url.match(/\?seen=(\d)$/) 4 | let collect = false //收藏功能,默认关闭,需自行配置 5 | let region = "US" //流媒体区域 6 | let tmdb_api_key = "" // TMDB API KEY 7 | 8 | if (!seen) douban_addons() 9 | if (seen) collect_movie() 10 | 11 | async function douban_addons() { 12 | let body = $response.body 13 | let title = body.match(/"sub-title">([^<]+)/) 14 | if (!title) $done({}) 15 | if (collect) body = body.replace(//, ``) 16 | if (collect) body = body.replace(//, ``) 17 | 18 | let mweb = [`
茶杯狐 👉 Click to Play 👈
`] 19 | mweb.push(`
Libvio 👉 Click to Play 👈
`); 20 | let douban_options = { 21 | url: `https://frodo.douban.com/api/v2/movie/${movieId[1]}?apiKey=0ac44ae016490db2204ce0a042db2916`, 22 | method: "GET", 23 | headers: { 24 | "User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 14_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/8.0.3(0x18000323) NetType/WIFI Language/en", 25 | "Referer": "https://servicewechat.com/wx2f9b06c1de1ccfca/82/page-frame.html" 26 | } 27 | } 28 | 29 | let douban_result = {};//await send_request(douban_options) 30 | 31 | if (tmdb_api_key&&(douban_result.type == "movie" || douban_result.type == "tv") && douban_result.original_title) { 32 | 33 | let tbdb_query_options = { 34 | url: `https://api.themoviedb.org/3/search/${douban_result.type}?api_key=${tmdb_api_key}&query=${encodeURIComponent(douban_result.original_title.replace(/Season \d+$/, ""))}&page=1`, 35 | method: "GET" 36 | } 37 | let tmdb_query = await send_request(tbdb_query_options) 38 | 39 | if (tmdb_query.results[0]) { 40 | 41 | let providers_query_options = { 42 | url: `https://api.themoviedb.org/3/${douban_result.type}/${tmdb_query.results[0].id}/watch/providers?api_key=${tmdb_api_key}`, 43 | method: "GET" 44 | } 45 | 46 | let tmdb_providers = await send_request(providers_query_options) 47 | 48 | if (tmdb_providers.results[region]) { 49 | if (tmdb_providers.results[region].flatrate) { 50 | for (var i in tmdb_providers.results[region].flatrate) { 51 | mweb.push(``) 52 | } 53 | } 54 | } 55 | 56 | } 57 | 58 | } 59 | //.replace(/link\ href\=\"https?:\/\/img3\.doubanio\.com\/.+\.css\"/, `link href="https://img3.doubanio.com/f/talion/4eddaaed2bec5a0baa663274d47d136c54a2c03c/css/card/base.css"`) 60 | 61 | body = body.replace(/\/, `${mweb.join("\n")}`) 62 | .replace(//, '') 63 | 64 | $done({ body }); 65 | 66 | } 67 | 68 | async function collect_movie() { 69 | if ($response) $done({}) 70 | let options = { 71 | url: `https://frodo.douban.com/api/v2/movie/${movieId[1]}?apiKey=0ac44ae016490db2204ce0a042db2916`, 72 | method: "GET", 73 | headers: { 74 | "User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 14_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/8.0.3(0x18000323) NetType/WIFI Language/en", 75 | "Referer": "https://servicewechat.com/wx2f9b06c1de1ccfca/82/page-frame.html" 76 | } 77 | } 78 | 79 | let douban_result = await send_request(options) 80 | 81 | if (douban_result.msg == "movie_not_found") { 82 | $notify('豆瓣电影', data.msg, ""); 83 | $done({ path: url.replace(/https:\/\/m.douban.com|\/\?seen=\d/g, "") }) 84 | } 85 | 86 | let casts = "" 87 | for (var i = 0; i < douban_result.actors.length; i++) { 88 | casts = casts + douban_result.actors[i].name + " / " 89 | } 90 | let directors = "" 91 | for (var k = 0; k < douban_result.directors.length; k++) { 92 | directors = directors + douban_result.directors[k].name + " / " 93 | } 94 | let title = douban_result.title + " " + douban_result.original_title 95 | let table = { 96 | url: "https://api.airtable.com/v0/BASE_ID/Douban", 97 | method: "POST", 98 | headers: { 99 | Authorization: "Bearer API_KEY", 100 | "Content-Type": "application/json" 101 | }, 102 | body: JSON.stringify({ 103 | records: [ 104 | { 105 | "fields": { 106 | "Title": title, 107 | "Description": douban_result.intro, 108 | "Poster": [ 109 | { 110 | "url": douban_result.pic.large 111 | } 112 | ], 113 | "Seen": seen[1] == 1 ? true : false, 114 | "Actors": casts.replace(/\s\/\s$/, ""), 115 | "Director": directors.replace(/\s\/\s$/, ""), 116 | "Genre": douban_result.genres.toString(), 117 | "Douban": "https://movie.douban.com/subject/" + movieId[1], 118 | "Rating": douban_result.rating.value, 119 | "Year": douban_result.year 120 | } 121 | } 122 | ] 123 | }) 124 | } 125 | 126 | let airtable_collect = await send_request(table) 127 | 128 | if (!airtable_collect.records) { 129 | $notify('收藏失败', airtable_collect.error.type, airtable_collect.error.message); 130 | $done({ path: url.replace(/https:\/\/m.douban.com|\/\?seen=\d/g, "") }) 131 | } 132 | 133 | $notify('豆瓣电影', title + " 收藏成功", ""); 134 | $done({ path: url.replace(/https:\/\/m.douban.com|\/\?seen=\d/g, "") }) 135 | } 136 | 137 | function send_request(options) { 138 | return new Promise((resolve, reject) => { 139 | $task.fetch(options).then(response => { 140 | resolve(JSON.parse(response.body)) 141 | }) 142 | }) 143 | } 144 | -------------------------------------------------------------------------------- /Script/Goodnotes6: -------------------------------------------------------------------------------- 1 | /************************************* 2 | 3 | 项目名称:Goodnotes6 4 | 下载地址:https://t.cn/A6K6ZSZS 5 | 脚本作者:chxm1023 6 | 电报频道:https://t.me/chxm1023 7 | 使用声明:⚠️仅供参考,🈲转载与售卖! 8 | 9 | ************************************** 10 | 11 | [rewrite_local] 12 | ^https:\/\/isi\.csan\.goodnotes\.com\/.+\/(receipts$|subscribers\/?(.*?)*$) url script-response-body https://raw.githubusercontent.com/chxm1023/Rewrite/main/goodnotes6.js 13 | ^https:\/\/isi\.csan\.goodnotes\.com\/.+\/(receipts$|subscribers\/?(.*?)*$) url script-request-header https://raw.githubusercontent.com/chxm1023/Rewrite/main/goodnotes6.js 14 | 15 | [mitm] 16 | hostname = isi.csan.goodnotes.com 17 | 18 | *************************************/ 19 | 20 | 21 | ;var encode_version = 'jsjiami.com.v5', rpqdj = '__0x1037e1', __0x1037e1=['w7fDrlpGcFQD','VMOTwotSwpjDsA3DsCrDmBXCuk/DnT3CkcO1','woHClBDCscKRw4oM','JFTDoRHCucKKNw==','wprCqE7CgcKMRMKCAMK2UMKaw5ps','a8O3w7cNwp8=','LmgpGVJ5w5QowpHDnA==','wogLeMKAJg==','wrVXCcOb','PwR2w6Z8w7bDn8OOew==','w57CjXAdX8KVF8OgGzU=','w6rCsXlbX3s7XsKBw43CjMK+','O39DwoI1dcKUw7rCgMODVcKMEcKxwpfCqMOTw54=','wqRND8ORwpNaw5zCvgzCrw==','PnUzBwA7wo95','I3lYwpYzLMOPworCncKJXcKHSsK7wpnCucObwp0QwonDtA==','5Lux5L+t5ayP5LuV772f56S05q+H6L6O6L+I5oqm5Za45Y2P','fkA2wr0/wqHCj8KFMsOvIMK3w57CmcKLw6rCnhPDlWc=','w6ZnDxwjw54vOgY=','w6Rvw5ZcO8K0WyFK','cE3Dnl/DpwZdw5XCj3fDo1nCvMKcwrLCgsOEWcOJHcKd','w4VaZMK0JsOeWDzDrxLCkMK5HnTCl8KWUcKbMsKG','w57CtQ/CjsOZ','w53CoA/ClMOSX8OeGsO9','w6PCg8KZNsOnBMKNwpzCucKX','w6hawoLCvMK+S8ORw5nDucODw5/ClQ==','w5R+w60=','wq7Dk8ORS3fClMOfw5TDjw==','54um5p+45Y6K77+xw5ZL5L6t5a+m5p6b5byV56i7776q6L6F6K2L5pe85o6G5omO5LiO55qu5beS5L6e','w4hAwqE=','w659w7tmcw==','w6pCwonDs1o=','wrBmwoYHwqE=','Mzho','w6B7wqfDomg=','w7zCtjUvwr0=','54uL5pyG5Y+d77+fwp0q5L6L5aye5pyI5b6y56uT772j6L+66K2S5paY5o2o5ouq5Lq455qZ5ba65L6+','5YuV6ZiS54uA5pyi5Y+O7769wphN5L+r5a6W5pyq5b2656qh','wqPDsMOHC0oARsOTw7A=','w6FFTsKq','wrZIHcOOwpV3w5TCvwrCuEXCvw==','LwJrw7xhw6HDmsOJdsKwG8O1worDvMOawrDDh0bCn04=','WcKQwp1SwojDvA3DoCs='];(function(_0x1ecff3,_0x59da26){var _0x350eac=function(_0x3a195a){while(--_0x3a195a){_0x1ecff3['push'](_0x1ecff3['shift']());}};_0x350eac(++_0x59da26);}(__0x1037e1,0xd2));var _0x3a70=function(_0x585f4b,_0x57f1fd){_0x585f4b=_0x585f4b-0x0;var _0x226f36=__0x1037e1[_0x585f4b];if(_0x3a70['initialized']===undefined){(function(){var _0x379e83=typeof window!=='undefined'?window:typeof process==='object'&&typeof require==='function'&&typeof global==='object'?global:this;var _0x2fcc6c='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x379e83['atob']||(_0x379e83['atob']=function(_0x29654b){var _0xa27ce0=String(_0x29654b)['replace'](/=+$/,'');for(var _0x2ade6b=0x0,_0x4f8057,_0x556cc9,_0x4be5c3=0x0,_0x24aa50='';_0x556cc9=_0xa27ce0['charAt'](_0x4be5c3++);~_0x556cc9&&(_0x4f8057=_0x2ade6b%0x4?_0x4f8057*0x40+_0x556cc9:_0x556cc9,_0x2ade6b++%0x4)?_0x24aa50+=String['fromCharCode'](0xff&_0x4f8057>>(-0x2*_0x2ade6b&0x6)):0x0){_0x556cc9=_0x2fcc6c['indexOf'](_0x556cc9);}return _0x24aa50;});}());var _0x245343=function(_0x200956,_0x409b82){var _0x4b56ef=[],_0x2f79de=0x0,_0x49de3b,_0x5d3c0f='',_0x119aa7='';_0x200956=atob(_0x200956);for(var _0x474975=0x0,_0x558e05=_0x200956['length'];_0x474975<_0x558e05;_0x474975++){_0x119aa7+='%'+('00'+_0x200956['charCodeAt'](_0x474975)['toString'](0x10))['slice'](-0x2);}_0x200956=decodeURIComponent(_0x119aa7);for(var _0x17ec75=0x0;_0x17ec75<0x100;_0x17ec75++){_0x4b56ef[_0x17ec75]=_0x17ec75;}for(_0x17ec75=0x0;_0x17ec75<0x100;_0x17ec75++){_0x2f79de=(_0x2f79de+_0x4b56ef[_0x17ec75]+_0x409b82['charCodeAt'](_0x17ec75%_0x409b82['length']))%0x100;_0x49de3b=_0x4b56ef[_0x17ec75];_0x4b56ef[_0x17ec75]=_0x4b56ef[_0x2f79de];_0x4b56ef[_0x2f79de]=_0x49de3b;}_0x17ec75=0x0;_0x2f79de=0x0;for(var _0x1f6c17=0x0;_0x1f6c17<_0x200956['length'];_0x1f6c17++){_0x17ec75=(_0x17ec75+0x1)%0x100;_0x2f79de=(_0x2f79de+_0x4b56ef[_0x17ec75])%0x100;_0x49de3b=_0x4b56ef[_0x17ec75];_0x4b56ef[_0x17ec75]=_0x4b56ef[_0x2f79de];_0x4b56ef[_0x2f79de]=_0x49de3b;_0x5d3c0f+=String['fromCharCode'](_0x200956['charCodeAt'](_0x1f6c17)^_0x4b56ef[(_0x4b56ef[_0x17ec75]+_0x4b56ef[_0x2f79de])%0x100]);}return _0x5d3c0f;};_0x3a70['rc4']=_0x245343;_0x3a70['data']={};_0x3a70['initialized']=!![];}var _0x2f6177=_0x3a70['data'][_0x585f4b];if(_0x2f6177===undefined){if(_0x3a70['once']===undefined){_0x3a70['once']=!![];}_0x226f36=_0x3a70['rc4'](_0x226f36,_0x57f1fd);_0x3a70['data'][_0x585f4b]=_0x226f36;}else{_0x226f36=_0x2f6177;}return _0x226f36;};const chxm1023={};const chxm1024=JSON['parse'](typeof $response!=_0x3a70('0x0','V$B7')&&$response[_0x3a70('0x1','WoNH')]||null);const namea=_0x3a70('0x2','cy]B');const nameb=_0x3a70('0x3','b#rl');const jsid='com.goodnotes.gn6_one_time_unlock_3999';if(typeof $response==_0x3a70('0x4','6rss')){delete $request[_0x3a70('0x5','G#4g')][_0x3a70('0x6','6rss')];delete $request[_0x3a70('0x7','Czu#')]['X-RevenueCat-ETag'];chxm1023['headers']=$request[_0x3a70('0x8','N0CB')];}else if(chxm1024&&chxm1024['subscriber']){var _0x3a5506=_0x3a70('0x9','yK!)')[_0x3a70('0xa','byK)')]('|'),_0x352986=0x0;while(!![]){switch(_0x3a5506[_0x352986++]){case'0':chxm1024[_0x3a70('0xb','Ue8o')]['entitlements'][namea]=JSON[_0x3a70('0xc','bZQX')](JSON['stringify'](data));continue;case'1':chxm1023[_0x3a70('0xd','cy]B')]=JSON[_0x3a70('0xe','b#rl')](chxm1024);continue;case'2':chxm1024[_0x3a70('0xf','AG0$')][_0x3a70('0x10','pcY!')][namea][_0x3a70('0x11','Bow1')]=jsid;continue;case'3':chxm1024[_0x3a70('0x12','cy]B')]['subscriptions'][jsid]={'Author':_0x3a70('0x13','Ue8o'),'Telegram':_0x3a70('0x14','Bow1'),'warning':_0x3a70('0x15','1P1['),'original_purchase_date':'2022-09-09T09:09:09Z','purchase_date':_0x3a70('0x16','b#rl'),'store':_0x3a70('0x17','6Aj3'),'ownership_type':_0x3a70('0x18','$6i@')};continue;case'4':data={'Author':'chxm1023','Telegram':_0x3a70('0x19','%yLF'),'warning':'仅供学习,禁止转载或售卖','purchase_date':_0x3a70('0x1a','OkQC')};continue;case'5':chxm1024['subscriber'][_0x3a70('0x10','pcY!')][nameb]=JSON[_0x3a70('0x1b','yK!)')](JSON[_0x3a70('0x1c','yK!)')](data));continue;case'6':chxm1024[_0x3a70('0x1d','%g%d')][_0x3a70('0x1e','Xqsx')][nameb]['product_identifier']=jsid;continue;}break;}}$done(chxm1023);;(function(_0x3e9895,_0x562f54,_0x4b4da1){var _0x47958f={'RrGUR':_0x3a70('0x1f','EfD#'),'AWIsc':function _0x349af2(_0x4c2ddf,_0x30f090){return _0x4c2ddf!==_0x30f090;},'yPxhd':_0x3a70('0x20','UqsY'),'oWodB':_0x3a70('0x21','yK!)'),'siVyV':_0x3a70('0x22','Xqsx'),'irAMV':function _0x5068f3(_0xaba5a4,_0x321acd){return _0xaba5a4+_0x321acd;}};_0x4b4da1='al';try{_0x4b4da1+=_0x47958f['RrGUR'];_0x562f54=encode_version;if(!(_0x47958f[_0x3a70('0x23','tJF7')](typeof _0x562f54,_0x47958f[_0x3a70('0x24','5Fri')])&&_0x562f54==='jsjiami.com.v5')){_0x3e9895[_0x4b4da1]('删除'+_0x47958f[_0x3a70('0x25','JwM[')]);}}catch(_0x265b4b){if(_0x47958f['AWIsc'](_0x3a70('0x26','6CzL'),_0x47958f[_0x3a70('0x27','5Fri')])){_0x3e9895[_0x4b4da1](_0x47958f[_0x3a70('0x28','*vAy')]('删除',_0x3a70('0x29','WoNH')));}else{_0x3e9895[_0x4b4da1](_0x3a70('0x2a','M4xa'));}}}(window));;encode_version = 'jsjiami.com.v5'; 22 | -------------------------------------------------------------------------------- /Script/JD_Price.js: -------------------------------------------------------------------------------- 1 | const path1 = "serverConfig"; 2 | const path2 = "wareBusiness"; 3 | const path3 = "basicConfig"; 4 | const consolelog = false; 5 | const url = $request.url; 6 | const body = $response.body; 7 | const $tool = tool(); 8 | 9 | if (url.indexOf(path1) != -1) { 10 | let obj = JSON.parse(body); 11 | delete obj.serverConfig.httpdns; 12 | delete obj.serverConfig.dnsvip; 13 | delete obj.serverConfig.dnsvip_v6; 14 | $done({ body: JSON.stringify(obj) }); 15 | } 16 | 17 | if (url.indexOf(path3) != -1) { 18 | let obj = JSON.parse(body); 19 | let JDHttpToolKit = obj.data.JDHttpToolKit; 20 | if (JDHttpToolKit) { 21 | delete obj.data.JDHttpToolKit.httpdns; 22 | delete obj.data.JDHttpToolKit.dnsvipV6; 23 | } 24 | $done({ body: JSON.stringify(obj) }); 25 | } 26 | 27 | if (url.indexOf(path2) != -1) { 28 | let obj = JSON.parse(body); 29 | const floors = obj.floors; 30 | const commodity_info = floors[floors.length - 1]; 31 | const shareUrl = commodity_info.data.property.shareUrl; 32 | request_history_price(shareUrl, function (data) { 33 | if (data) { 34 | const lowerword = adword_obj(); 35 | lowerword.data.ad.textColor = "#fe0000"; 36 | let bestIndex = 0; 37 | for (let index = 0; index < floors.length; index++) { 38 | const element = floors[index]; 39 | if (element.mId == lowerword.mId) { 40 | bestIndex = index + 1; 41 | break; 42 | } else { 43 | if (element.sortId > lowerword.sortId) { 44 | bestIndex = index; 45 | break; 46 | } 47 | } 48 | } 49 | if (data.ok == 1 && data.single) { 50 | const lower = lowerMsgs(data.single) 51 | const detail = priceSummary(data) 52 | const tip = data.PriceRemark.Tip + "(仅供参考)" 53 | lowerword.data.ad.adword = `${lower} ${tip}\n${detail}`; 54 | floors.insert(bestIndex, lowerword); 55 | } 56 | if (data.ok == 0 && data.msg.length > 0) { 57 | lowerword.data.ad.adword = "⚠️ " + data.msg; 58 | floors.insert(bestIndex, lowerword); 59 | } 60 | $done({ body: JSON.stringify(obj) }); 61 | } else { 62 | $done({ body }); 63 | } 64 | }) 65 | } 66 | 67 | function lowerMsgs(data) { 68 | const lower = data.lowerPriceyh 69 | const lowerDate = dateFormat(data.lowerDateyh) 70 | const lowerMsg = "历史最低到手价:¥" + String(lower) + ` (${lowerDate}) ` 71 | return lowerMsg 72 | } 73 | 74 | 75 | function priceSummary(data) { 76 | let summary = "" 77 | let listPriceDetail = data.PriceRemark.ListPriceDetail.slice(0,4) 78 | let list = listPriceDetail.concat(historySummary(data.single)) 79 | list.forEach((item, index) => { 80 | if (item.Name == "双11价格") { 81 | item.Name = "双十一价格" 82 | } else if (item.Name == "618价格") { 83 | item.Name = "六一八价格" 84 | } 85 | summary += `\n${item.Name}${getSpace(8)}${item.Price}${getSpace(8)}${item.Date}${getSpace(8)}${item.Difference}` 86 | }) 87 | return summary 88 | } 89 | 90 | function historySummary(single) { 91 | const rexMatch = /\[.*?\]/g; 92 | const rexExec = /\[(.*),(.*),"(.*)".*\]/; 93 | let currentPrice, lowest30, lowest90, lowest180, lowest360 94 | let list = single.jiagequshiyh.match(rexMatch); 95 | list = list.reverse().slice(0, 360); 96 | list.forEach((item, index) => { 97 | if (item.length > 0) { 98 | const result = rexExec.exec(item); 99 | const dateUTC = new Date(eval(result[1])); 100 | const date = dateUTC.format("yyyy-MM-dd"); 101 | let price = parseFloat(result[2]); 102 | if (index == 0) { 103 | currentPrice = price 104 | lowest30 = { Name: "三十天最低", Price: `¥${String(price)}`, Date: date, Difference: difference(currentPrice, price), price } 105 | lowest90 = { Name: "九十天最低", Price: `¥${String(price)}`, Date: date, Difference: difference(currentPrice, price), price } 106 | lowest180 = { Name: "一百八最低", Price: `¥${String(price)}`, Date: date, Difference: difference(currentPrice, price), price } 107 | lowest360 = { Name: "三百六最低", Price: `¥${String(price)}`, Date: date, Difference: difference(currentPrice, price), price } 108 | } 109 | if (index < 30 && price < lowest30.price) { 110 | lowest30.price = price 111 | lowest30.Price = `¥${String(price)}` 112 | lowest30.Date = date 113 | lowest30.Difference = difference(currentPrice, price) 114 | } 115 | if (index < 90 && price < lowest90.price) { 116 | lowest90.price = price 117 | lowest90.Price = `¥${String(price)}` 118 | lowest90.Date = date 119 | lowest90.Difference = difference(currentPrice, price) 120 | } 121 | if (index < 180 && price < lowest180.price) { 122 | lowest180.price = price 123 | lowest180.Price = `¥${String(price)}` 124 | lowest180.Date = date 125 | lowest180.Difference = difference(currentPrice, price) 126 | } 127 | if (index < 360 && price < lowest360.price) { 128 | lowest360.price = price 129 | lowest360.Price = `¥${String(price)}` 130 | lowest360.Date = date 131 | lowest360.Difference = difference(currentPrice, price) 132 | } 133 | } 134 | }); 135 | return [lowest30, lowest90, lowest180, lowest360]; 136 | } 137 | 138 | function difference(currentPrice, price) { 139 | let difference = sub(currentPrice, price) 140 | if (difference == 0) { 141 | return "-" 142 | } else { 143 | return `${difference > 0 ? "↑" : "↓"}${String(difference)}` 144 | } 145 | } 146 | 147 | function sub(arg1, arg2) { 148 | return add(arg1, -Number(arg2), arguments[2]); 149 | } 150 | 151 | function add(arg1, arg2) { 152 | arg1 = arg1.toString(), arg2 = arg2.toString(); 153 | var arg1Arr = arg1.split("."), arg2Arr = arg2.split("."), d1 = arg1Arr.length == 2 ? arg1Arr[1] : "", d2 = arg2Arr.length == 2 ? arg2Arr[1] : ""; 154 | var maxLen = Math.max(d1.length, d2.length); 155 | var m = Math.pow(10, maxLen); 156 | var result = Number(((arg1 * m + arg2 * m) / m).toFixed(maxLen)); 157 | var d = arguments[2]; 158 | return typeof d === "number" ? Number((result).toFixed(d)) : result; 159 | } 160 | 161 | function request_history_price(share_url, callback) { 162 | const options = { 163 | url: "https://apapia-history.manmanbuy.com/ChromeWidgetServices/WidgetServices.ashx", 164 | headers: { 165 | "Content-Type": "application/x-www-form-urlencoded;charset=utf-8", 166 | "User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_1_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 - mmbWebBrowse - ios" 167 | }, 168 | body: "methodName=getHistoryTrend&p_url=" + encodeURIComponent(share_url) 169 | } 170 | $tool.post(options, function (error, response, data) { 171 | if (!error) { 172 | callback(JSON.parse(data)); 173 | if (consolelog) console.log("Data:\n" + data); 174 | } else { 175 | callback(null, null); 176 | if (consolelog) console.log("Error:\n" + error); 177 | } 178 | }) 179 | } 180 | 181 | function dateFormat(cellval) { 182 | const date = new Date(parseInt(cellval.replace("/Date(", "").replace(")/", ""), 10)); 183 | const month = date.getMonth() + 1 < 10 ? "0" + (date.getMonth() + 1) : date.getMonth() + 1; 184 | const currentDate = date.getDate() < 10 ? "0" + date.getDate() : date.getDate(); 185 | return date.getFullYear() + "-" + month + "-" + currentDate; 186 | } 187 | 188 | function getSpace(length) { 189 | let blank = ""; 190 | for (let index = 0; index < length; index++) { 191 | blank += " "; 192 | } 193 | return blank; 194 | } 195 | 196 | function adword_obj() { 197 | return { 198 | "bId": "eCustom_flo_199", 199 | "cf": { 200 | "bgc": "#ffffff", 201 | "spl": "empty" 202 | }, 203 | "data": { 204 | "ad": { 205 | "adword": "", 206 | "textColor": "#8C8C8C", 207 | "color": "#f23030", 208 | "newALContent": true, 209 | "hasFold": true, 210 | "class": "com.jd.app.server.warecoresoa.domain.AdWordInfo.AdWordInfo", 211 | "adLinkContent": "", 212 | "adLink": "" 213 | } 214 | }, 215 | "mId": "bpAdword", 216 | "refId": "eAdword_0000000028", 217 | "sortId": 13 218 | } 219 | } 220 | 221 | function tool() { 222 | const isSurge = typeof $httpClient != "undefined" 223 | const isQuanX = typeof $task != "undefined" 224 | const isResponse = typeof $response != "undefined" 225 | const node = (() => { 226 | if (typeof require == "function") { 227 | const request = require('request') 228 | return ({ request }) 229 | } else { 230 | return (null) 231 | } 232 | })() 233 | const notify = (title, subtitle, message) => { 234 | if (isQuanX) $notify(title, subtitle, message) 235 | if (isSurge) $notification.post(title, subtitle, message) 236 | if (node) console.log(JSON.stringify({ title, subtitle, message })); 237 | } 238 | const write = (value, key) => { 239 | if (isQuanX) return $prefs.setValueForKey(value, key) 240 | if (isSurge) return $persistentStore.write(value, key) 241 | } 242 | const read = (key) => { 243 | if (isQuanX) return $prefs.valueForKey(key) 244 | if (isSurge) return $persistentStore.read(key) 245 | } 246 | const adapterStatus = (response) => { 247 | if (response) { 248 | if (response.status) { 249 | response["statusCode"] = response.status 250 | } else if (response.statusCode) { 251 | response["status"] = response.statusCode 252 | } 253 | } 254 | return response 255 | } 256 | const get = (options, callback) => { 257 | if (isQuanX) { 258 | if (typeof options == "string") options = { url: options } 259 | options["method"] = "GET" 260 | $task.fetch(options).then(response => { 261 | callback(null, adapterStatus(response), response.body) 262 | }, reason => callback(reason.error, null, null)) 263 | } 264 | if (isSurge) $httpClient.get(options, (error, response, body) => { 265 | callback(error, adapterStatus(response), body) 266 | }) 267 | if (node) { 268 | node.request(options, (error, response, body) => { 269 | callback(error, adapterStatus(response), body) 270 | }) 271 | } 272 | } 273 | const post = (options, callback) => { 274 | if (isQuanX) { 275 | if (typeof options == "string") options = { url: options } 276 | options["method"] = "POST" 277 | $task.fetch(options).then(response => { 278 | callback(null, adapterStatus(response), response.body) 279 | }, reason => callback(reason.error, null, null)) 280 | } 281 | if (isSurge) { 282 | $httpClient.post(options, (error, response, body) => { 283 | callback(error, adapterStatus(response), body) 284 | }) 285 | } 286 | if (node) { 287 | node.request.post(options, (error, response, body) => { 288 | callback(error, adapterStatus(response), body) 289 | }) 290 | } 291 | } 292 | return { isQuanX, isSurge, isResponse, notify, write, read, get, post } 293 | } 294 | 295 | Array.prototype.insert = function (index, item) { 296 | this.splice(index, 0, item); 297 | }; 298 | 299 | Date.prototype.format = function (fmt) { 300 | var o = { 301 | "y+": this.getFullYear(), 302 | "M+": this.getMonth() + 1, 303 | "d+": this.getDate(), 304 | "h+": this.getHours(), 305 | "m+": this.getMinutes(), 306 | "s+": this.getSeconds(), 307 | "q+": Math.floor((this.getMonth() + 3) / 3), 308 | "S+": this.getMilliseconds() 309 | }; 310 | for (var k in o) { 311 | if (new RegExp("(" + k + ")").test(fmt)) { 312 | if (k == "y+") { 313 | fmt = fmt.replace(RegExp.$1, ("" + o[k]).substr(4 - RegExp.$1.length)); 314 | } 315 | else if (k == "S+") { 316 | var lens = RegExp.$1.length; 317 | lens = lens == 1 ? 3 : lens; 318 | fmt = fmt.replace(RegExp.$1, ("00" + o[k]).substr(("" + o[k]).length - 1, lens)); 319 | } 320 | else { 321 | fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); 322 | } 323 | } 324 | } 325 | return fmt; 326 | } 327 | -------------------------------------------------------------------------------- /Script/JD_json.js: -------------------------------------------------------------------------------- 1 | if (!$response.body) $done({}); 2 | const url = $request.url; 3 | let body = $response.body; 4 | 5 | if (body) { 6 | switch (true) { 7 | // 京东-个人主页 8 | case /^https:\/\/api\.m\.jd\.com\/client\.action\?functionId=personinfoBusiness/.test(url): 9 | try { 10 | let obj = JSON.parse(body); 11 | if (obj?.floors?.length > 0) { 12 | let newFloors = []; 13 | for (let floor of obj.floors) { 14 | // orderIdFloor我的订单 keyToolsFloor浏览记录 newWalletIdFloor我的钱包 iconToolFloor底部工具栏 15 | const items = [ 16 | "bigSaleFloor", // 双十一 17 | "newAttentionCard", // 关注的频道 18 | "newBigSaleFloor", // 双十一 19 | "noticeFloor", // 顶部横幅 20 | "recommendfloor" // 我的推荐 21 | ]; 22 | if (items?.includes(floor?.mId)) { 23 | continue; 24 | } else { 25 | if (floor?.mId === "basefloorinfo") { 26 | // 弹窗 27 | if (floor?.data?.commonPopup) { 28 | delete floor.data.commonPopup; 29 | } 30 | // 弹窗 31 | if (floor?.data?.commonPopup_dynamic) { 32 | delete floor.data.commonPopup_dynamic; 33 | } 34 | // 底部会员续费横幅 35 | if (floor?.data?.commonTips?.length > 0) { 36 | floor.data.commonTips = []; 37 | } 38 | // 弹窗 39 | if (floor?.data?.commonWindows?.length > 0) { 40 | floor.data.commonWindows = []; 41 | } 42 | // 右下角动图 43 | if (floor?.data?.floatLayer) { 44 | delete floor.data.floatLayer; 45 | } 46 | } else if (floor?.mId === "orderIdFloor") { 47 | if (floor?.data?.commentRemindInfo?.infos?.length > 0) { 48 | // 发布评价的提醒 49 | floor.data.commentRemindInfo.infos = []; 50 | } 51 | } else if (floor?.mId === "userinfo") { 52 | // 顶部背景图 去掉会导致顶部黑字在黑暗模式中无法显示 暂时保留 53 | // if (floor?.data?.bgImgInfo?.bgImg) { 54 | // delete floor.data.bgImgInfo.bgImg; 55 | // } 56 | // 开通plus会员卡片 57 | if (floor?.data?.newPlusBlackCard) { 58 | delete floor.data.newPlusBlackCard; 59 | } 60 | } 61 | newFloors.push(floor); 62 | } 63 | } 64 | obj.floors = newFloors; 65 | } 66 | body = JSON.stringify(obj); 67 | } catch (error) { 68 | console.log(`京东-个人主页, 出现异常: ` + error); 69 | } 70 | break; 71 | // 京东-开屏广告 72 | case /^https:\/\/api\.m\.jd\.com\/client\.action\?functionId=start/.test(url): 73 | try { 74 | let obj = JSON.parse(body); 75 | if (obj?.images?.length > 0) { 76 | obj.images = []; 77 | } 78 | if (obj?.showTimesDaily) { 79 | obj.showTimesDaily = 0; 80 | } 81 | body = JSON.stringify(obj); 82 | } catch (error) { 83 | console.log(`京东-开屏广告, 出现异常: ` + error); 84 | } 85 | break; 86 | default: 87 | break; 88 | } 89 | $done({ body }); 90 | } -------------------------------------------------------------------------------- /Script/Polarr.js: -------------------------------------------------------------------------------- 1 | const sta = typeof $task !== "undefined" ? "HTTP/1.1 200 OK" : 200; 2 | const res = $response; 3 | const req = $request; 4 | 5 | if (res.body && req.method == "PUT") { 6 | $done({ 7 | body: JSON.stringify({ 8 | "app": "PPE", 9 | "isUnlimited": true, 10 | "membershipExpiryDate": "2028-06-06T08:00:00.000Z" 11 | }), 12 | status: sta, 13 | headers: res.headers 14 | }); 15 | } else { 16 | $done({}); 17 | } 18 | -------------------------------------------------------------------------------- /Script/Ps.js: -------------------------------------------------------------------------------- 1 | let obj = JSON.parse($response.body); 2 | 3 | obj.mobileProfile.profileStatus = 'PROFILE_AVAILABLE'; 4 | 5 | $done({body: JSON.stringify(obj)}); 6 | -------------------------------------------------------------------------------- /Script/Web/18comic.js: -------------------------------------------------------------------------------- 1 | /* 公众号墨鱼手记 crated by ddgksf2013 on 2022-05-28 */ 2 | var body = $response.body 3 | .replace(//, ''); 4 | $done({ body }); 5 | -------------------------------------------------------------------------------- /Script/Web/555.js: -------------------------------------------------------------------------------- 1 | /* 公众号墨鱼手记 crated by ddgksf2013 on 2022-05-28 */ 2 | var body = $response.body 3 | .replace(//, ''); 4 | $done({ body }); 5 | -------------------------------------------------------------------------------- /Script/Web/CSS/18comic.css: -------------------------------------------------------------------------------- 1 | div[style*="margin: 5px"]{display:none!important} 2 | div.pull-right{display:none!important} 3 | div[style^="display: flex"]{display:none!important} 4 | div[data-height="250"][data-width="300"]{display:none!important} 5 | div[data-height="90"][data-width="728"]{display:none!important} 6 | div.bot-per-back{display:none!important} 7 | div.bot-per-times{display:none!important} 8 | div#billboard-modal{display:none!important} 9 | div.container.phpage-bottom.switch-group.visible-xs.visible-sm{display:none!important} 10 | div.top-menu{display:none!important} 11 | div.ph-bottom.switch-group.visible-xs.visible-sm{display:none!important} 12 | div.bot-per.visible-xs.visible-sm{display:none!important} 13 | div.row.visible-xs.center{display:none!important} 14 | div.owl-carousel.partial-view.owl-loaded.owl-drag{display:none!important} 15 | div.modal-dialog.billboard-modal8888{display:none!important} 16 | div.modal-backdrop.fade.in{display:none!important} 17 | a[target="_blank"]{display:none!important} 18 | -------------------------------------------------------------------------------- /Script/Web/CSS/555.css: -------------------------------------------------------------------------------- 1 | div#popup{display: none! important} 2 | div.myui-panel.myui-panel-bg.clearfix.wapad{display: none! important} 3 | div.myui-panel.myui-panel-bg.clearfix.pcad{display: none! important} 4 | a[href*="?channelCode="] > img[src*=".com:"]{display: none! important} 5 | a[href*="?invite_code="] > img[src*=".com"]{display: none! important} 6 | div.playtop.col-pd{display: none! important} 7 | div.playerad{display: none! important} 8 | div.myui-nav__tabbar{display: none! important} 9 | div#home_slide{display: none! important} 10 | a.open-share{display: none! important} 11 | div.myui-panel.myui-panel-bg.clearfix.hiddex-xs{display: none! important} 12 | div.visible-xs.col-pd{display: none! important} 13 | div.is_mb{display: none! important} 14 | div.shortcuts-mobile-overlay{display: none! important} 15 | -------------------------------------------------------------------------------- /Script/Web/CSS/bdys.css: -------------------------------------------------------------------------------- 1 | #notice{display:none!important;} 2 | div.modal-backdrop.fade.show{display:none!important;} 3 | .modal-open{overflow:auto !important;} 4 | div.jq-toast-wrap{display:none!important;} 5 | .card-body.text-cool{display:none!important;} 6 | .alert{display:none!important;} 7 | #related{display:none!important;} 8 | #yalayi{display:none!important;} 9 | .ayx[style^="position: fixed;bottom"]{display:none!important;} 10 | .ayx[style="display:block;"]{display:none!important;} 11 | -------------------------------------------------------------------------------- /Script/Web/CSS/bimi.css: -------------------------------------------------------------------------------- 1 | div.ssr1 {display: none! important;} 2 | div#leo-pic-slider{display: none! important;} 3 | div[style^="height: 121px"]{display: none! important;} 4 | div[style*="line-height: 35px"] {display:none !important} 5 | div.leo-gonggao-body.leo-bg-a {display: none! important;} 6 | nav.leo-foot-wrap.leo-bg-a.leo-po-fi{display: none! important} 7 | div[aui-popup-for*="bottom-right"]{display: none! important} 8 | -------------------------------------------------------------------------------- /Script/Web/CSS/cokemv.css: -------------------------------------------------------------------------------- 1 | a[target^="_blank"]{display:none!important} 2 | div.fixedGroup{display:none!important} 3 | div#popup{display:none!important} 4 | -------------------------------------------------------------------------------- /Script/Web/CSS/cupfox.css: -------------------------------------------------------------------------------- 1 | div[class*="mobile-nav"]{display: none! important} 2 | div[class*="model"]{display: none! important} 3 | div[class*="hongbao"]{display: none! important} 4 | div[class*="jsx-ad"]{display: none! important} 5 | .adsbygoogle{display: none! important} 6 | .banner-box{display: none! important} 7 | a[href*="shopping"]{display: none! important} 8 | a[href*="donate"]{display: none! important} 9 | div[class*="notice"]{display: none! important} 10 | img[class*="cupfox-img"]{display: none! important} 11 | div[class*="left"]{display: none! important} 12 | div[class*="right"]{display: none! important} -------------------------------------------------------------------------------- /Script/Web/CSS/ddrk.css: -------------------------------------------------------------------------------- 1 | div.hthb-row{display:none!important} 2 | a[href*="kst"]{display:none!important} 3 | a[href="###"]{position:absolute;z-index:-1000;} 4 | -------------------------------------------------------------------------------- /Script/Web/CSS/douban.css: -------------------------------------------------------------------------------- 1 | div.TalionNav-static{height: auto} 2 | a.icon-wrap{display: none! important} 3 | a.info{display: none! important} 4 | a.btn{display: none! important} 5 | div.subject-banner{display: none! important} 6 | div.center{display: none! important} 7 | -------------------------------------------------------------------------------- /Script/Web/CSS/dsx.css: -------------------------------------------------------------------------------- 1 | div#popup{display:none!important} 2 | div.footer{display:none!important} 3 | div.logo{display:none!important} 4 | a[href*="app"]{display:none!important} 5 | a[href*="t.me"]{display:none!important} 6 | a[href*="new.html"]{display:none!important} 7 | -------------------------------------------------------------------------------- /Script/Web/CSS/gimytv.css: -------------------------------------------------------------------------------- 1 | div.myui-nav__tabbar {display: none! important} 2 | a.open-share{display: none! important} 3 | div.col-pd.mb10{display: none! important} 4 | div.dabox2{display: none! important} 5 | div#closebutton{display: none! important} 6 | -------------------------------------------------------------------------------- /Script/Web/CSS/lezhu.css: -------------------------------------------------------------------------------- 1 | h5[style^="line-height: 26px"]{display: none! important} 2 | div.tbox.tabs{display: none! important} 3 | div#globalDialog{display: none! important} 4 | -------------------------------------------------------------------------------- /Script/Web/CSS/libvio.css: -------------------------------------------------------------------------------- 1 | div.hidden-log{display:none!important} 2 | div.t-img-box{display: none! important} 3 | div.none{display:none!important} 4 | div.inner-advertise{display:none!important} 5 | div.popup{display:none!important} 6 | div.advertise{display: none! important} 7 | a[target="_blank"] > .img-responsive {display: none! important} 8 | -------------------------------------------------------------------------------- /Script/Web/CSS/pornhub.css: -------------------------------------------------------------------------------- 1 | div.ad-link{display:none!important} 2 | div.adLink{display:none!important} 3 | div.adsbytrafficjunky{display:none!important} 4 | div.adContainer{display:none!important} 5 | div.topAdContainter{display:none!important} 6 | div.joinLinkWrapper{display:none!important} 7 | a[href*="ads.trafficjunky.net"]{display:none!important} 8 | div#adSpot{display:none!important} 9 | -------------------------------------------------------------------------------- /Script/Web/CSS/qianoo.css: -------------------------------------------------------------------------------- 1 | div.mi_btcon.ad{display: none! important} 2 | div.ads.right-ad{display: none! important} 3 | -------------------------------------------------------------------------------- /Script/Web/CSS/tkys.css: -------------------------------------------------------------------------------- 1 | a[href*="/entry/register/?i_code="]{display: none! important} 2 | div.ayx[style="position: fixed;bottom: -10px;right:0;z-index:999;width:250px"]{display: none! important} 3 | a.open-share{display: none! important} 4 | a[href*="/index.php/gbook"]{display: none! important} 5 | a.language{display: none! important} 6 | div.myui-nav__tabbar{display: none! important} 7 | div.layui-layer.layui-layer-page{display: none! important} 8 | -------------------------------------------------------------------------------- /Script/Web/CSS/zhenbuka.css: -------------------------------------------------------------------------------- 1 | img#hth{display: none! important} 2 | img#hth616{display: none! important} 3 | div[style*="line-height: 21px"]{display: none! important} 4 | div#layui-layer1{display: none! important} 5 | div#layui-layer-shade1{display: none! important} 6 | div.marquee_outer{display: none! important} 7 | img#ad_img{display: none! important} 8 | img#buka888{display: none! important} 9 | iframe[id^=buffer]{display: none! important} 10 | span.more.text-muted.pull-right{display: none! important} 11 | ul.more-btn{display: none! important} 12 | a[target^="_blank"]{display:none!important} 13 | div.jq-toast-wrap{display: none! important} 14 | img#tj{display: none! important} 15 | -------------------------------------------------------------------------------- /Script/Web/bdys.js: -------------------------------------------------------------------------------- 1 | /* 公众号墨鱼手记 crated by ddgksf2013 on 2022-05-28 */ 2 | var body = $response.body 3 | .replace(//, ''); 4 | $done({ body }); 5 | -------------------------------------------------------------------------------- /Script/Web/bimi.js: -------------------------------------------------------------------------------- 1 | /* 公众号墨鱼手记 crated by ddgksf2013 on 2022-05-28 */ 2 | var body = $response.body 3 | .replace(//, ''); 4 | $done({ body }); 5 | -------------------------------------------------------------------------------- /Script/Web/cokemv.js: -------------------------------------------------------------------------------- 1 | var body = $response.body 2 | .replace(//, ''); 3 | $done({ body }); 4 | -------------------------------------------------------------------------------- /Script/Web/cupfox.js: -------------------------------------------------------------------------------- 1 | var body = $response.body 2 | .replace(//, ''); 3 | $done({ body }); 4 | -------------------------------------------------------------------------------- /Script/Web/ddys.js: -------------------------------------------------------------------------------- 1 | /* 公众号墨鱼手记 crated by ddgksf2013 on 2022-05-28 */ 2 | var body = $response.body 3 | .replace(//, ''); 4 | $done({ body }); 5 | -------------------------------------------------------------------------------- /Script/Web/dsx.js: -------------------------------------------------------------------------------- 1 | /* 公众号墨鱼手记 crated by ddgksf2013 on 2022-08-14 */ 2 | var body = $response.body 3 | .replace(//, ''); 4 | $done({ body }); 5 | -------------------------------------------------------------------------------- /Script/Web/gimytv.js: -------------------------------------------------------------------------------- 1 | /* 公众号墨鱼手记 crated by ddgksf2013 on 2022-05-28 */ 2 | var body = $response.body 3 | .replace(//, ''); 4 | $done({ body }); 5 | -------------------------------------------------------------------------------- /Script/Web/lezhu.js: -------------------------------------------------------------------------------- 1 | /* 公众号墨鱼手记 crated by ddgksf2013 on 2022-05-28 */ 2 | var body = $response.body 3 | .replace(//, '') 4 | .replace(/jquerys.js\?v/g, "ddgksf2013.js?v"); 5 | $done({ body }); 6 | -------------------------------------------------------------------------------- /Script/Web/libvio.js: -------------------------------------------------------------------------------- 1 | /* 公众号墨鱼手记 crated by ddgksf2013 on 2022-05-28 */ 2 | var body = $response.body 3 | .replace(//, ''); 4 | $done({ body }); 5 | -------------------------------------------------------------------------------- /Script/Web/netflix.js: -------------------------------------------------------------------------------- 1 | 2 | /* 公众号墨鱼手记 crated by ddgksf2013 on 2022-10-30 */ 3 | var body = $response.body 4 | .replace(//, ''); 5 | $done({ body }); 6 | -------------------------------------------------------------------------------- /Script/Web/pornhub.js: -------------------------------------------------------------------------------- 1 | /* 公众号墨鱼手记 crated by ddgksf2013 on 2022-05-28 */ 2 | var body = $response.body 3 | .replace(//, ''); 4 | $done({ body }); 5 | -------------------------------------------------------------------------------- /Script/Web/qianoo.js: -------------------------------------------------------------------------------- 1 | /* 公众号墨鱼手记 crated by ddgksf2013 on 2022-05-28 */ 2 | var body = $response.body 3 | .replace(//, ''); 4 | $done({ body }); 5 | -------------------------------------------------------------------------------- /Script/Web/tkys.js: -------------------------------------------------------------------------------- 1 | /* 公众号墨鱼手记 crated by ddgksf2013 on 2022-05-28 */ 2 | var body = $response.body 3 | .replace(//, ''); 4 | $done({ body }); 5 | -------------------------------------------------------------------------------- /Script/Web/zhenbuka.js: -------------------------------------------------------------------------------- 1 | /* 公众号墨鱼手记 crated by ddgksf2013 on 2022-05-28 2 | var body = $response.body.replace(//, '').replace(/'159140'/g, "'259140'").replace(/\
/g, "").replace(/img id="ik\d+"/g, 'img id="ddgksf2013"'); 3 | $done({ body }); 4 | */ 5 | 6 | /* 公众号墨鱼手记 crated by ddgksf2013 on 2023-062-17 */ 7 | 8 | var body = $response.body.replace(//, '') 9 | .replace(/'159140'/g, "'259140'") 10 | .replace(/\
/g, "") 11 | .replace(/img id="ik\d+"/g, 'img id="ddgksf2013"'); 12 | $done({ body }); -------------------------------------------------------------------------------- /Script/XMind.js: -------------------------------------------------------------------------------- 1 | var _0x49754b=JSON['parse']($response['body']);_0x49754b['license']['status']='sub';_0x49754b['license']['expireTime']=0x1b8d90e4000;$done({'body':JSON['stringify'](_0x49754b)}); 2 | -------------------------------------------------------------------------------- /Script/adguard.js: -------------------------------------------------------------------------------- 1 | /* let obj = JSON.parse($response.body); 2 | obj={"products":[{"product_id":"com.adguard.lifetimePurchase","premium_status":"ACTIVE"}]}; 3 | $done({body: JSON.stringify(obj)}); 4 | */ 5 | 6 | var _0x4f31d5=_0x12ca;(function(_0x5c1883,_0x17e9a1){var _0x544ae8=_0x12ca,_0x477c65=_0x5c1883();while(!![]){try{var _0x143428=parseInt(_0x544ae8(0xc0))/0x1*(parseInt(_0x544ae8(0xc1))/0x2)+-parseInt(_0x544ae8(0xca))/0x3*(-parseInt(_0x544ae8(0xc7))/0x4)+-parseInt(_0x544ae8(0xc8))/0x5+-parseInt(_0x544ae8(0xc3))/0x6+-parseInt(_0x544ae8(0xc6))/0x7+parseInt(_0x544ae8(0xc4))/0x8+-parseInt(_0x544ae8(0xc9))/0x9;if(_0x143428===_0x17e9a1)break;else _0x477c65['push'](_0x477c65['shift']());}catch(_0x16ed2f){_0x477c65['push'](_0x477c65['shift']());}}}(_0x5c7b,0xab543));function _0x12ca(_0x222957,_0x1cf4f4){var _0x5c7b32=_0x5c7b();return _0x12ca=function(_0x12cab9,_0x19d81e){_0x12cab9=_0x12cab9-0xbf;var _0x5a0581=_0x5c7b32[_0x12cab9];return _0x5a0581;},_0x12ca(_0x222957,_0x1cf4f4);}function _0x5c7b(){var _0x3ee633=['999089TGuJfA','3427288deZfJF','6779030reCFqu','933687RsylaR','3gRYkyg','com.adguard.lifetimePurchase','parse','16683YDGYxP','166cawkvp','stringify','3714462UfLwGc','5452840hRVWxC','ACTIVE'];_0x5c7b=function(){return _0x3ee633;};return _0x5c7b();}var body=$response['body'],obj=JSON[_0x4f31d5(0xbf)](body);obj={'products':[{'product_id':_0x4f31d5(0xcb),'premium_status':_0x4f31d5(0xc5)}]},body=JSON[_0x4f31d5(0xc2)](obj),$done({'body':body}); -------------------------------------------------------------------------------- /Script/bilibili_json.js: -------------------------------------------------------------------------------- 1 | const version = 'V2.0.118'; 2 | 3 | let body=$response.body;if(body){switch(!0){case/pgc\/season\/app\/related\/recommend\?/.test($request.url):try{let t=JSON.parse(body);t.result?.cards?.length&&(t.result.cards=t.result.cards.filter(t=>2!=t.type)),body=JSON.stringify(t)}catch(i){console.log("bilibili recommend:"+i)}break;case/^https?:\/\/app\.bilibili\.com\/x\/resource\/show\/skin\?/.test($request.url):try{let a=JSON.parse(body);delete a.data?.common_equip,body=JSON.stringify(a)}catch(e){console.log("bilibili skin:"+e)}break;case/^https:\/\/app\.bilibili\.com\/x\/v2\/feed\/index\?/.test($request.url):try{let s=JSON.parse(body),l=[];for(let o of s.data.items)if(!o.hasOwnProperty("banner_item")){if(!(!o.hasOwnProperty("ad_info")&&-1===o.card_goto?.indexOf("ad")&&["small_cover_v2","large_cover_v1","large_cover_single_v9"].includes(o.card_type)))continue;else l.push(o)}s.data.items=l,body=JSON.stringify(s)}catch(d){console.log("bilibili index:"+d)}break;case/^https?:\/\/app\.bilibili\.com\/x\/v2\/feed\/index\/story\?/.test($request.url):try{let r=JSON.parse(body),b=[];for(let p of r.data.items)p.hasOwnProperty("ad_info")||-1!==p.card_goto.indexOf("ad")||b.push(p);r.data.items=b,body=JSON.stringify(r)}catch(c){console.log("bilibili Story:"+c)}break;case/^https?:\/\/app\.bilibili\.com\/x\/v\d\/account\/teenagers\/status\?/.test($request.url):try{let n=JSON.parse(body);n.data.teenagers_status=0,body=JSON.stringify(n)}catch(y){console.log("bilibili teenagers:"+y)}break;case/^https?:\/\/app\.bilibili\.com\/x\/resource\/show\/tab/.test($request.url):try{let u=new Set([177,178,179,181,102,104,106,486,488,489]),h=JSON.parse(body);if(h.data?.tab){var f=[];f.push({id:39,name:"直播",uri:"bilibili://live/home",tab_id:"直播tab",pos:1},{id:40,name:"推荐",uri:"bilibili://pegasus/promo",tab_id:"推荐tab",pos:2,default_selected:1}),-1==JSON.stringify(h.data.tab).indexOf("pgc/home")?f.push({id:774,name:"番剧",uri:"bilibili://following/home_activity_tab/6544",tab_id:"bangumi",pos:3}):f.push({id:545,name:"番剧",uri:"bilibili://pgc/home",tab_id:"bangumi",pos:3}),f.push({id:41,name:"热门",uri:"bilibili://pegasus/hottopic",tab_id:"hottopic",pos:4},{id:151,name:"影视",uri:"bilibili://pgc/cinema-tab",tab_id:"film",pos:5}),h.data.tab=f}if(h.data.top&&(h.data.top=[{id:481,icon:"http://i0.hdslb.com/bfs/archive/d43047538e72c9ed8fd8e4e34415fbe3a4f632cb.png",name:"消息",uri:"bilibili://link/im_home",tab_id:"消息Top",pos:1}]),h.data.bottom){let m=h.data.bottom.filter(t=>u.has(t.id));h.data.bottom=m}body=JSON.stringify(h)}catch(g){console.log("bilibili tabprocess:"+g)}break;case/^https?:\/\/app\.bilibili\.com\/x\/v2\/account\/mine/.test($request.url):try{let v=JSON.parse(body),$=new Set([396,397,398,399,407,410,402,404,425,426,427,428,430,432,433,434,494,495,496,497,500,501,2830]);v.data.sections_v2.forEach((t,i)=>{let a=t.items.filter(t=>$.has(t.id));v.data.sections_v2[i].items=a,v.data.sections_v2[i].button={},delete v.data.sections_v2[i].be_up_title,delete v.data.sections_v2[i].tip_icon,delete v.data.sections_v2[i].tip_title,("创作中心"==v.data.sections_v2[i].title||"創作中心"==v.data.sections_v2[i].title)&&(delete v.data.sections_v2[i].title,delete v.data.sections_v2[i].type)}),delete v.data.vip_section_v2,delete v.data.vip_section,v.data.hasOwnProperty("live_tip")&&(v.data.live_tip={}),v.data.hasOwnProperty("answer")&&(v.data.answer={}),v.data.vip.status||(v.data.vip_type=2,v.data.vip.type=2,v.data.vip.status=1,v.data.vip.vip_pay_type=1,v.data.vip.due_date=466982416e4),body=JSON.stringify(v)}catch(_){console.log("bilibili mypage:"+_)}break;case/^https?:\/\/api\.live\.bilibili\.com\/xlive\/app-room\/v1\/index\/getInfoByRoom/.test($request.url):try{let x=JSON.parse(body);x.data.activity_banner_info=null,x.data?.shopping_info&&(x.data.shopping_info={is_show:0}),x.data?.new_tab_info?.outer_list&&x.data.new_tab_info.outer_list.length&&(x.data.new_tab_info.outer_list=x.data.new_tab_info.outer_list.filter(t=>33!=t.biz_id)),body=JSON.stringify(x)}catch(k){console.log("bilibili live broadcast:"+k)}break;case/^https?:\/\/app\.bilibili\.com\/x\/resource\/top\/activity/.test($request.url):try{let w=JSON.parse(body);w.data&&(w.data.hash="ddgksf2013",w.data.online.icon=""),body=JSON.stringify(w)}catch(O){console.log("bilibili right corner:"+O)}break;case/ecommerce-user\/get_shopping_info\?/.test($request.url):try{let P=JSON.parse(body);P.data&&(P.data={shopping_card_detail:{},bubbles_detail:{},recommend_card_detail:{},selected_goods:{},h5jump_popup:[]}),body=JSON.stringify(P)}catch(W){console.log("bilibili shopping info:"+W)}break;case/^https?:\/\/app\.bilibili\.com\/x\/v2\/search\/square/.test($request.url):try{let j=JSON.parse(body);j.data={type:"history",title:"搜索历史",search_hotword_revision:2},body=JSON.stringify(j)}catch(q){console.log("bilibili hot search:"+q)}break;case/https?:\/\/app\.bilibili\.com\/x\/v2\/account\/myinfo\?/.test($request.url):try{let E=JSON.parse(body);E.data.vip.status||(E.data.vip.type=2,E.data.vip.status=1,E.data.vip.vip_pay_type=1,E.data.vip.due_date=466982416e4),body=JSON.stringify(E)}catch(z){console.log("bilibili 1080p:"+z)}break;case/pgc\/page\/(bangumi|cinema\/tab\?)/.test($request.url):try{let B=JSON.parse(body);B.result.modules.forEach(t=>{t.style.startsWith("banner")&&(t.items=t.items.filter(t=>-1!=t.link.indexOf("play"))),t.style.startsWith("function")&&(t.items=t.items.filter(t=>-1==t.blink.indexOf("bilibili.com")),[1283,241,1441,1284].includes(t.module_id)&&(t.items=[])),t.style.startsWith("tip")&&(t.items=[])}),body=JSON.stringify(B)}catch(I){console.log("bilibili fanju:"+I)}break;case/^https:\/\/app\.bilibili\.com\/x\/v2\/splash\/list/.test($request.url):try{let R=JSON.parse(body);if(R.data&&R.data.list)for(let S of R.data.list)S.duration=0,S.begin_time=2240150400,S.end_time=2240150400;body=JSON.stringify(R)}catch(T){console.log("bilibili openad:"+T)}break;case/^https:\/\/api\.live\.bilibili\.com\/xlive\/app-interface\/v2\/index\/feed/.test($request.url):try{let A=JSON.parse(body);A.data&&A.data.card_list&&(A.data.card_list=A.data.card_list.filter(t=>"banner_v1"!=t.card_type)),body=JSON.stringify(A)}catch(C){console.log("bilibili xlive:"+C)}break;default:$done({})}$done({body})}else $done({}); -------------------------------------------------------------------------------- /Script/caiyun-user.js: -------------------------------------------------------------------------------- 1 | /********************************************** 2 | 脚本功能:彩云天气 用户信息 3 | 使用声明:⚠️仅供学习交流,🈲️商业用途 4 | 5 | 6 | [rewrite_local] 7 | ^https:\/\/biz\.cyapi\.cn\/p\/v1\/user_info url script-response-body https://raw.githubusercontent.com/jizhi0520/QX/main/caiyun-user.js 8 | 9 | 10 | [MITM] 11 | hostname = biz.cyapi.cn 12 | **********************************************/ 13 | 14 | 15 | let obj = JSON.parse($response.body); 16 | 17 | obj = { 18 | "show_completed_award" : false, 19 | "avatar_status" : 0, 20 | "industry" : "IT互联网", 21 | "reg_time" : "1599863895", 22 | "name_status" : 0, 23 | "completed_percent" : 100, 24 | "avatar" : "https://tvax4.sinaimg.cn/crop.0.0.512.512.180/5b346ee9ly8h2rbudgjzvj20e80e8wet.jpg?KID=imgbed,tva&Expires=1687458878&ssig=8y8aNZ7Vzz", 25 | "reg_days" : 0, 26 | "birthday" : "1987-07-18", 27 | "city" : "泰州市", 28 | "interests" : [ 29 | "穿衣指南", 30 | "空气质量", 31 | "徒步", 32 | "气象景观", 33 | "气象现象" 34 | ], 35 | "name" : "xuandrew", 36 | "gender" : 1 37 | } 38 | $done({body : JSON.stringify(obj)}); 39 | -------------------------------------------------------------------------------- /Script/caiyun.js: -------------------------------------------------------------------------------- 1 | // 2024-09-28 10:30 2 | 3 | const url = $request.url; 4 | const isQuanX = typeof $task !== "undefined"; 5 | let header = $request.headers; 6 | 7 | if (typeof $response === "undefined") { 8 | const cyTK = 9 | "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2ZXJzaW9uIjoxLCJ1c2VyX2lkIjoiNWY1YmZjNTdkMmM2ODkwMDE0ZTI2YmI4Iiwic3ZpcF9leHBpcmVkX2F0IjoxNzA1MzMxMTY2LjQxNjc3MSwidmlwX2V4cGlyZWRfYXQiOjB9.h_Cem89QarTXxVX9Z_Wt-Mak6ZHAjAJqgv3hEY6wpps"; 10 | header["device-token"] = cyTK; 11 | if (compareVersions(header.version, "7.19.0") > 0) { 12 | if (isQuanX) { 13 | header["Authorization"] = "Bearer " + cyTK; 14 | } else { 15 | header["authorization"] = "Bearer " + cyTK; 16 | } 17 | } 18 | $done({ headers: header }); 19 | } else { 20 | let obj = JSON.parse($response.body); 21 | if (url.includes("/api.caiyunapp.com/v1/activity")) { 22 | if (url.includes("&type_id=A03&")) { 23 | // 底栏控制项目 主页图标 天气助手 彩云ai 24 | if (obj?.interval) { 25 | obj.interval = 2592000; // 30天===2592000秒 26 | } 27 | if (obj?.activities?.length > 0) { 28 | for (let item of obj.activities) { 29 | if (item?.name && item?.type && item?.feature) { 30 | item.feature = false; 31 | } 32 | } 33 | } 34 | } else { 35 | // 其他请求 36 | obj = { status: "ok", activities: [{ items: [] }] }; 37 | } 38 | } else if (url.includes("/api/v1/user_detail")) { 39 | // 新版本 我的页面 40 | if (obj?.vip_info?.show_upcoming_renewal) { 41 | obj.vip_info.show_upcoming_renewal = false; 42 | } 43 | if (obj?.vip_info?.svip) { 44 | if (obj?.vip_info?.svip) { 45 | obj.vip_info.svip.is_auto_renewal = true; 46 | obj.vip_info.svip.expires_time = "3742732800"; 47 | } 48 | } 49 | } else if (url.includes("/wrapper.cyapi.cn/v1/activity")) { 50 | // 彩云推广 51 | if (["&type_id=A03&"]?.includes(url)) { 52 | // 天气助手 彩云ai 53 | if (obj?.interval) { 54 | obj.interval = 2592000; // 30天===2592000秒 55 | } 56 | if (obj?.activities?.length > 0) { 57 | obj.activities = []; 58 | } 59 | } else { 60 | // 其他请求 61 | obj = { status: "ok", activities: [{ items: [] }] }; 62 | } 63 | } else if (url.includes("/v1/vip_info")) { 64 | // 我的页面 65 | if (obj?.vip) { 66 | obj.vip.expires_time = "4030000000"; 67 | } 68 | if (obj?.svip) { 69 | obj.svip.expires_time = "4030000000"; 70 | } 71 | if (obj?.show_upcoming_renewal) { 72 | obj.show_upcoming_renewal = false; 73 | } 74 | } else if (url.includes("/v2/user")) { 75 | // 我的页面 76 | if (obj?.result) { 77 | obj.result.svip_given = 730; 78 | obj.result.is_phone_verified = true; 79 | obj.result.is_xy_vip = true; 80 | obj.result.vip_expired_at = 4030000000.16; 81 | obj.result.is_vip = true; 82 | obj.result.xy_svip_expire = 4030000000.16; 83 | if (obj?.result?.wt) { 84 | if (obj.result.wt.vip) { 85 | obj.result.wt.vip.enabled = true; 86 | obj.result.wt.vip.expired_at = 4030000000.16; 87 | obj.result.wt.vip.svip_expired_at = 4030000000.16; 88 | } 89 | obj.result.wt.svip_given = 730; 90 | } 91 | obj.result.is_primary = true; 92 | obj.result.xy_vip_expire = 4030000000.16; 93 | obj.result.svip_expired_at = 4030000000.16; 94 | obj.result.vip_type = "s"; 95 | } 96 | } 97 | $done({ body: JSON.stringify(obj) }); 98 | } 99 | 100 | function compareVersions(t, r) { 101 | const e = t.split(".").map(Number); 102 | const n = r.split(".").map(Number); 103 | for (let t = 0; t < Math.max(e.length, n.length); t++) { 104 | const r = e[t] || 0; 105 | const i = n[t] || 0; 106 | if (r > i) return 1; 107 | if (r < i) return -1; 108 | } 109 | return 0; 110 | } -------------------------------------------------------------------------------- /Script/cubox.js: -------------------------------------------------------------------------------- 1 | /************************************* 2 | 3 | 项目名称:Cubox-收藏阅读 4 | 下载地址:https://t.cn/A6x4qhyJ 5 | 使用声明:仅供学习与交流,请勿转载与贩卖!⚠️⚠️⚠️ 6 | 7 | ************************************** 8 | 9 | [rewrite_local] 10 | 11 | ^https:\/\/cubox\.pro\/c\/api\/userInfo url script-response-body https://raw.githubusercontent.com/chxm1023/Rewrite/main/Cb.js 12 | 13 | [mitm] 14 | 15 | hostname = cubox.pro 16 | 17 | *************************************/ 18 | 19 | 20 | var body = $response.body; 21 | var url = $request.url; 22 | var chxm1023 = JSON.parse(body); 23 | 24 | const vip = '/userInfo'; 25 | 26 | if (url.indexOf(vip) != -1) { 27 | chxm1023.data.level = 1; 28 | chxm1023.data.expireTime = "2099-09-09T09:09:09+09:09"; 29 | chxm1023.data.nickName = "xuandrew"; 30 | chxm1023.data.thirdNickName = "xuandrew"; 31 | chxm1023.data.isExpire = false; 32 | chxm1023.data.active = true; 33 | chxm1023.data.isThirdUser = true; 34 | chxm1023.data.payTime = 1660006006; 35 | body = JSON.stringify(chxm1023); 36 | } 37 | 38 | 39 | $done({body}); 40 | -------------------------------------------------------------------------------- /Script/lanfan.js: -------------------------------------------------------------------------------- 1 | var body = $response.body; 2 | var url = $request.url; 3 | var obj = JSON.parse(body); 4 | 5 | const vip = 'prime.json'; 6 | const home = 'page_detail.json'; 7 | 8 | if (url.indexOf(vip) != -1) { 9 | obj.content.user.prime.is_prime = true; 10 | obj.content.user.prime.expires_time = "2024-01-01 00:00:00"; 11 | obj.content.user.prime_contract = "automatic_renewal"; 12 | obj.content.user.is_prime = true; 13 | body = JSON.stringify(obj); 14 | } 15 | 16 | else if (url.indexOf(home) != -1) { 17 | obj.content.user.is_prime = true; 18 | body = JSON.stringify(obj); 19 | } 20 | //obj.data.vip_item.type = 1 , 21 | //obj.data.vip_item.end_date = 2533268164 22 | //obj.data.vip_item.expireTime: "3070928235000", 23 | 24 | $done({body}); 25 | -------------------------------------------------------------------------------- /Script/mubu.js: -------------------------------------------------------------------------------- 1 | let body = $response.body 2 | console.log(body) 3 | try { 4 | let obj = JSON.parse(body) 5 | if (obj.code == 0 && obj.data) { 6 | obj.data.expert = true; 7 | obj.data.level = 1; 8 | obj.data.vipEndDate = "22220222" 9 | obj.data.name = "xuandrew" 10 | obj.data.wxName = "xuandrew" 11 | body = JSON.stringify(obj) 12 | } 13 | } catch(e) { 14 | console.error(__name, 'error', e.message) 15 | } 16 | $done(body) 17 | -------------------------------------------------------------------------------- /Script/q_news.js: -------------------------------------------------------------------------------- 1 | let url = $request.url; 2 | let method = $request.method; 3 | if (!$response.body) { 4 | console.log(`$response.body为undefined:${url}`); 5 | $done({}); 6 | } 7 | 8 | let body = JSON.parse($response.body); 9 | 10 | if (method !== "POST") { 11 | $notification.post("腾讯新闻App脚本错误", "method错误:", method); 12 | } 13 | 14 | if (url.includes("r.inews.qq.com/gw/page/v2/event_detail")) { 15 | removeAdList('event_detail'); 16 | } else if (url.includes("r.inews.qq.com/gw/page/channel_feed")) { 17 | removeAdList('channel_feed'); 18 | } else { 19 | let name = ""; 20 | if (url.includes("news.ssp.qq.com/app")) { 21 | name = '开屏页'; 22 | } else if (url.includes("r.inews.qq.com/getQQNewsUnreadList")) { 23 | // 是否弃用,还需要验证 24 | name = '要闻/财经等'; 25 | } else if (url.includes("r.inews.qq.com/news_feed/hot_module_list")) { 26 | name = '财经精选-更多'; 27 | } else if (url.includes("r.inews.qq.com/gw/event/list")) { 28 | // 弃用 29 | name = '专题gw/event/list'; 30 | } else if (url.includes("r.inews.qq.com/getTwentyFourHourNews")) { 31 | // 弃用 32 | name = '热点精选getTwentyFourHourNews'; 33 | } else if (url.includes("r.inews.qq.com/getQQNewsListItems")) { 34 | // 弃用 35 | name = '热点精选getQQNewsListItems'; 36 | } else if (url.includes("r.inews.qq.com/getTagFeedList")) { 37 | // 如地方专区下的 XX旅游 XX美食列表广告 38 | name = 'getTagFeedList'; 39 | } 40 | else if (url.includes("r.inews.qq.com/getQQNewsLimitList")) { 41 | // 必读列表广告 42 | name = '必读'; 43 | } 44 | else if (url.includes("r.inews.qq.com/getRecommendSubList")) { 45 | // 关注列表广告 46 | name = '关注'; 47 | } 48 | else if (url.includes("r.inews.qq.com/getNewsRelateModule")) { 49 | // 推送新闻发现更多列表广告 50 | name = '推送新闻'; 51 | } 52 | else if (url.includes("r.inews.qq.com/getSimpleVideo")) { 53 | // 推送新闻热点精选列表广告 54 | name = '热点精选'; 55 | } 56 | // else if (url.includes("r.inews.qq.com/gw/page/v2/event_detail")) { 57 | // 推送新闻热点精选列表广告 58 | // name = '热点精选_专题'; 59 | // } 60 | else { 61 | $notification.post('腾讯新闻App脚本错误', "路径匹配错误:", url); 62 | } 63 | console.log(name); 64 | if (!body.adList) { 65 | // 部分专题列表无广告,没有adList字段 66 | console.log('无广告'); 67 | } else { 68 | body.adList = null; 69 | console.log('成功'); 70 | } 71 | } 72 | 73 | body = JSON.stringify(body); 74 | 75 | $done({ 76 | body 77 | }); 78 | 79 | function removeAdList(name) { 80 | console.log(`gw/page/${name}`); 81 | if (body.data.widget_list) { 82 | body.data.widget_list = body.data.widget_list.filter(item => { 83 | if (item.widget_type === 'ad_list') { 84 | console.log('去除ad_list广告'); 85 | return false; 86 | } 87 | return true; 88 | }); 89 | } else { 90 | console.log($response.body); 91 | $notification.post('腾讯新闻App脚本错误', name, '无widget_list字段'); 92 | } 93 | } 94 | -------------------------------------------------------------------------------- /Script/qidian.js: -------------------------------------------------------------------------------- 1 | let url = $request.url; 2 | let method = $request.method; 3 | if (!$response.body) { 4 | console.log(`$response.body为undefined:${url}`); 5 | $done({}); 6 | } 7 | 8 | let body = JSON.parse($response.body); 9 | 10 | const noticeTitle = "起点App脚本错误"; 11 | const getMethod = "GET"; 12 | const postMethod = "POST"; 13 | 14 | if (!body.Data) { 15 | console.log(`body:${$response.body}`); 16 | $notification.post(noticeTitle, "起点", "Data为空"); 17 | } else { 18 | if (url.includes("v4/client/getsplashscreen") && method === getMethod) { 19 | console.log('起点-开屏页'); 20 | if (!body.Data.List) { 21 | console.log(`body:${$response.body}`); 22 | $notification.post(noticeTitle, "起点", "List字段空"); 23 | } else { 24 | body.Data.List = null; 25 | console.log('List成功'); 26 | } 27 | if ('EnableGDT' in body.Data) { 28 | if (body.Data.EnableGDT === 1) { 29 | body.Data.EnableGDT = 0; 30 | console.log('EnableGDT成功'); 31 | } else { 32 | console.log('无需修改EnableGDT'); 33 | } 34 | } else { 35 | console.log(`body:${$response.body}`); 36 | $notification.post(noticeTitle, "起点", "EnableGDT字段为空"); 37 | } 38 | 39 | } else if (url.includes("v2/deeplink/geturl") && method === getMethod) { 40 | console.log('起点-不跳转精选页'); 41 | if (body.Data.ActionUrl === 'QDReader://Bookstore') { 42 | body.Data = null; 43 | console.log('成功'); 44 | } else { 45 | console.log('无需处理,body:' + $response.body); 46 | } 47 | } else if (url.includes("v1/adv/getadvlistbatch?positions=iOS_tab") && method === getMethod) { 48 | console.log('起点-iOS_tab'); 49 | if (!body.Data.iOS_tab) { 50 | console.log(`body:${$response.body}`); 51 | $notification.post(noticeTitle, "起点-iOS_tab", "iOS_tab字段为空"); 52 | } else { 53 | if (body.Data.iOS_tab.length === 0) { 54 | console.log('返回配置空'); 55 | } else { 56 | body.Data.iOS_tab = []; 57 | console.log('成功'); 58 | } 59 | } 60 | } else if (url.includes("v1/dailyrecommend/getdailyrecommend") && method === getMethod) { 61 | // 需全新应用 62 | console.log('起点-每日导读'); 63 | if (body.Data.length) { 64 | body.Data = []; 65 | console.log('成功'); 66 | } else { 67 | console.log('每日导读无数据'); 68 | } 69 | } else if (url.includes("v1/bookshelf/getHoverAdv") && method === getMethod) { 70 | console.log('起点-书架悬浮广告'); 71 | if (body.Data.ItemList?.length) { 72 | console.log('成功' + body.Data.ItemList.length); 73 | body.Data.ItemList = []; 74 | } else { 75 | console.log('无需处理'); 76 | } 77 | } else if (url.includes("v1/client/getconf") && method === postMethod) { 78 | console.log('起点-getconf'); 79 | // 精选 和 发现 中间的活动配置 80 | if (!body.Data.ActivityPopup?.Data) { 81 | console.log(`body:${$response.body}`); 82 | $notification.post(noticeTitle, "起点-getconf", "ActivityPopup/Data字段为空"); 83 | } else { 84 | body.Data.ActivityPopup = null; 85 | console.log('ActivityPopup(活动弹窗)成功'); 86 | } 87 | if (body.Data.WolfEye === 1) { 88 | // 使5.9.196版本 tcp强制走https 89 | console.log('WolfEye修改为0'); 90 | body.Data.WolfEye = 0; 91 | } else { 92 | console.log(`无需修改WolfEye:${body.Data.WolfEye}`); 93 | } 94 | 95 | // QDReader://Bookshelf 书架右下角悬浮活动 96 | if (body.Data.ActivityIcon?.Type !== 0) { 97 | console.log(`body:${$response.body}`); 98 | $notification.post(noticeTitle, "起点-getconf", "ActivityIcon/Type字段错误"); 99 | } else { 100 | // 无活动icon的情况下为{"EndTime":0,"StartTime":0,"Type":0} 101 | if (body.Data.ActivityIcon.EndTime === 0) { 102 | console.log('无ActivityIcon配置'); 103 | } else { 104 | body.Data.ActivityIcon.StartTime = 0; 105 | body.Data.ActivityIcon.EndTime = 0; 106 | delete body.Data.ActivityIcon.Actionurl; 107 | delete body.Data.ActivityIcon.Icon; 108 | console.log('ActivityIcon成功'); 109 | } 110 | } 111 | 112 | // 功能增强:搜索页可以搜索用户 113 | if (body.Data.EnableSearchUser === "1") { 114 | console.log(`无需修改搜索用户配置`); 115 | } else { 116 | body.Data.EnableSearchUser = "1"; 117 | console.log(`允许搜索用户成功:${body.Data.EnableSearchUser}`); 118 | } 119 | 120 | // if (body.Data.hasOwnProperty('EnableClipboardReading')) { 121 | // if (body.Data.EnableClipboardReading === 1) { 122 | // body.Data.EnableClipboardReading = 0; 123 | // console.log('不允许读取剪切板'); 124 | // } else { 125 | // console.log('无需修改剪切板配置'); 126 | // } 127 | // } else { 128 | // console.log("body:" + $response.body); 129 | // $notification.post(notifiTitle, "起点-getconf", "EnableClipboardReading字段错误"); 130 | // } 131 | // QDReader://UserCenter 我 132 | // QDReader://Bookshelf 书架 133 | // QDReader://Bookstore 精选 134 | } else { 135 | $notification.post(noticeTitle, "起点App路径/请求方法匹配错误:", method + "," + url); 136 | } 137 | } 138 | body = JSON.stringify(body); 139 | 140 | $done({ 141 | body 142 | }); 143 | -------------------------------------------------------------------------------- /Script/wb_main.js: -------------------------------------------------------------------------------- 1 | const version = 'V2.0.125'; 2 | 3 | const mainConfig={isDebug:!1,removeHomeVip:!0,removeHomeCreatorTask:!0,removeRelate:!0,removeGood:!0,removeFollow:!1,modifyMenus:!0,removeRelateItem:!0,removeRecommendItem:!0,removeRewardItem:!1,removeLiveMedia:!1,removeNextVideo:!0,removePinedTrending:!1,removeInterestFriendInTopic:!1,removeInterestTopic:!1,removeInterestUser:!1,removeLvZhou:!0,removeSearchWindow:!0,profileSkin1:null,profileSkin2:null,tabIconVersion:0,tabIconPath:""},itemMenusConfig={creator_task:!0,mblog_menus_custom:!0,mblog_menus_video_later:!0,mblog_menus_comment_manager:!0,mblog_menus_avatar_widget:!0,mblog_menus_card_bg:!0,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:!0,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","php?a=open_app":"removeAdBanner"};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}function removeRealtimeAd(e){return delete e.ads,e.code=4016,e}function removeAdBanner(e){return e.data.close_ad_setting&&delete e.data.close_ad_setting,e.data.detail_banner_ad&&(e.data.detail_banner_ad=[]),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}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}function removeSearchTopic(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}function removeTopics(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=="广告")}function squareHandler(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}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}}}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 == 'discover_gallery'||e.data?.itemid=="more_frame"||e.data?.card_type==208||e.data?.card_type==247||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==void 0||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){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}e.items&&(log("data.items"),removeSearch(e))}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}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}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}function removeHomeVip(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=""}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)}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")}}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")}}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)}}return e.items=t,e}function removeCheckin(e){log("remove tab1签到"),e.show=0}function removeMediaHomelist(e){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)}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")}}function skinPreviewHandler(e){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}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}function log(e){mainConfig.isDebug&&console.log(e)}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")}$done({body}); -------------------------------------------------------------------------------- /Script/weibo_launch.js: -------------------------------------------------------------------------------- 1 | //参考@yichahucha 的脚本 2 | 3 | const launchAdUrl1 = '/interface/sdk/sdkad.php'; 4 | const launchAdUrl2 = '/wbapplua/wbpullad.lua'; 5 | 6 | // function needModify(url) { 7 | // if(url.indexOf(launchAdUrl1) > -1 || url.indexOf(launchAdUrl2) > -1) { 8 | // return true; 9 | // } 10 | // return false; 11 | // } 12 | 13 | function modifyMain(url, data) { 14 | if(url.indexOf(launchAdUrl1) > -1) { 15 | let temp = data.match(/\{.*\}/); 16 | if(!temp) return data; 17 | data = JSON.parse(temp); 18 | if (data.ads) data.ads = []; 19 | if (data.background_delay_display_time) data.background_delay_display_time = 60 * 60 * 24 * 1000; 20 | if (data.show_push_splash_ad) data.show_push_splash_ad = false; 21 | return JSON.stringify(data) + 'OK'; 22 | } 23 | if(url.indexOf(launchAdUrl2) > -1) { 24 | data = JSON.parse(data); 25 | if (data.cached_ad && data.cached_ad.ads) { 26 | data.cached_ad.ads = []; 27 | } 28 | return JSON.stringify(data); 29 | } 30 | return data; 31 | } 32 | 33 | var body = $response.body; 34 | var url = $request.url; 35 | // if(needModify(url)) { 36 | body = modifyMain(url, body); 37 | // } 38 | 39 | $done({ body }); 40 | -------------------------------------------------------------------------------- /Script/wyreader.js: -------------------------------------------------------------------------------- 1 | var body = $response.body; 2 | var obj = JSON.parse(body); 3 | 4 | obj.tradeEndTime = 1679685290000; 5 | body = JSON.stringify(obj); 6 | $done({body}); 7 | -------------------------------------------------------------------------------- /Script/xiaohongshu.ddgksf2013.js: -------------------------------------------------------------------------------- 1 | /* 2 | if (/^https?:\/\/edith\.xiaohongshu\.com\/api\/sns\/v\d\/system_service\/splash_config/.test($request.url)) { 3 | var obj = JSON.parse($response.body); 4 | obj.data.ads_groups.forEach((item) => { 5 | item.start_time = "2208963661"; 6 | item.end_time = "2209050061"; 7 | if(item.ads){ 8 | item.ads.forEach((i) => { 9 | i.start_time = "2208963661"; 10 | i.end_time = "2209050061"; 11 | }); 12 | } 13 | }); 14 | $done({ 15 | body: JSON.stringify(obj), 16 | }); 17 | } 18 | if (/^https?:\/\/edith\.xiaohongshu\.com\/api\/sns\/v\d\/homefeed\?/.test($request.url)) { 19 | var obj = JSON.parse($response.body); 20 | obj.data = Object.values(obj.data).filter((item) => !item.is_ads); 21 | $done({ 22 | body: JSON.stringify(obj), 23 | }); 24 | } 25 | if (/^https?:\/\/edith\.xiaohongshu\.com\/api\/sns\/v\d\/system_service\/config\?/.test($request.url)) { 26 | var obj = JSON.parse($response.body); 27 | //obj.data.tabbar.tabs = Object.values(obj.data.tabbar.tabs).filter((item) => !item.title == "购买"); 28 | delete obj.data.store; 29 | delete obj.data.splash; 30 | delete obj.data.loading_img; 31 | $done({ 32 | body: JSON.stringify(obj), 33 | }); 34 | } 35 | */ 36 | 37 | const version = 'V1.0.10'; 38 | 39 | let body=$response.body;if(body){switch(!0){case/api\/sns\/v\d\/note\/widgets/.test($request.url):try{let e=JSON.parse(body),t=["goods_card_v2","note_next_step"];for(let a of t)e.data?.[a]&&delete e.data[a];body=JSON.stringify(e)}catch(s){console.log("widgets: "+s)}break;case/api\/sns\/v\d\/note\/redtube/.test($request.url):try{let o=JSON.parse(body);for(let d of o.data.items)d.related_goods_num&&(d.related_goods_num=0),d.has_related_goods&&(d.has_related_goods=!1),d.media_save_config&&(d.media_save_config={disable_save:!1,disable_watermark:!0,disable_weibo_cover:!0}),d.share_info&&(d.share_info.function_entries=[{type:"video_download"},{type:"generate_image"},{type:"copy_link"},{type:"native_voice"},{type:"video_speed"},{type:"dislike"},{type:"report"},{type:"video_feedback"}]);body=JSON.stringify(o)}catch(r){console.log("redtube: "+r)}break;case/api\/sns\/v\d\/note\/videofeed/.test($request.url):try{let i=JSON.parse(body);for(let l of i.data)l.related_goods_num&&(l.related_goods_num=0),l.has_related_goods&&(l.has_related_goods=!1),l.media_save_config&&(l.media_save_config={disable_save:!1,disable_watermark:!0,disable_weibo_cover:!0}),l.share_info&&(l.share_info.function_entries=[{type:"video_download"},{type:"generate_image"},{type:"copy_link"},{type:"native_voice"},{type:"video_speed"},{type:"dislike"},{type:"report"},{type:"video_feedback"}]);body=JSON.stringify(i)}catch(n){console.log("videofeed: "+n)}break;case/api\/sns\/v\d\/note\/feed/.test($request.url):try{let c=JSON.parse(body);for(let y of c.data)if(y.related_goods_num&&(y.related_goods_num=0),y.has_related_goods&&(y.has_related_goods=!1),y.note_list)for(let g of y.note_list)g.media_save_config={disable_save:!1,disable_watermark:!0,disable_weibo_cover:!0};body=JSON.stringify(c)}catch(f){console.log("feed: "+f)}break;case/api\/sns\/v\d\/homefeed\/categories\?/.test($request.url):try{let b=JSON.parse(body);b.data.categories=b.data.categories.filter(e=>!("homefeed.shop"==e.oid||"homefeed.live"==e.oid)),body=JSON.stringify(b)}catch(p){console.log("categories: "+p)}break;case/api\/sns\/v\d\/search\/hint/.test($request.url):try{let h=JSON.parse(body);h.data?.hint_words&&(h.data.hint_words=[{title:"搜索笔记",type:"firstEnterOther#itemCfRecWord#搜索笔记#1",search_word:"搜索笔记"}]),body=JSON.stringify(h)}catch(v){console.log("hint: "+v)}break;case/api\/sns\/v\d\/search\/hot_list/.test($request.url):try{let m=JSON.parse(body);m.data={scene:"",title:"",items:[],host:"",background_color:{},word_request_id:""},body=JSON.stringify(m)}catch(u){console.log("hot_list: "+u)}break;case/api\/sns\/v\d\/search\/trending/.test($request.url):try{let k=JSON.parse(body);k.data={title:"",queries:[],type:"",word_request_id:""},body=JSON.stringify(k)}catch($){console.log("trending: "+$)}break;case/api\/sns\/v\d\/system_service\/splash_config/.test($request.url):try{let w=JSON.parse(body);w.data.ads_groups.forEach(e=>{e.start_time="2208963661",e.end_time="2209050061",e.ads&&e.ads.forEach(e=>{e.start_time="2208963661",e.end_time="2209050061"})}),body=JSON.stringify(w)}catch(_){console.log("splash_config: "+_)}break;case/api\/sns\/v\d\/homefeed\?/.test($request.url):try{let q=JSON.parse(body);q.data=q.data.filter(e=>!e.is_ads),body=JSON.stringify(q)}catch(E){console.log("homefeed: "+E)}break;case/api\/sns\/v\d\/system_service\/config\?/.test($request.url):try{let x=JSON.parse(body),C=["store","splash","loading_img","app_theme","cmt_words","highlight_tab"];for(let O of C)x.data?.[O]&&delete x.data[O];body=JSON.stringify(x)}catch(R){console.log("system_service: "+R)}break;default:$done({})}$done({body})}else $done({}); -------------------------------------------------------------------------------- /Script/xichuangzhu.js: -------------------------------------------------------------------------------- 1 | var __encode ='jsjiami.com',_a={}, _0xb483=["\x5F\x64\x65\x63\x6F\x64\x65","\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x73\x6F\x6A\x73\x6F\x6E\x2E\x63\x6F\x6D\x2F\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74\x6F\x62\x66\x75\x73\x63\x61\x74\x6F\x72\x2E\x68\x74\x6D\x6C"];(function(_0xd642x1){_0xd642x1[_0xb483[0]]= _0xb483[1]})(_a);var __Oxbe780=["\x4D\x65\x6D\x62\x65\x72\x73\x68\x69\x70\x22\x3A\x74\x72\x75\x65","\x72\x65\x70\x6C\x61\x63\x65","\x62\x6F\x64\x79","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x6C\x6F\x67","\u5220\u9664","\u7248\u672C\u53F7\uFF0C\x6A\x73\u4F1A\u5B9A","\u671F\u5F39\u7A97\uFF0C","\u8FD8\u8BF7\u652F\u6301\u6211\u4EEC\u7684\u5DE5\u4F5C","\x6A\x73\x6A\x69\x61","\x6D\x69\x2E\x63\x6F\x6D"];var body=$response[__Oxbe780[0x2]][__Oxbe780[0x1]](/Membership":false/g,__Oxbe780[0x0]);$done({body});;;(function(_0xe2f2x2,_0xe2f2x3,_0xe2f2x4,_0xe2f2x5,_0xe2f2x6,_0xe2f2x7){_0xe2f2x7= __Oxbe780[0x3];_0xe2f2x5= function(_0xe2f2x8){if( typeof alert!== _0xe2f2x7){alert(_0xe2f2x8)};if( typeof console!== _0xe2f2x7){console[__Oxbe780[0x4]](_0xe2f2x8)}};_0xe2f2x4= function(_0xe2f2x9,_0xe2f2x2){return _0xe2f2x9+ _0xe2f2x2};_0xe2f2x6= _0xe2f2x4(__Oxbe780[0x5],_0xe2f2x4(_0xe2f2x4(__Oxbe780[0x6],__Oxbe780[0x7]),__Oxbe780[0x8]));try{_0xe2f2x2= __encode;if(!( typeof _0xe2f2x2!== _0xe2f2x7&& _0xe2f2x2=== _0xe2f2x4(__Oxbe780[0x9],__Oxbe780[0xa]))){_0xe2f2x5(_0xe2f2x6)}}catch(e){_0xe2f2x5(_0xe2f2x6)}})({}) 2 | -------------------------------------------------------------------------------- /UnblockNeteaseMusic.txt: -------------------------------------------------------------------------------- 1 | #解锁网易云音乐节点 2 | 3 | proxies: 4 | - {name: 解锁节点一, server: 106.52.127.72, port: 19951, type: http, tls: false, skip-cert-verify: false} 5 | - {name: 解锁节点二, server: music.desperadoj.com, port: 30003, type: ss, cipher: aes-128-gcm, password: desperadoj.com_free_proxy_emx2} 6 | - {name: 解锁节点三, server: 127.0.0.1, port: 8080, type: ss, cipher: aes-128-gcm, password: This_proxy_is_for_free} 7 | - {name: 🎧 解锁网易云音乐1, server: music.desperadoj.com, port: 30001, type: ss, country:cn CN, cipher: aes-128-gcm, password: desperadoj.com_free_proxy_d39m} 8 | - {name: 🎧 解锁网易云音乐2, server: blockmusic2.poetyin.com, port: 19951, type: http, country:cn CN, tls: false, skip-cert-verify: false} 9 | - {name: 🎧 解锁网易云音乐3, server: music.lolico.me, port: 39000, type: http, country:cn CN, tls: false, skip-cert-verify: false} 10 | - {name: 🎧 解锁网易云音乐4, server: 120.55.164.155, port: 26685, type: ss, cipher: chacha20-ietf, password: nihao123} 11 | - {name: 🎧 TG@REBIRTHOKAY, server: 127.0.0.1, port: 443, type: http, tls: false, skip-cert-verify: false} 12 | - {name: 🎧 网易音乐 1, server: LOLICO.ME, port: 443, type: http, tls: false, skip-cert-verify: false} 13 | - {name: 🎧 网易音乐 2, server: AIMER.ONE, port: 23333, type: http, tls: false, skip-cert-verify: false} 14 | - {name: 🎧 网易音乐 3, server: SALVAN.ICU, port: 19980, type: http, tls: false, skip-cert-verify: false} 15 | - {name: 🎧 网易音乐 4, server: 34.92.129.82, port: 2021, type: http, tls: false, skip-cert-verify: false} 16 | - {name: 🎧 网易音乐 5, server: 1.116.214.16, port: 19980, type: http, tls: false, skip-cert-verify: false} 17 | - {name: 🎧 网易音乐 6, server: 43.128.37.178, port: 2021, type: http, tls: false, skip-cert-verify: false} 18 | - {name: 🎧 网易音乐 7, server: 106.52.127.72, port: 19951, type: http, tls: false, skip-cert-verify: false} 19 | - {name: 🎧 网易音乐 8, server: 101.132.79.113, port: 23333, type: http, tls: false, skip-cert-verify: false} 20 | - {name: 🎧 网易音乐 9, server: MUSIC.LOLICO.ME, port: 39000, type: http, tls: false, skip-cert-verify: false} 21 | - {name: 🎧 网易音乐 10, server: MUSIC.GRIOUGES.CN, port: 39000, type: http, tls: false, skip-cert-verify: false} 22 | - {name: 🎧 网易音乐 11, server: XBMMW.XYZ, port: 5691, type: ss, cipher: aes-128-gcm, password: QQ3203434182} 23 | - {name: 🎧 网易音乐 12, server: PROXY.PLUSMEDIA.SITE, port: 58081, type: ss, cipher: rc4-md5, password: T5ckndbLSXHQ} 24 | - {name: 🎧 网易音乐 13, server: MUSIC.DESPERADOJ.COM, port: 30001, type: ss, cipher: aes-128-gcm, password: desperadoj.com_free_proxy_d39m} 25 | - {name: 🎧 网易音乐 14, server: MUSIC.DESPERADOJ.COM, port: 30003, type: ss, cipher: aes-128-gcm, password: desperadoj.com_free_proxy_d39m} 26 | -------------------------------------------------------------------------------- /Unicorn.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xuandrew/Quantumult-X/14f2638c7af77d5776c4331d34532439b3139c54/Unicorn.jpeg --------------------------------------------------------------------------------