├── Configuration └── RagBag.conf ├── EnApp ├── KeepStyle.conf ├── Netease.conf ├── TaobaoBlock.js ├── alicloud.js └── keepStyle.js ├── JD ├── JD_bean_change.js └── README.md ├── README.md ├── Rewrite ├── Block_Update.conf ├── Get_JD_Cookie.conf ├── PlusPlusAD.css ├── PushPlus_ad.conf ├── README.md ├── RagBag_Ads.conf ├── RagBag_VIP.conf └── RagBag_WebPage.conf ├── Rules └── RagBag.list └── 备忘.md /Configuration/RagBag.conf: -------------------------------------------------------------------------------- 1 | #RagBag修改的懒人包 2 | #更新时间2023.03.04 3 | 4 | [general] 5 | # 建议在「其他设置」里「GeoLite2」的「来源」填写使用「 https://raw.githubusercontent.com/Loyalsoldier/geoip/release/Country.mmdb 」并开启「自动 更新」 6 | resource_parser_url=https://cdn.jsdelivr.net/gh/KOP-XIAO/QuantumultX@master/Scripts/resource-parser.js 7 | server_check_url= http://www.qualcomm.cn/generate_204 8 | dns_exclusion_list=*.cmpassport.com, *.jegotrip.com.cn, *.icitymobile.mobi, id6.me, *.pingan.com.cn, *.cmbchina.com 9 | geo_location_checker=http://ip-api.com/json/?lang=zh-CN, https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/IP_API.js 10 | excluded_routes=239.255.255.250/32, 24.105.30.129/32, 185.60.112.157/32, 185.60.112.158/32, 182.162.132.1/32, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, 17.0.0.0/8 11 | udp_whitelist=1-442,444-65535 12 | 13 | [dns] 14 | no-ipv6 15 | server=/aaplimg.com/119.29.29.29 16 | address=/mtalk.google.com/108.177.125.188 17 | server=/dl.google.com/119.29.29.29 18 | server=/dl.l.google.com/119.29.29.29 19 | server=/update.googleapis.com/119.29.29.29 20 | server=/*.dl.playstation.net/119.29.29.29 21 | # > Router Admin Panel 22 | server=119.29.29.29 23 | server=223.5.5.5 24 | server=1.2.4.8 25 | server=/*.taobao.com/223.5.5.5 26 | server=/*.tmall.com/223.5.5.5 27 | server=/*.alipay.com/223.5.5.5 28 | server=/*.alicdn.com/223.5.5.5 29 | server=/*.aliyun.com/223.5.5.5 30 | server=/*.jd.com/119.28.28.28 31 | server=/*.qq.com/119.28.28.28 32 | server=/*.tencent.com/119.28.28.28 33 | server=/*.weixin.com/119.28.28.28 34 | server=/*.bilibili.com/119.29.29.29 35 | server=/hdslb.com/119.29.29.29 36 | server=/*.163.com/119.29.29.29 37 | server=/*.126.com/119.29.29.29 38 | server=/*.126.net/119.29.29.29 39 | server=/*.127.net/119.29.29.29 40 | server=/*.netease.com/119.29.29.29 41 | server=/*.mi.com/119.29.29.29 42 | server=/*.xiaomi.com/119.29.29.29 43 | address=/mtalk.google.com/108.177.125.188 44 | 45 | [policy] 46 | static=China, direct, proxy, reject, img-url=https://raw.githubusercontent.com/Orz-3/face/master/CN.png 47 | static=Global, 香港台湾, 优选节点, proxy, direct, reject, img-url=https://raw.githubusercontent.com/Orz-3/face/master/Global.png 48 | url-latency-benchmark=优选节点, server-tag-regex=^(?!.*网易云), check-interval=3600, tolerance=0, alive-checking=false, img-url=https://raw.githubusercontent.com/Orz-3/face/master/UN.png 49 | url-latency-benchmark=香港台湾, server-tag-regex=(?=.*(亚|港|台|HK|TW|CN|Hong|(?i)Taiwan))^((?!(欧|日|韩|新|美|US|SG)).)*$, check-interval=600, tolerance=0, alive-checking=false, img-url=https://raw.githubusercontent.com/Orz-3/face/master/HK.png 50 | static=网易云音乐, direct, server-tag-regex=网易云|灰色|音乐|music, img-url=https://raw.githubusercontent.com/Orz-3/face/master/Netease.png 51 | 52 | [server_remote] 53 | 54 | 55 | 56 | [filter_remote] 57 | https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Unbreak.list, tag=规则修正, update-interval=604800, opt-parser=false, enabled=true 58 | https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Guard/Privacy.list, tag=隐私保护, force-policy=reject, update-interval=604800, opt-parser=false, enabled=true 59 | https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Guard/Hijacking.list, tag=运营劫持, force-policy=reject, update-interval=604800, opt-parser=false, enabled=true 60 | https://anti-ad.net/surge2.txt, tag=Anti-ad, force-policy=reject, update-interval=172800, opt-parser=true, enabled=true 61 | https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Guard/Advertising.list, tag=广告拦截, force-policy=reject, update-interval=604800, opt-parser=false, enabled=false 62 | https://raw.githubusercontent.com/NobyDa/ND-AD/master/QuantumultX/AD_Block_Plus.txt, tag=广告拦截+, force-policy=reject, update-interval=604800, opt-parser=true, enabled=false 63 | https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/Rules/RagBag.list, tag=RagBag Rules, force-policy=direct, update-interval=172800, opt-parser=false, enabled=true 64 | #blackmatrix7广告拦截太猛了,芭芭农场异常 65 | #https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Advertising/Advertising.list, tag=广告拦截Plus, force-policy=reject, update-interval=172800, opt-parser=false, enabled=false 66 | https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/China/China.list, tag=China直连, force-policy=China, update-interval=604800, opt-parser=true, enabled=true 67 | https://raw.githubusercontent.com/Semporia/Quantumult-X/master/Filter/Tencent.list, tag=Tencent, force-policy=China, update-interval=604800, opt-parser=false, enabled=true 68 | https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Global.list, tag=Global加速, force-policy=Global, update-interval=604800, opt-parser=true, enabled=true 69 | https://gitlab.com/ddgksf2013/Cuttlefish/-/raw/master/Filter/anti-ip-attribution.list, tag=隐藏归属地IP, force-policy=China, update-interval=172800, opt-parser=false, enabled=false 70 | # 解锁网易云音乐灰色歌曲 71 | https://raw.githubusercontent.com/GeQ1an/Rules/master/QuantumultX/Filter/Optional/Netease%20Music.list, tag=网易云音乐, force-policy=网易云音乐, update-interval=2592000, opt-parser=false, enabled=false 72 | # Bilibili换区 73 | https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/StreamingMedia/StreamingSE.list, tag=港台番剧, force-policy=香港台湾, update-interval=604800, opt-parser=false, enabled=false 74 | # YouTube 75 | https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/StreamingMedia/Video/YouTube.list, tag=YouTube, force-policy=Global, update-interval=604800, opt-parser=true, enabled=false 76 | # Telegram电报 77 | https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Extra/Telegram/Telegram.list, tag=Telegram, force-policy=Global, update-interval=604800, opt-parser=true, enabled=true 78 | 79 | [rewrite_remote] 80 | # 远程重写 81 | https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/QuantumultX/AllInOne/AllInOne.conf, tag=General, update-interval=172800, opt-parser=false, enabled=true 82 | https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/QuantumultX/AdvertisingLite/AdvertisingLite.conf, tag=AdvertisingLite, update-interval=172800, opt-parser=false, enabled=true 83 | https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/Rewrite/RagBag_VIP.conf, tag=RagBag VIP, update-interval=2592000, opt-parser=true, enabled=true 84 | https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/Rewrite/RagBag_Ads.conf, tag=RagBag 去广告, update-interval=604800, opt-parser=false, enabled=true 85 | https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/Rewrite/Block_Update.conf, tag=屏蔽App更新弹窗, update-interval=172800, opt-parser=false, enabled=true 86 | https://raw.githubusercontent.com/ddgksf2013/dev/master/ForOwnUse.conf, tag=墨鱼ForOwnUse, update-interval=172800, opt-parser=false, enabled=false 87 | 88 | https://raw.githubusercontent.com/chavyleung/scripts/master/box/rewrite/boxjs.rewrite.quanx.conf, tag=BoxJS, update-interval=86400, opt-parser=false, enabled=true 89 | 阿里云盘签到.conf, tag=阿里云盘CK, update-interval=172800, opt-parser=true, enabled=false 90 | https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/Rewrite/Get_JD_Cookie.conf, tag=京东Cookie(及时关闭), update-interval=86400, opt-parser=false, enabled=false 91 | 92 | [server_local] 93 | 94 | [filter_local] 95 | #本地分流 96 | host-suffix, local, direct 97 | host-suffix, ehg-youtube.hitbox.com, reject 98 | host-keyword, merlinblog, proxy 99 | ip-cidr, 10.0.0.0/8, direct 100 | ip-cidr, 100.64.0.0/10, direct 101 | ip-cidr, 127.0.0.0/8, direct 102 | ip-cidr, 17.0.0.0/8, direct 103 | ip-cidr, 172.16.0.0/12, direct 104 | ip-cidr, 183.240.197.130/32, direct 105 | ip-cidr, 192.168.0.0/16, direct 106 | ip-cidr, 203.107.1.1/24, reject 107 | ip-cidr, 224.0.0.0/4, direct 108 | ip6-cidr, fe80::/10, direct 109 | geoip, cn, direct 110 | final, proxy 111 | 112 | [rewrite_local] 113 | #本地复写规则 114 | 115 | [task_local] 116 | 117 | 0 23 0 * * ? https://raw.githubusercontent.com/lowking/Scripts/master/ali/aliYunPanCheckIn.js, tag=阿里云盘签到, enabled=true 118 | 119 | event-interaction https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/streaming-ui-check.js, tag=流媒体 - 解锁查询, img-url=checkmark.seal.system, enabled=true 120 | 121 | [mitm] 122 | hostname = 123 | 124 | 125 | [http_backend] 126 | 127 | -------------------------------------------------------------------------------- /EnApp/KeepStyle.conf: -------------------------------------------------------------------------------- 1 | // ScriptName Keep 净化 2 | // Author @ddgksf2013 3 | // UpdateTime 2023-01-12 4 | // ScriptURL https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/EnApp/KeepStyle.conf 5 | 6 | hostname=api.gotokeep.com, kad.gotokeep.com 7 | 8 | # > 屏蔽部分启动弹窗 9 | ^https?:\/\/api\.gotokeep\.com\/kprime\/v\d\/popups\/primeGuide url reject 10 | # > 屏蔽开屏广告请求 11 | ^https?:\/\/kad\.gotokeep\.com\/op-engine-webapp\/v\d\/ad url reject 12 | # > 屏蔽青少年弹窗 13 | ^https?:\/\/api.gotokeep.com/cauchy/growth/init url reject 14 | # > 屏蔽搜索栏自动填充词 15 | ^https?:\/\/api\.gotokeep\.com\/search\/v\d\/default\/keyword\/list url reject 16 | # > 屏蔽热词 17 | ^https?:\/\/api\.gotokeep\.com\/search\/v\d\/hotword\/list url reject 18 | # > 屏蔽hotCourse 19 | ^https?:\/\/api\.gotokeep\.com\/search\/v\d\/hotCourse\/list url reject 20 | # > 屏蔽adwebapp 21 | ^https?:\/\/api\.gotokeep\.com\/op-engine-webapp\/v\d\/ad url reject 22 | # > 屏蔽广告预加载 23 | ^https?:\/\/api\.gotokeep\.com\/ads\/v\d\/ads\/preload url reject 24 | # > 屏蔽adbox 25 | ^https?:\/\/api\.gotokeep\.com\/training\/box\/config url reject 26 | # > 屏蔽更新 27 | ^https?:\/\/api\.gotokeep\.com\/anno\/v\d\/upgrade\/check url reject 28 | # > 我的页面去推广 29 | ^https?:\/\/api\.gotokeep\.com\/athena\/v\d\/people\/my$ url script-response-body https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/EnApp/keepStyle.js 30 | # > 应用底部栏净化 31 | ^https?:\/\/api\.gotokeep\.com\/config\/v\d\/basic url script-response-body https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/EnApp/keepStyle.js 32 | # > 发现页处理 33 | https://api.gotokeep.com/homepage/v\d/tab url script-response-body https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/EnApp/keepStyle.js 34 | # > 课程预览页广告 35 | https://api.gotokeep.com/nuocha/course/v2/\w+/preview url script-response-body https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/EnApp/keepStyle.js 36 | # > 我的运动页面去除下方推荐 37 | https://api.gotokeep.com/sportpage/sport/v3/mysport url script-response-body https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/EnApp/keepStyle.js 38 | -------------------------------------------------------------------------------- /EnApp/Netease.conf: -------------------------------------------------------------------------------- 1 | // ScriptName 网易云音乐 净化 2 | // Author @ddgksf2013 3 | // UpdateTime 2023-02-10 4 | // @Version V1.0.19 5 | // ScriptURL https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/EnApp/Netease.conf 6 | // 墨鱼建议 7 | // 1、进入【设置】,然后点击【底部导航自定义】,进入后可移除网易云APP下方的【播客】与【社区】tab 8 | // 2、首页滑到最底部,点击【自定义排序】,可移除【顶部横幅】card,顶部横幅里包含广告,作用也不大 9 | // 3、设置网易云音乐为青少年模式,会减少一些广告的请求,点击左上角,下滑即可看到【青少年模式】 10 | 11 | 12 | hostname = interface*.music.163.com 13 | 14 | # > 网易云_通用广告请求 15 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/ad\/ url reject-dict 16 | # > 网易云_不知道是个啥 17 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/sp\/flow url reject-dict 18 | # > 网易云_屏蔽更新 19 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/ios\/upgrade url reject-dict 20 | # > 网易云_LIKE音乐上方推广 21 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/link\/position\/show\/resource url reject-dict 22 | # > 网易云_歌单上方推广 23 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?eapi\/resource-exposure\/config url reject-dict 24 | # > 网易云_搜索框专词 25 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/search\/specialkeyword url reject-dict 26 | # > 网易云_首页右上角激励图标 27 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/link\/scene\/show\/resource url reject-dict 28 | # > 网易云_搜索框推荐 29 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/search\/default url reject-dict 30 | # > 网易云_评论区下方广告 31 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/comment\/feed\/inserted url reject-dict 32 | # > 网易云_评论回复区广告 33 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/v1\/content\/exposure\/comment url reject-dict 34 | # > 网易云_搜索页猜你喜欢[卸载重装] 35 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/search\/rcmd\/keyword url reject-dict 36 | # > 网易云_搜索框填词 37 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/search\/default\/keyword url reject-dict 38 | # > 网易云_评论区右上角 39 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/comment\/hotcomment\/collect url reject-dict 40 | # > 网易云_活动推广1 41 | ; ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/middle\/clientcfg\/config url reject-dict 42 | # > 网易云_活动推广2 43 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/resource-exposure\/activity\/config url reject-dict 44 | # > 网易云_VIP歌曲提醒框 45 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/vipcenter/tspopup\/get url reject-dict 46 | # > 网易云_搜索页下方热搜CARD[自行启用] 47 | ; ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/search\/chart url reject-dict 48 | -------------------------------------------------------------------------------- /EnApp/TaobaoBlock.js: -------------------------------------------------------------------------------- 1 | $done('{}'); 2 | -------------------------------------------------------------------------------- /EnApp/alicloud.js: -------------------------------------------------------------------------------- 1 | // ScriptName 阿里云盘净化+解锁本地会员功能[倍速、码率] 2 | // Author @ddgksf2013 3 | // UpdateTime 2023-02-16 4 | // ScriptURL https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/EnApp/alicloud.js 5 | 6 | 7 | [rewrite_local] 8 | # > 阿里云盘_首页设置@ddgksf2013 9 | ^https?:\/\/api\.aliyundrive\.com\/apps\/v\d\/users\/(apps|home)\/widgets$ url script-response-body https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/EnApp/alicloud.js 10 | # > 阿里云盘_欢迎语设置@ddgksf2013 11 | https://api.aliyundrive.com/apps/v1/users/apps/welcome url script-response-body https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/EnApp/alicloud.js 12 | # > 阿里云盘_我的页面VIP卡片@ddgksf2013 13 | https://api.aliyundrive.com/business/v1/users/me/vip/info url script-response-body https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/EnApp/alicloud.js 14 | # > 阿里云盘_我的页面处理@ddgksf2013 15 | https://member.aliyundrive.com/v1/users/tools url script-response-body https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/EnApp/alicloud.js 16 | # > 阿里云盘_我的信息@ddgksf2013 17 | https://member.aliyundrive.com/v1/users/me url script-response-body https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/EnApp/alicloud.js 18 | # > 阿里云盘_会员信息@ddgksf2013 19 | https://api.aliyundrive.com/business/v1.0/users/vip/info url script-response-body https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/EnApp/alicloud.js 20 | # > 阿里云盘_个人信息@ddgksf2013 21 | https://api.aliyundrive.com/v2/databox/get_personal_info url script-response-body https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/EnApp/alicloud.js 22 | # > 阿里云盘_列表属性@ddgksf2013 23 | https://api.aliyundrive.com/business/v1.0/users/feature/list url script-response-body https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/EnApp/alicloud.js 24 | 25 | [mitm] 26 | hostname = api.aliyundrive.com, member.aliyundrive.com 27 | -------------------------------------------------------------------------------- /EnApp/keepStyle.js: -------------------------------------------------------------------------------- 1 | /********************************************** 2 | > 应用名称:墨鱼自用Keep去广告脚本 3 | > 脚本作者:@ddgksf2013 4 | > 微信账号:墨鱼手记 5 | > 更新时间:2023-01-17 6 | **********************************************/ 7 | 8 | 9 | const version = 'V1.0.29'; 10 | 11 | 12 | if(-1!=$request.url.indexOf("people/my")){let e=JSON.parse($response.body);e.data.floatingInfo={},$done({body:JSON.stringify(e)})}else if(-1!=$request.url.indexOf("config/v3/basic")){let t=JSON.parse($response.body);t.data.bottomBarControl.defaultTab="home",t.data.bottomBarControl.tabs=Object.values(t.data.bottomBarControl.tabs).filter(e=>"home"==e.tabType||"new_sports"==e.tabType||"personal"==e.tabType),t.data.homeTabs=[{type:"homeRecommend",order:1,name:"推荐",schema:"keep://homepage/homeRecommend",showInFewDays:7,reverseSwitch:!1,default:!0},{type:"homePrime",order:2,name:"会员",schema:"keep://coursepage/homePrime",showInFewDays:7,reverseSwitch:!1,default:!1}],$done({body:JSON.stringify(t)})}else if(-1!=$request.url.indexOf("homepage/v")){let n=JSON.parse($response.body);if(n.data.sections.length>0&&"quickEntranceV3"!=n.data.sections[0].contentStyle){var a={sectionStyle:null,contentStyle:"quickEntranceV3",pageId:"",pitId:null,sectionId:null,location:"entrance",pageNum:0,moduleNum:0,bizType:null,backgroundImage:null,sectionTrackProps:{content_style:"quickEntranceV3",pageType:"homeRecommend",section_id:null,sectionTitle:"品类入口",itemDetailId:"",pageVersion:"8.0",page_index:0,page_plan_id:"",sectionPosition:0,sectionType:"categoryEntry"},moreText:null,priority:0,index:0,schema:null,title:null,subBaseSection:null,showUserSettingSwitch:!0,quickEntrances:[{itemTrackProps:{itemId:null,spm:"keep.homepage.quickEntrance.0",itemTitle:"跳绳",item_type:"smartrope",itemPosition:0},icon:"https://static1.keepcdn.com/kylin-cms/2022/12/7/20/4/553246736447566b5831396d774a726d4944386a5763754d4e7243573943632f72766b72713243377433733d/210x174_be8314bcf2ddadaa91d64df15b8179410024b0cc.png",iconInner:"https://static1.keepcdn.com/kylin-cms/2022/11/22/16/40/553246736447566b5831394749734e746f305572724d59745a4f52724b37623655326668714f45504637673d/108x108_bed15c8355030f96af69226270bcc4d508b73375.png",type:"smartrope",schema:"keep://subpage/home?categoryType=jumprope&source=page_home&isPreview=false",title:"跳绳",iconLinkFormat:null,showTimes:0,bubbleId:null,bubbleText:null,bubble:null,newBubbleId:null,showInFewDays:0},{itemTrackProps:{itemId:null,spm:"keep.homepage.quickEntrance.1",itemTitle:"跑步",item_type:"running",itemPosition:1},icon:"https://static1.keepcdn.com/kylin-cms/2022/12/7/20/1/553246736447566b58312f39463164783279354b67734b4c7958796e354f32736a2b5a7576306867512b593d/210x174_1a6d2547a58966dbdea3322795acdc2bba24e889.png",iconInner:"https://static1.keepcdn.com/infra-cms/2021/03/21/20/30/298362495336_108x108.png",type:"running",schema:"keep://homepage/running?tabId=cnVubmluZw==&style=tab&trainingTrace=categoryEntry&source=categoryEntry",title:"跑步",iconLinkFormat:null,showTimes:0,bubbleId:null,bubbleText:null,bubble:null,newBubbleId:null,showInFewDays:0},{itemTrackProps:{itemId:null,spm:"keep.homepage.quickEntrance.2",itemTitle:"行走",item_type:"hiking",itemPosition:2},icon:"https://static1.keepcdn.com/kylin-cms/2022/12/7/20/1/553246736447566b583138396362694a75476b7567306d6b373158632b4c635635713847456b56325542303d/210x174_990cd347017ad1a7ba63688b96aa64ed9b7ed824.png",iconInner:"https://static1.keepcdn.com/infra-cms/2021/03/22/10/19/79547768652_108x108.png",type:"hiking",schema:"keep://homepage/hiking?tabId=aGlraW5n&new=true&trainingTrace=categoryEntry&source=categoryEntry",title:"行走",iconLinkFormat:null,showTimes:0,bubbleId:null,bubbleText:null,bubble:null,newBubbleId:null,showInFewDays:0},{itemTrackProps:{itemId:null,spm:"keep.homepage.quickEntrance.3",itemTitle:"骑行",item_type:"cycling",itemPosition:3},icon:"https://static1.keepcdn.com/kylin-cms/2022/12/7/20/1/553246736447566b583139376d6c764e3637682b4c584c36544d45466c574e556d744f6e443257534435303d/210x174_495638b7a4224c14fde4ee5c88173b32db09c8f2.png",iconInner:"https://static1.keepcdn.com/infra-cms/2021/03/22/10/19/795794009923_108x108.png",type:"cycling",schema:"keep://homepage/cycling?tabId=Y3ljbGluZw==&new=true&trainingTrace=categoryEntry&source=categoryEntry",title:"骑行",iconLinkFormat:null,showTimes:0,bubbleId:null,bubbleText:null,bubble:null,newBubbleId:null,showInFewDays:0},{itemTrackProps:{itemId:null,spm:"keep.homepage.quickEntrance.4",itemTitle:"助眠冥想",item_type:"meditation",itemPosition:4},icon:"https://static1.keepcdn.com/kylin-cms/2022/12/7/18/38/553246736447566b58313961757053466470325955426a4353427a45627874396d4f6e5144616579646c413d/210x174_c946a5440299cc439ce103629eb9498c120c060e.png",iconInner:"https://static1.keepcdn.com/kylin-cms/2022/11/22/16/27/553246736447566b58312f45336d7949654768352f79793358552f7535797462774e78574e345a3152486f3d/108x108_0e012a0f0154208c791abd0509c5a2ae19c5d40e.png",type:"meditation",schema:"keep://subpage/home?categoryType=meditation&source=page_home&isPreview=false",title:"助眠冥想",iconLinkFormat:null,showTimes:0,bubbleId:null,bubbleText:null,bubble:null,newBubbleId:null,showInFewDays:0},{itemTrackProps:{itemId:null,spm:"keep.homepage.quickEntrance.5",itemTitle:"瑜伽",item_type:"yoga",itemPosition:5},icon:"https://static1.keepcdn.com/kylin-cms/2022/12/7/20/1/553246736447566b58312b5173386d5766432f395932726e7a5130523867676676442b463139385462514d3d/210x174_6455aa0d0da392b4dcb1ae02faa7a6de3b12b74a.png",iconInner:"https://static1.keepcdn.com/kylin-cms/2022/11/10/12/35/553246736447566b58313863714d4b313937715338352b6d653032397858705371596d4873385752486b733d/108x108_4cc973b47b99b7ba40ad7e37226c5a07e08be1ed.png",type:"yoga",schema:"keep://subpage/home?categoryType=yoga&source=home_recommend",title:"瑜伽",iconLinkFormat:null,showTimes:0,bubbleId:null,bubbleText:null,bubble:null,newBubbleId:null,showInFewDays:0},{itemTrackProps:{itemId:null,spm:"keep.homepage.quickEntrance.6",itemTitle:"塑形训练",item_type:"bodybuilding",itemPosition:6},icon:"https://static1.keepcdn.com/kylin-cms/2022/12/7/20/2/553246736447566b58313848692f6245626c4c72764d4e6b2b3948727a44784a727857427a6b7a326a616b3d/210x174_9537eca338eda8e0d51c40e63378d73743ae2e39.png",iconInner:"https://static1.keepcdn.com/kylin-cms/2022/11/22/16/45/553246736447566b58313843613174565a6962313166665a5666366770765342447368786a4c61377879673d/108x108_b9315d9c9915931c8bdfddbeed40b8c1b7410fa6.png",type:"bodybuilding",schema:"keep://subpage/home?categoryType=bodybuilding&source=page_home&isPreview=false",title:"塑形训练",iconLinkFormat:null,showTimes:0,bubbleId:null,bubbleText:null,bubble:null,newBubbleId:null,showInFewDays:0},{itemTrackProps:{itemId:null,spm:"keep.homepage.quickEntrance.7",itemTitle:"趣味课",item_type:"games",itemPosition:7},icon:"https://static1.keepcdn.com/kylin-cms/2022/12/7/20/15/553246736447566b58312b6a326a4432784770777256325373413073464168336753746159436c364f70453d/210x174_efc0141893630618ab491c34999b5b64506ee721.png",iconInner:"https://static1.keepcdn.com/infra-cms/2022/8/26/16/13/553246736447566b58313956386b78707053647a4869527078506d3863736f4c5771557433436445556b673d/108x108_17b1fb9c0175415962aa4582a9deb9baeac0a663.png",type:"games",schema:"https://m.gotokeep.com/live-activity/games/center?fullscreen=true&source=home_quickStart",title:"趣味课",iconLinkFormat:null,showTimes:0,bubbleId:null,bubbleText:null,bubble:null,newBubbleId:null,showInFewDays:0},{itemTrackProps:{itemId:null,spm:"keep.homepage.quickEntrance.8",itemTitle:"呼啦圈",item_type:"smarthulahoop",itemPosition:8},icon:"https://static1.keepcdn.com/kylin-cms/2022/11/22/16/50/553246736447566b58312b436f7931697352694a32653235597378695a39677533515a7630485a556345383d/210x174_d09af7f584c060e3bf20f5713382fb4e502993db.png",iconInner:"https://static1.keepcdn.com/kylin-cms/2022/11/22/16/50/553246736447566b58312b64724d4c6a536d65436f5736434162693172694f6273336268564c355350634d3d/108x108_eb24e19577e617b521363b73363cfc85affa0616.png",type:"smarthulahoop",schema:"keep://subpage/home?categoryType=hulahoop&source=page_home&isPreview=false",title:"呼啦圈",iconLinkFormat:null,showTimes:0,bubbleId:null,bubbleText:null,bubble:null,newBubbleId:null,showInFewDays:0},{itemTrackProps:{itemId:null,spm:"keep.homepage.quickEntrance.9",itemTitle:"跑步机",item_type:"keloton",itemPosition:9},icon:"https://static1.keepcdn.com/kylin-cms/2022/12/7/20/5/553246736447566b583138546267467857467a5134322b77685252514656662b504351395278655a6c41513d/210x174_f146aad28baf15d9a967507fb6e8b92cb647a105.png",iconInner:"https://static1.keepcdn.com/infra-cms/2021/03/22/10/20/79638592490_108x108.png",type:"keloton",schema:"keep://homepage/keloton?tabId=keloton",title:"跑步机",iconLinkFormat:null,showTimes:0,bubbleId:null,bubbleText:null,bubble:null,newBubbleId:null,showInFewDays:0},{itemTrackProps:{itemId:null,spm:"keep.homepage.quickEntrance.10",itemTitle:"动感单车",item_type:"puncheur",itemPosition:10},icon:"https://static1.keepcdn.com/kylin-cms/2022/12/7/20/5/553246736447566b58313855655a534a706f48447154597675417570646e466c64694337715968325374553d/210x174_d9682832608569e7bfdf8e099a6a4fb271cdd814.png",iconInner:"https://static1.keepcdn.com/infra-cms/2022/4/1/16/36/79214849d54a4c4df7830379af74a37bbe952e55_108x108_9e25f3e357ad724a7b06ca568472c181876cb773.png",type:"puncheur",schema:"keep://homepage/puncheur?tabId=puncheur",title:"动感单车",iconLinkFormat:null,showTimes:0,bubbleId:null,bubbleText:null,bubble:null,newBubbleId:null,showInFewDays:0},{itemTrackProps:{itemId:null,spm:"keep.homepage.quickEntrance.11",itemTitle:"椭圆机",item_type:"elliptical",itemPosition:11},icon:"https://static1.keepcdn.com/kylin-cms/2022/12/7/20/5/553246736447566b58312b62724c324c6a643154702f50654447626636676b526262636f5651504f52746b3d/210x174_777c3a7262a4390e851fb1c0005540f824149ac4.png",iconInner:"https://static1.keepcdn.com/infra-cms/2022/4/1/16/34/79214849d54a4c4df7830379af74a37bbe952e55_108x108_93972c09e24276111935364f32f58da9f0b6dfd0.png",type:"elliptical",schema:"keep://koval/main",title:"椭圆机",iconLinkFormat:null,showTimes:0,bubbleId:null,bubbleText:null,bubble:null,newBubbleId:null,showInFewDays:0},{itemTrackProps:{itemId:null,spm:"keep.homepage.quickEntrance.12",itemTitle:"健走机",item_type:"walkman",itemPosition:12},icon:"https://static1.keepcdn.com/kylin-cms/2022/12/7/20/6/553246736447566b58312b7a43783335705a5257533431356c61475a76416f2f4a30647a7a47584235636f3d/210x174_31eab9bbbc0c46611911645b7a04e4007752bfe9.png",iconInner:"https://static1.keepcdn.com/infra-cms/2021/03/23/11/40/708221831818_108x108.png",type:"walkman",schema:"keep://homepage/walkman?tabId=walkman",title:"健走机",iconLinkFormat:null,showTimes:0,bubbleId:null,bubbleText:null,bubble:null,newBubbleId:null,showInFewDays:0},{itemTrackProps:{itemId:null,spm:"keep.homepage.quickEntrance.13",itemTitle:"练器械",item_type:"equipment_class",itemPosition:13},icon:"https://static1.keepcdn.com/kylin-cms/2022/12/7/20/6/553246736447566b58313948413149376f6d4d4f3065575338374d50716261744f544867773448496b726b3d/210x174_eb833711c3e4896f61dcb636bf0381266e3b4db5.png",iconInner:"https://static1.keepcdn.com/infra-cms/2021/8/20/11/53/79214849d54a4c4df7830379af74a37bbe952e55_108x108_9e353657a04c932a7c07e8221d3ef6d09be02989.png",type:"equipment_class",schema:"keep://equipment/equipment_training",title:"练器械",iconLinkFormat:null,showTimes:0,bubbleId:null,bubbleText:null,bubble:null,newBubbleId:null,showInFewDays:0},{itemTrackProps:{itemId:null,spm:"keep.homepage.quickEntrance.14",itemTitle:"Keepland",item_type:"uni_web_keepland",itemPosition:14},icon:"https://static1.keepcdn.com/kylin-cms/2022/12/7/20/7/553246736447566b58313848583836333869584239486c564552317272753876574a43345445306b632f773d/210x174_af8fa993c3b4c33a073d99f791748b3f44a623b2.png",iconInner:"https://static1.keepcdn.com/infra-cms/2021/03/21/20/29/297988776391_108x108.png",type:"uni_web_keepland",schema:"https://keepland.gotokeep.com?kpwebbarcolor=0xffffff&kpwebbtntitlecolor=0x584F60",title:"Keepland",iconLinkFormat:null,showTimes:0,bubbleId:null,bubbleText:null,bubble:null,newBubbleId:null,showInFewDays:0}]};n.data.sections.unshift(a)}$done({body:JSON.stringify(n)})}else if(-1!=$request.url.indexOf("preview")){let i=JSON.parse($response.body);i.data.detailSections=Object.values(i.data.detailSections).filter(e=>"recommendation"!=e.sectionType),$done({body:JSON.stringify(i)})}else if(-1!=$request.url.indexOf("sportpage/sport/v3/mysport")){let l=JSON.parse($response.body);l.data.sections&&delete l.data.sections,$done({body:JSON.stringify(l)})}else $done(); 13 | -------------------------------------------------------------------------------- /JD/JD_bean_change.js: -------------------------------------------------------------------------------- 1 | /****************** 2 | 3 | 京东资产变动通知脚本 4 | 更新时间: 2021-06-09 5 | 统计昨日京豆的变化情况,包括收入,支出,以及显示当前京豆数量,统计红包以及过期红包 6 | 网页查看地址 : https://bean.m.jd.com/beanDetail/index.action?resourceValue=bean 7 | ============QuantumultX============== 8 | [task_local] 9 | #京东资产变动通知 10 | 2 9 * * * jd_bean_change.js, tag=京东资产变动通知, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/jd.png, enabled=true 11 | ===================================== 12 | 13 | ******************/ 14 | 15 | 16 | const $ = new Env('京东资产变动通知'); 17 | const notify = $.isNode() ? require('./sendNotify') : ''; 18 | //Node.js用户请在jdCookie.js处填写京东ck; 19 | const jdCookieNode = $.isNode() ? require('./jdCookie.js') : ''; 20 | let allMessage = ''; 21 | const ua = $.isNode() 22 | ? process.env.JD_USER_AGENT 23 | ? process.env.JD_USER_AGENT 24 | : require('./USER_AGENTS').USER_AGENT 25 | : $.getdata('JDUA') 26 | ? $.getdata('JDUA') 27 | : 'jdapp;iPhone;9.4.4;14.3;network/4g;Mozilla/5.0 (iPhone; CPU iPhone OS 14_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148;supportJDSHWK/1'; 28 | 29 | //IOS等用户直接用NobyDa的jd cookie 30 | let cookiesArr = [], 31 | cookie = ''; 32 | if ($.isNode()) { 33 | Object.keys(jdCookieNode).forEach((item) => { 34 | cookiesArr.push(jdCookieNode[item]); 35 | }); 36 | if (process.env.JD_DEBUG && process.env.JD_DEBUG === 'false') 37 | console.log = () => {}; 38 | } else { 39 | cookiesArr = [ 40 | $.getdata('CookieJD'), 41 | $.getdata('CookieJD2'), 42 | ...jsonParse($.getdata('CookiesJD') || '[]').map((item) => item.cookie), 43 | ].filter((item) => !!item); 44 | } 45 | !(async () => { 46 | if (!cookiesArr[0]) { 47 | $.msg( 48 | $.name, 49 | '【提示】请先获取京东账号一cookie\n直接使用NobyDa的京东签到获取', 50 | 'https://bean.m.jd.com/bean/signIndex.action', 51 | { 'open-url': 'https://bean.m.jd.com/bean/signIndex.action' }, 52 | ); 53 | return; 54 | } 55 | for (let i = 0; i < cookiesArr.length; i++) { 56 | if (cookiesArr[i]) { 57 | cookie = cookiesArr[i]; 58 | $.UserName = decodeURIComponent( 59 | cookie.match(/pt_pin=([^; ]+)(?=;?)/) && 60 | cookie.match(/pt_pin=([^; ]+)(?=;?)/)[1], 61 | ); 62 | $.index = i + 1; 63 | $.beanCount = 0; 64 | $.incomeBean = 0; 65 | $.expenseBean = 0; 66 | $.todayIncomeBean = 0; 67 | $.errorMsg = ''; 68 | $.isLogin = true; 69 | $.nickName = ''; 70 | $.message = ''; 71 | $.balance = 0; 72 | $.expiredBalance = 0; 73 | 74 | $.pet = ''; // 东东萌宠 75 | $.fruit = ''; // 东东农场 76 | $.egg = ''; // 京喜牧场 77 | await TotalBean(); 78 | console.log( 79 | `\n********开始【京东账号${$.index}】${ 80 | $.nickName || $.UserName 81 | }******\n`, 82 | ); 83 | if (!$.isLogin) { 84 | $.msg( 85 | $.name, 86 | `【提示】cookie已失效`, 87 | `京东账号${$.index} ${ 88 | $.nickName || $.UserName 89 | }\n请重新登录获取\nhttps://bean.m.jd.com/bean/signIndex.action`, 90 | { 'open-url': 'https://bean.m.jd.com/bean/signIndex.action' }, 91 | ); 92 | 93 | if ($.isNode()) { 94 | await notify.sendNotify( 95 | `${$.name}cookie已失效 - ${$.UserName}`, 96 | `京东账号${$.index} ${$.UserName}\n请重新登录获取cookie`, 97 | ); 98 | } 99 | continue; 100 | } 101 | await bean(); 102 | await showMsg(); 103 | } 104 | } 105 | 106 | if ($.isNode() && allMessage) { 107 | await notify.sendNotify(`${$.name}`, `${allMessage}`, { 108 | url: `https://bean.m.jd.com/beanDetail/index.action?resourceValue=bean`, 109 | }); 110 | } 111 | })() 112 | .catch((e) => { 113 | $.log('', `❌ ${$.name}, 失败! 原因: ${e}!`, ''); 114 | }) 115 | .finally(() => { 116 | $.done(); 117 | }); 118 | async function showMsg() { 119 | if ($.errorMsg) return; 120 | let notifyMsg = ` 121 | 账号${$.index}:${$.nickName || $.UserName} 122 | 今日收入:${$.todayIncomeBean}京豆 123 | 昨日收入:${$.incomeBean}京豆 124 | 昨日支出:${$.expenseBean}京豆 125 | 当前京豆:${$.beanCount}(今日过期${$.expirejingdou})${$.message}`; 126 | if ($.pet) notifyMsg += `\n东东萌宠:${$.pet}`; 127 | if ($.fruit) notifyMsg += `\n东东农场:${$.fruit}`; 128 | if ($.egg) notifyMsg += `\n京喜牧场:${$.egg}`; 129 | allMessage += notifyMsg; 130 | $.msg($.name, '', notifyMsg, { 131 | 'open-url': 132 | 'https://bean.m.jd.com/beanDetail/index.action?resourceValue=bean', 133 | }); 134 | } 135 | async function bean() { 136 | // console.log(`北京时间零点时间戳:${parseInt((Date.now() + 28800000) / 86400000) * 86400000 - 28800000}`); 137 | // console.log(`北京时间2020-10-28 06:16:05::${new Date("2020/10/28 06:16:05+08:00").getTime()}`) 138 | // 不管哪个时区。得到都是当前时刻北京时间的时间戳 new Date().getTime() + new Date().getTimezoneOffset()*60*1000 + 8*60*60*1000 139 | 140 | //前一天的0:0:0时间戳 141 | const tm = 142 | parseInt((Date.now() + 28800000) / 86400000) * 86400000 - 143 | 28800000 - 144 | 24 * 60 * 60 * 1000; 145 | // 今天0:0:0时间戳 146 | const tm1 = 147 | parseInt((Date.now() + 28800000) / 86400000) * 86400000 - 28800000; 148 | let page = 1, 149 | t = 0, 150 | yesterdayArr = [], 151 | todayArr = []; 152 | do { 153 | let response = await getJingBeanBalanceDetail(page); 154 | // console.log(`第${page}页: ${JSON.stringify(response)}`); 155 | if (response && response.code === '0') { 156 | page++; 157 | let detailList = response.detailList; 158 | if (detailList && detailList.length > 0) { 159 | for (let item of detailList) { 160 | const date = item.date.replace(/-/g, '/') + '+08:00'; 161 | if ( 162 | new Date(date).getTime() >= tm1 && 163 | !item['eventMassage'].includes('退还') && 164 | !item['eventMassage'].includes('扣赠') 165 | ) { 166 | todayArr.push(item); 167 | } else if ( 168 | tm <= new Date(date).getTime() && 169 | new Date(date).getTime() < tm1 && 170 | !item['eventMassage'].includes('退还') && 171 | !item['eventMassage'].includes('扣赠') 172 | ) { 173 | //昨日的 174 | yesterdayArr.push(item); 175 | } else if (tm > new Date(date).getTime()) { 176 | //前天的 177 | t = 1; 178 | break; 179 | } 180 | } 181 | } else { 182 | $.errorMsg = `数据异常`; 183 | $.msg($.name, ``, `账号${$.index}:${$.nickName}\n${$.errorMsg}`); 184 | t = 1; 185 | } 186 | } else if (response && response.code === '3') { 187 | console.log(`cookie已过期,或者填写不规范,跳出`); 188 | t = 1; 189 | } else { 190 | console.log(`未知情况:${JSON.stringify(response)}`); 191 | console.log(`未知情况,跳出`); 192 | t = 1; 193 | } 194 | } while (t === 0); 195 | for (let item of yesterdayArr) { 196 | if (Number(item.amount) > 0) { 197 | $.incomeBean += Number(item.amount); 198 | } else if (Number(item.amount) < 0) { 199 | $.expenseBean += Number(item.amount); 200 | } 201 | } 202 | for (let item of todayArr) { 203 | if (Number(item.amount) > 0) { 204 | $.todayIncomeBean += Number(item.amount); 205 | } 206 | } 207 | await queryexpirejingdou(); //过期京豆 208 | await redPacket(); //过期红包 209 | await initPetTown(); 210 | await initFarm(); 211 | await jxncEgg(); 212 | 213 | // await jdzz(); 214 | // console.log(`昨日收入:${$.incomeBean}个京豆 `); 215 | // console.log(`昨日支出:${$.expenseBean}个京豆 `) 216 | } 217 | function TotalBean() { 218 | return new Promise(async (resolve) => { 219 | const options = { 220 | url: 'https://me-api.jd.com/user_new/info/GetJDUserInfoUnion', 221 | headers: { 222 | Host: 'me-api.jd.com', 223 | Accept: '*/*', 224 | Connection: 'keep-alive', 225 | Cookie: cookie, 226 | 'User-Agent': ua, 227 | 'Accept-Language': 'zh-cn', 228 | Referer: 'https://home.m.jd.com/myJd/newhome.action?sceneval=2&ufc=&', 229 | 'Accept-Encoding': 'gzip, deflate, br', 230 | }, 231 | }; 232 | $.get(options, (err, resp, data) => { 233 | try { 234 | if (err) { 235 | $.logErr(err); 236 | } else { 237 | if (data) { 238 | data = JSON.parse(data); 239 | if (data['retcode'] === '1001') { 240 | $.isLogin = false; //cookie过期 241 | return; 242 | } 243 | if ( 244 | data['retcode'] === '0' && 245 | data.data && 246 | data.data.hasOwnProperty('userInfo') 247 | ) { 248 | $.nickName = data.data.userInfo.baseInfo.nickname; 249 | } 250 | if ( 251 | data['retcode'] === '0' && 252 | data.data && 253 | data.data['assetInfo'] 254 | ) { 255 | $.beanCount = data.data && data.data['assetInfo']['beanNum']; 256 | } 257 | } else { 258 | $.log('京东服务器返回空数据'); 259 | } 260 | } 261 | } catch (e) { 262 | $.logErr(e); 263 | } finally { 264 | resolve(); 265 | } 266 | }); 267 | }); 268 | } 269 | function getJingBeanBalanceDetail(page) { 270 | return new Promise(async (resolve) => { 271 | const options = { 272 | url: `https://api.m.jd.com/client.action?functionId=getJingBeanBalanceDetail`, 273 | body: `body=${escape( 274 | JSON.stringify({ pageSize: '20', page: page.toString() }), 275 | )}&appid=ld`, 276 | headers: { 277 | 'User-Agent': ua, 278 | Host: 'api.m.jd.com', 279 | 'Content-Type': 'application/x-www-form-urlencoded', 280 | Cookie: cookie, 281 | }, 282 | }; 283 | $.post(options, (err, resp, data) => { 284 | try { 285 | if (err) { 286 | console.log(`${JSON.stringify(err)}`); 287 | console.log(`${$.name} API请求失败,请检查网路重试`); 288 | } else { 289 | if (data) { 290 | data = JSON.parse(data); 291 | // console.log(data) 292 | } else { 293 | console.log(`京东服务器返回空数据`); 294 | } 295 | } 296 | } catch (e) { 297 | $.logErr(e, resp); 298 | } finally { 299 | resolve(data); 300 | } 301 | }); 302 | }); 303 | } 304 | function queryexpirejingdou() { 305 | return new Promise(async (resolve) => { 306 | const options = { 307 | url: `https://wq.jd.com/activep3/singjd/queryexpirejingdou?_=${Date.now()}&g_login_type=1&sceneval=2`, 308 | headers: { 309 | Accept: '*/*', 310 | 'Accept-Encoding': 'gzip, deflate, br', 311 | 'Accept-Language': 'zh-cn', 312 | Connection: 'keep-alive', 313 | Cookie: cookie, 314 | Host: 'wq.jd.com', 315 | Referer: 'https://wqs.jd.com/promote/201801/bean/mybean.html', 316 | 'User-Agent': 317 | 'Mozilla/5.0 (iPhone; CPU iPhone OS 14_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.1 Mobile/15E148 Safari/604.1', 318 | }, 319 | }; 320 | $.expirejingdou = 0; 321 | $.get(options, (err, resp, data) => { 322 | try { 323 | if (err) { 324 | console.log(`${JSON.stringify(err)}`); 325 | console.log(`${$.name} API请求失败,请检查网路重试`); 326 | } else { 327 | if (data) { 328 | // console.log(data) 329 | data = JSON.parse(data.slice(23, -13)); 330 | // console.log(data) 331 | if (data.ret === 0) { 332 | data['expirejingdou'].map((item) => { 333 | console.log( 334 | `${timeFormat(item['time'] * 1000)}日过期京豆:${ 335 | item['expireamount'] 336 | }\n`, 337 | ); 338 | }); 339 | $.expirejingdou = data['expirejingdou'][0]['expireamount']; 340 | // if ($.expirejingdou > 0) { 341 | // $.message += `\n今日将过期:${$.expirejingdou}京豆 `; 342 | // } 343 | } 344 | } else { 345 | console.log(`京东服务器返回空数据`); 346 | } 347 | } 348 | } catch (e) { 349 | $.logErr(e, resp); 350 | } finally { 351 | resolve(); 352 | } 353 | }); 354 | }); 355 | } 356 | function redPacket() { 357 | return new Promise(async (resolve) => { 358 | const options = { 359 | url: `https://m.jingxi.com/user/info/QueryUserRedEnvelopesV2?type=1&orgFlag=JD_PinGou_New&page=1&cashRedType=1&redBalanceFlag=1&channel=1&_=${+new Date()}&sceneval=2&g_login_type=1&g_ty=ls`, 360 | headers: { 361 | Host: 'm.jingxi.com', 362 | Accept: '*/*', 363 | Connection: 'keep-alive', 364 | 'Accept-Language': 'zh-cn', 365 | Referer: 366 | 'https://st.jingxi.com/my/redpacket.shtml?newPg=App&jxsid=16156262265849285961', 367 | 'Accept-Encoding': 'gzip, deflate, br', 368 | Cookie: cookie, 369 | 'User-Agent': ua, 370 | }, 371 | }; 372 | $.get(options, (err, resp, data) => { 373 | try { 374 | if (err) { 375 | console.log(`${JSON.stringify(err)}`); 376 | console.log(`${$.name} API请求失败,请检查网路重试`); 377 | } else { 378 | if (data) { 379 | data = JSON.parse(data).data; 380 | ($.jxRed = 0), 381 | ($.jsRed = 0), 382 | ($.jdRed = 0), 383 | ($.jdhRed = 0), 384 | ($.jxRedExpire = 0), 385 | ($.jsRedExpire = 0), 386 | ($.jdRedExpire = 0), 387 | ($.jdhRedExpire = 0); 388 | let t = new Date(); 389 | t.setDate(t.getDate() + 1); 390 | t.setHours(0, 0, 0, 0); 391 | t = parseInt((t - 1) / 1000); 392 | for (let vo of data.useRedInfo.redList || []) { 393 | if (vo.orgLimitStr && vo.orgLimitStr.includes('京喜')) { 394 | $.jxRed += parseFloat(vo.balance); 395 | if (vo['endTime'] === t) { 396 | $.jxRedExpire += parseFloat(vo.balance); 397 | } 398 | } else if (vo.activityName.includes('极速版')) { 399 | $.jsRed += parseFloat(vo.balance); 400 | if (vo['endTime'] === t) { 401 | $.jsRedExpire += parseFloat(vo.balance); 402 | } 403 | } else if ( 404 | vo.orgLimitStr && 405 | vo.orgLimitStr.includes('京东健康') 406 | ) { 407 | $.jdhRed += parseFloat(vo.balance); 408 | if (vo['endTime'] === t) { 409 | $.jdhRedExpire += parseFloat(vo.balance); 410 | } 411 | } else { 412 | $.jdRed += parseFloat(vo.balance); 413 | if (vo['endTime'] === t) { 414 | $.jdRedExpire += parseFloat(vo.balance); 415 | } 416 | } 417 | } 418 | $.jxRed = $.jxRed.toFixed(2); 419 | $.jsRed = $.jsRed.toFixed(2); 420 | $.jdRed = $.jdRed.toFixed(2); 421 | $.jdhRed = $.jdhRed.toFixed(2); 422 | $.balance = data.balance; 423 | $.expiredBalance = ( 424 | $.jxRedExpire + 425 | $.jsRedExpire + 426 | $.jdRedExpire 427 | ).toFixed(2); 428 | $.message += `\n当前红包:${$.balance}(今日过期${ 429 | $.expiredBalance 430 | })元 \n京喜红包:${$.jxRed}(今日过期${$.jxRedExpire.toFixed( 431 | 2, 432 | )})元 \n极速红包:${$.jsRed}(今日过期${$.jsRedExpire.toFixed( 433 | 2, 434 | )})元 \n京东红包:${$.jdRed}(今日过期${$.jdRedExpire.toFixed( 435 | 2, 436 | )})元 \n健康红包:${$.jdhRed}(今日过期${$.jdhRedExpire.toFixed( 437 | 2, 438 | )})元 `; 439 | } else { 440 | console.log(`京东服务器返回空数据`); 441 | } 442 | } 443 | } catch (e) { 444 | $.logErr(e, resp); 445 | } finally { 446 | resolve(data); 447 | } 448 | }); 449 | }); 450 | } 451 | 452 | function jxncEgg() { 453 | const option = { 454 | url: `https://m.jingxi.com/jxmc/queryservice/GetHomePageInfo?channel=7&sceneid=1001&activeid=null&activekey=null&isgift=1&isquerypicksite=1&_stk=activeid%2Cactivekey%2Cchannel%2Cisgift%2Cisquerypicksite%2Csceneid&_ste=1&h5st=20210818211830955%3B4408816258824161%3B10028%3Btk01w8db21b2130ny2eg0siAPpNQgBqjGzYfuG6IP7Z%2BAOB40BiqLQ%2Blglfi540AB%2FaQrTduHbnk61ngEeKn813gFeRD%3Bd9a0b833bf99a29ed726cbffa07ba955cc27d1ff7d2d55552878fc18fc667929&_=1629292710957&sceneval=2&g_login_type=1&g_ty=ls`, 455 | headers: { 456 | 'User-Agent': ua, 457 | Host: 'm.jingxi.com', 458 | Accept: '*/*', 459 | Connection: 'keep-alive', 460 | 'Accept-Language': 'zh-cn', 461 | Referer: 462 | 'https://st.jingxi.com/pingou/jxmc/index.html?nativeConfig=%7B%22immersion%22%3A1%2C%22toColor%22%3A%22%23e62e0f%22%7D&;__mcwvt=sjcp&ptag=7155.9.95', 463 | 'Accept-Encoding': 'gzip, deflate, br', 464 | Cookie: cookie, 465 | }, 466 | }; 467 | 468 | return new Promise((resolve) => { 469 | $.get(option, (err, resp, data) => { 470 | try { 471 | if (err) { 472 | console.log(`${JSON.stringify(err)}`); 473 | console.log(`${$.name} API请求失败,请检查网路重试`); 474 | } else { 475 | if (data) { 476 | data = JSON.parse(data); 477 | if (data.ret === 0) { 478 | if (data.data.eggcnt) { 479 | $.egg = data.data.eggcnt; 480 | } else { 481 | $.egg = '请手动开启活动'; 482 | } 483 | } else { 484 | $.egg = '数据异常'; 485 | } 486 | console.log(data); 487 | } 488 | } 489 | } catch (e) { 490 | $.logErr(e, resp); 491 | } finally { 492 | resolve(data); 493 | } 494 | }); 495 | }); 496 | } 497 | 498 | function initPetTown() { 499 | const option = { 500 | url: `https://api.m.jd.com/client.action?functionId=initPetTown`, 501 | headers: { 502 | 'User-Agent': ua, 503 | Host: 'api.m.jd.com', 504 | Accept: '*/*', 505 | Connection: 'keep-alive', 506 | 'Accept-Language': 'zh-cn', 507 | Referer: 'http://wq.jd.com/wxapp/pages/hd-interaction/index/index', 508 | 'Accept-Encoding': 'gzip, deflate, br', 509 | 'Content-Type': 'application/x-www-form-urlencoded', 510 | Cookie: cookie, 511 | }, 512 | body: `body={}&appid=wh5&loginWQBiz=pet-town&clientVersion=9.0.4`, 513 | }; 514 | return new Promise((resolve) => { 515 | $.post(option, (err, resp, data) => { 516 | try { 517 | if (err) { 518 | console.log(`${JSON.stringify(err)}`); 519 | console.log(`${$.name} API请求失败,请检查网路重试`); 520 | } else { 521 | if (data) { 522 | data = JSON.parse(data); 523 | console.log(data); 524 | if ( 525 | data.code === '0' && 526 | data.message === 'success' && 527 | data.resultCode === '0' 528 | ) { 529 | const result = data.result; 530 | if (result.userStatus === 0) { 531 | $.pet = '请手动开启活动'; 532 | } else if (!result.goodsInfo.goodsName) { 533 | $.pet = '你忘了选购新的商品'; 534 | } else if (result.petStatus === 5) { 535 | $.pet = `${result.goodsInfo.goodsName}已可领取`; 536 | } else if (result.petStatus === 6) { 537 | $.pet = `${result.goodsInfo.goodsName}未继续领养新的物品`; 538 | } else { 539 | $.pet = `领养中,进度${result.medalPercent}%,勋章${result.medalNum}/${result.goodsInfo.exchangeMedalNum}`; 540 | } 541 | } else { 542 | $.pet = '数据异常'; 543 | } 544 | } 545 | } 546 | } catch (e) { 547 | $.logErr(e, resp); 548 | } finally { 549 | resolve(data); 550 | } 551 | }); 552 | }); 553 | } 554 | 555 | function initFarm() { 556 | const option = { 557 | url: `https://api.m.jd.com/client.action?functionId=initForFarm`, 558 | headers: { 559 | 'User-Agent': ua, 560 | Host: 'api.m.jd.com', 561 | Accept: '*/*', 562 | Connection: 'keep-alive', 563 | 'Accept-Language': 'zh-cn', 564 | Referer: 'https://home.m.jd.com/myJd/newhome.action', 565 | 'Accept-Encoding': 'gzip, deflate, br', 566 | 'Content-Type': 'application/x-www-form-urlencoded', 567 | Cookie: cookie, 568 | }, 569 | body: `body={"version":4}&appid=wh5&clientVersion=9.1.0`, 570 | }; 571 | return new Promise((resolve) => { 572 | $.post(option, (err, resp, data) => { 573 | try { 574 | if (err) { 575 | console.log(`${JSON.stringify(err)}`); 576 | console.log(`${$.name} API请求失败,请检查网路重试`); 577 | } else { 578 | if (data) { 579 | data = JSON.parse(data); 580 | const farmUserPro = data.farmUserPro; 581 | if (data.code === '0' && farmUserPro.name) { 582 | if (data.treeState === 2 || data.treeState === 3) { 583 | $.fruit = '已可领取'; 584 | } else if (data.treeState === 1) { 585 | $.fruit = `种植中,进度${( 586 | (farmUserPro.treeEnergy / farmUserPro.treeTotalEnergy) * 587 | 100 588 | ).toFixed(2)}%🍒`; 589 | } else if (data.treeState === 0) { 590 | $.fruit = '您忘了种植新的水果'; 591 | } 592 | } else { 593 | $.fruit = '数据异常'; 594 | } 595 | } 596 | } 597 | } catch (e) { 598 | $.logErr(e, resp); 599 | } finally { 600 | resolve(data); 601 | } 602 | }); 603 | }); 604 | } 605 | 606 | function jsonParse(str) { 607 | if (typeof str == 'string') { 608 | try { 609 | return JSON.parse(str); 610 | } catch (e) { 611 | console.log(e); 612 | $.msg( 613 | $.name, 614 | '', 615 | '请勿随意在BoxJs输入框修改内容\n建议通过脚本去获取cookie', 616 | ); 617 | return []; 618 | } 619 | } 620 | } 621 | function timeFormat(time) { 622 | let date; 623 | if (time) { 624 | date = new Date(time); 625 | } else { 626 | date = new Date(); 627 | } 628 | return ( 629 | date.getFullYear() + 630 | '-' + 631 | (date.getMonth() + 1 >= 10 632 | ? date.getMonth() + 1 633 | : '0' + (date.getMonth() + 1)) + 634 | '-' + 635 | (date.getDate() >= 10 ? date.getDate() : '0' + date.getDate()) 636 | ); 637 | } 638 | // prettier-ignore 639 | function Env(t,e){"undefined"!=typeof process&&JSON.stringify(process.env).indexOf("GITHUB")>-1&&process.exit(0);class s{constructor(t){this.env=t}send(t,e="GET"){t="string"==typeof t?{url:t}:t;let s=this.get;return"POST"===e&&(s=this.post),new Promise((e,i)=>{s.call(this,t,(t,s,r)=>{t?i(t):e(s)})})}get(t){return this.send.call(this.env,t)}post(t){return this.send.call(this.env,t,"POST")}}return new class{constructor(t,e){this.name=t,this.http=new s(this),this.data=null,this.dataFile="box.dat",this.logs=[],this.isMute=!1,this.isNeedRewrite=!1,this.logSeparator="\n",this.startTime=(new Date).getTime(),Object.assign(this,e),this.log("",`${this.name}, 开始!`)}isNode(){return"undefined"!=typeof module&&!!module.exports}isQuanX(){return"undefined"!=typeof $task}isSurge(){return"undefined"!=typeof $httpClient&&"undefined"==typeof $loon}isLoon(){return"undefined"!=typeof $loon}toObj(t,e=null){try{return JSON.parse(t)}catch{return e}}toStr(t,e=null){try{return JSON.stringify(t)}catch{return e}}getjson(t,e){let s=e;const i=this.getdata(t);if(i)try{s=JSON.parse(this.getdata(t))}catch{}return s}setjson(t,e){try{return this.setdata(JSON.stringify(t),e)}catch{return!1}}getScript(t){return new Promise(e=>{this.get({url:t},(t,s,i)=>e(i))})}runScript(t,e){return new Promise(s=>{let i=this.getdata("@chavy_boxjs_userCfgs.httpapi");i=i?i.replace(/\n/g,"").trim():i;let r=this.getdata("@chavy_boxjs_userCfgs.httpapi_timeout");r=r?1*r:20,r=e&&e.timeout?e.timeout:r;const[o,h]=i.split("@"),n={url:`http://${h}/v1/scripting/evaluate`,body:{script_text:t,mock_type:"cron",timeout:r},headers:{"X-Key":o,Accept:"*/*"}};this.post(n,(t,e,i)=>s(i))}).catch(t=>this.logErr(t))}loaddata(){if(!this.isNode())return{};{this.fs=this.fs?this.fs:require("fs"),this.path=this.path?this.path:require("path");const t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),s=this.fs.existsSync(t),i=!s&&this.fs.existsSync(e);if(!s&&!i)return{};{const i=s?t:e;try{return JSON.parse(this.fs.readFileSync(i))}catch(t){return{}}}}}writedata(){if(this.isNode()){this.fs=this.fs?this.fs:require("fs"),this.path=this.path?this.path:require("path");const t=this.path.resolve(this.dataFile),e=this.path.resolve(process.cwd(),this.dataFile),s=this.fs.existsSync(t),i=!s&&this.fs.existsSync(e),r=JSON.stringify(this.data);s?this.fs.writeFileSync(t,r):i?this.fs.writeFileSync(e,r):this.fs.writeFileSync(t,r)}}lodash_get(t,e,s){const i=e.replace(/\[(\d+)\]/g,".$1").split(".");let r=t;for(const t of i)if(r=Object(r)[t],void 0===r)return s;return r}lodash_set(t,e,s){return Object(t)!==t?t:(Array.isArray(e)||(e=e.toString().match(/[^.[\]]+/g)||[]),e.slice(0,-1).reduce((t,s,i)=>Object(t[s])===t[s]?t[s]:t[s]=Math.abs(e[i+1])>>0==+e[i+1]?[]:{},t)[e[e.length-1]]=s,t)}getdata(t){let e=this.getval(t);if(/^@/.test(t)){const[,s,i]=/^@(.*?)\.(.*?)$/.exec(t),r=s?this.getval(s):"";if(r)try{const t=JSON.parse(r);e=t?this.lodash_get(t,i,""):e}catch(t){e=""}}return e}setdata(t,e){let s=!1;if(/^@/.test(e)){const[,i,r]=/^@(.*?)\.(.*?)$/.exec(e),o=this.getval(i),h=i?"null"===o?null:o||"{}":"{}";try{const e=JSON.parse(h);this.lodash_set(e,r,t),s=this.setval(JSON.stringify(e),i)}catch(e){const o={};this.lodash_set(o,r,t),s=this.setval(JSON.stringify(o),i)}}else s=this.setval(t,e);return s}getval(t){return this.isSurge()||this.isLoon()?$persistentStore.read(t):this.isQuanX()?$prefs.valueForKey(t):this.isNode()?(this.data=this.loaddata(),this.data[t]):this.data&&this.data[t]||null}setval(t,e){return this.isSurge()||this.isLoon()?$persistentStore.write(t,e):this.isQuanX()?$prefs.setValueForKey(t,e):this.isNode()?(this.data=this.loaddata(),this.data[e]=t,this.writedata(),!0):this.data&&this.data[e]||null}initGotEnv(t){this.got=this.got?this.got:require("got"),this.cktough=this.cktough?this.cktough:require("tough-cookie"),this.ckjar=this.ckjar?this.ckjar:new this.cktough.CookieJar,t&&(t.headers=t.headers?t.headers:{},void 0===t.headers.Cookie&&void 0===t.cookieJar&&(t.cookieJar=this.ckjar))}get(t,e=(()=>{})){t.headers&&(delete t.headers["Content-Type"],delete t.headers["Content-Length"]),this.isSurge()||this.isLoon()?(this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient.get(t,(t,s,i)=>{!t&&s&&(s.body=i,s.statusCode=s.status),e(t,s,i)})):this.isQuanX()?(this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>e(t))):this.isNode()&&(this.initGotEnv(t),this.got(t).on("redirect",(t,e)=>{try{if(t.headers["set-cookie"]){const s=t.headers["set-cookie"].map(this.cktough.Cookie.parse).toString();s&&this.ckjar.setCookieSync(s,null),e.cookieJar=this.ckjar}}catch(t){this.logErr(t)}}).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>{const{message:s,response:i}=t;e(s,i,i&&i.body)}))}post(t,e=(()=>{})){if(t.body&&t.headers&&!t.headers["Content-Type"]&&(t.headers["Content-Type"]="application/x-www-form-urlencoded"),t.headers&&delete t.headers["Content-Length"],this.isSurge()||this.isLoon())this.isSurge()&&this.isNeedRewrite&&(t.headers=t.headers||{},Object.assign(t.headers,{"X-Surge-Skip-Scripting":!1})),$httpClient.post(t,(t,s,i)=>{!t&&s&&(s.body=i,s.statusCode=s.status),e(t,s,i)});else if(this.isQuanX())t.method="POST",this.isNeedRewrite&&(t.opts=t.opts||{},Object.assign(t.opts,{hints:!1})),$task.fetch(t).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>e(t));else if(this.isNode()){this.initGotEnv(t);const{url:s,...i}=t;this.got.post(s,i).then(t=>{const{statusCode:s,statusCode:i,headers:r,body:o}=t;e(null,{status:s,statusCode:i,headers:r,body:o},o)},t=>{const{message:s,response:i}=t;e(s,i,i&&i.body)})}}time(t,e=null){const s=e?new Date(e):new Date;let i={"M+":s.getMonth()+1,"d+":s.getDate(),"H+":s.getHours(),"m+":s.getMinutes(),"s+":s.getSeconds(),"q+":Math.floor((s.getMonth()+3)/3),S:s.getMilliseconds()};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(s.getFullYear()+"").substr(4-RegExp.$1.length)));for(let e in i)new RegExp("("+e+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?i[e]:("00"+i[e]).substr((""+i[e]).length)));return t}msg(e=t,s="",i="",r){const o=t=>{if(!t)return t;if("string"==typeof t)return this.isLoon()?t:this.isQuanX()?{"open-url":t}:this.isSurge()?{url:t}:void 0;if("object"==typeof t){if(this.isLoon()){let e=t.openUrl||t.url||t["open-url"],s=t.mediaUrl||t["media-url"];return{openUrl:e,mediaUrl:s}}if(this.isQuanX()){let e=t["open-url"]||t.url||t.openUrl,s=t["media-url"]||t.mediaUrl;return{"open-url":e,"media-url":s}}if(this.isSurge()){let e=t.url||t.openUrl||t["open-url"];return{url:e}}}};if(this.isMute||(this.isSurge()||this.isLoon()?$notification.post(e,s,i,o(r)):this.isQuanX()&&$notify(e,s,i,o(r))),!this.isMuteLog){let t=["","==============系统通知=============="];t.push(e),s&&t.push(s),i&&t.push(i),console.log(t.join("\n")),this.logs=this.logs.concat(t)}}log(...t){t.length>0&&(this.logs=[...this.logs,...t]),console.log(t.join(this.logSeparator))}logErr(t,e){const s=!this.isSurge()&&!this.isQuanX()&&!this.isLoon();s?this.log("",`❗️${this.name}, 错误!`,t.stack):this.log("",`❗️${this.name}, 错误!`,t)}wait(t){return new Promise(e=>setTimeout(e,t))}done(t={}){const e=(new Date).getTime(),s=(e-this.startTime)/1e3;this.log("",`${this.name}, 结束! 用时 ${s} 秒`),this.log(),(this.isSurge()||this.isQuanX()||this.isLoon())&&$done(t)}}(t,e)} 640 | 641 | -------------------------------------------------------------------------------- /JD/README.md: -------------------------------------------------------------------------------- 1 | 京东 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 整理-圈X配置 2 | 3 | ## 1、RagBag的QuantumultX 配置包 4 | 5 | 自用配置[RagBag.conf](https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/Configuration/RagBag.conf) 6 | 7 | ``` 8 | https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/Configuration/RagBag.conf 9 | ``` 10 | 11 | ## 2、远程重写 12 | 13 | ### **说明:RagBag只提取对自己有用的远程重写** 14 | 15 | #### 2.1 以下 VIP 解锁配置只针对于RagBag自己的IOS使用 16 | 17 | ``` 18 | https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/Rewrite/RagBag_VIP.conf 19 | ``` 20 | 21 | > [RagBag_VIP.conf](https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/Rewrite/RagBag_VIP.conf)文件,添加 `.js` 链接,并在 [ hostname = ]中添加域名解析 22 | 23 | #### 2.2 以下去广告配置只针对于RagBag自己的IOS使用 24 | 25 | ``` 26 | https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/Rewrite/RagBag_Ads.conf 27 | ``` 28 | 29 | 30 | > [RagBag_Ads.conf](https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/Rewrite/RagBag_Ads.conf)文件,添加 `.js` 链接,并在 [ hostname = ]中添加域名解析 31 | 32 | #### 2.3 屏蔽App的更新 33 | 34 | ``` 35 | https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/Rewrite/Block_Update.conf 36 | ``` 37 | 38 | ## 3、收集大佬的配置 39 | 40 | #### 3.1 收集一些大佬的懒人包,也可以提取大佬的部分配置 41 | 42 | - [Orz-3](https://raw.githubusercontent.com/Orz-3/QuantumultX/master/Orz-3.conf)、[KOP-XIAO](https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/QuantumultX_Profiles.conf)、[DivineEngine 神机](https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Outbound.conf)、[erdongchanyo 耳东橙](https://raw.githubusercontent.com/erdongchanyo/Rules/main/Quantumult%20X/LazyConf/QuantumultX_EDC-Lazy.conf)、[Cuttlefish 墨鱼](https://raw.githubusercontent.com/ddgksf2013/Cuttlefish/master/Profile/QuantumultX.conf)、[limbopro 毒奶](https://raw.githubusercontent.com/limbopro/Profiles4limbo/main/full.conf)、[Tartarus2014 烧烤哥](https://raw.githubusercontent.com/Tartarus2014/QuantumultX-Script/main/QuanX.conf)、[zwf234 奇心科技](https://raw.githubusercontent.com/zwf234/rules/master/QuantumultX/qixin.conf)、[w37fh 北纬37度的大飛 ](https://raw.githubusercontent.com/w37fhy/QuantumultX/master/QuantumultX_diy.conf)、[blackmatrix7](https://github.com/blackmatrix7/ios_rule_script) 43 | 44 | ### 3.2 分流配置 [filter_remote] 45 | 46 | - 网易云音乐分流 [*NeteaseMusic.list*](https://github.com/ddgksf2013/Cuttlefish/raw/master/Filter/NeteaseMusic.list) 47 | - 去广告分流 [*Anti-ad.list*](https://anti-ad.net/surge2.txt) 48 | - [blackmatrix7](https://github.com/blackmatrix7/ios_rule_script)大佬的各种分流 49 | 50 | ### 3.3 重写配置 51 | 52 | **包含去广告重写、各种VIP解锁** 53 | 54 | - **[Cuttlefish 墨鱼](https://github.com/ddgksf2013/)** 55 | - **[deezertidal](https://github.com/deezertidal/QuantumultX-Rewrite)** 56 | - **[彭于晏脚本合集](https://github.com/89996462)** 57 | - **[RuCu6](https://github.com/RuCu6/QuanX)** 58 | 59 | ## 4. 说明 60 | 61 | **其他请看仓库中[备忘.md](https://github.com/RagBagCN/QuantumultX/blob/master/%E5%A4%87%E5%BF%98.md)** 62 | **此仓库只针对自己所用,不一定更新** 63 | 64 | ## 特别感谢(排名不分先后) 65 | 66 | **[@Cuttlefish 墨鱼](https://github.com/ddgksf2013)**[*@Blackmatrix7*](https://github.com/blackmatrix7/ios_rule_script) [*@DivineEngine*](https://github.com/DivineEngine) [*@App2smile*](https://github.com/app2smile/rules) [*@Peng-YM*](https://github.com/Peng-YM) [*@Nick-workflow*](https://github.com/Nick-workflow) [*@KOP-XIAO*](https://github.com/KOP-XIAO) [*@NobyDa*](https://github.com/NobyDa) [*@Neurogram-R*](https://github.com/Neurogram-R) [*@yjqiang*](https://github.com/yjqiang) [*@O7Y0*](https://github.com/O7Y0) [*@Choler*](https://github.com/Choler) [*@id77*](https://github.com/id77) [*@zmqcherish*](https://github.com/zmqcherish) [*@Qure*](https://github.com/Koolson/Qure) [*@Orz-3*](https://github.com/Orz-3) [*@kyle*](https://github.com/Xirou) [*@HotKids*](https://github.com/hotKids) [*@langkach*](https://github.com/langkhach270389) [*@lxk0301*](https://github.com/lxk0301) [*@zqzess*](https://github.com/zqzess/rule_for_quantumultX) [*@Anti-AD*](https://github.com/privacy-protection-tools/anti-AD) [*@VirgilClyne*](https://github.com/VirgilClyne) [*@zZPiglet*](https://github.com/zZPiglet/Task/tree/master)**[@彭于晏](https://github.com/89996462)** **[@RuCu6](https://github.com/RuCu6/QuanX)** 67 | 68 | -------------------------------------------------------------------------------- /Rewrite/Block_Update.conf: -------------------------------------------------------------------------------- 1 | // @UpdateTime 2023-03-03 2 | // @ScriptName APP屏蔽应用更新弹窗 3 | // @ScriptURL https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/Rewrite/Block_Update.conf 4 | // @AppName QQ 网易云,keep,喜马拉雅 5 | 6 | hostname = ios.b.qq.com, interface*.music.163.com, api.gotokeep.com ,*.xima*.* 7 | 8 | 9 | # > QQ_屏蔽更新[待验证] @RagBagCN hostname = ios.b.qq.com 10 | ^https:\/\/ios\.b\.qq\.com\/update.* url reject 11 | 12 | # > 网易云_屏蔽更新 @ddgksf2013 hostname = interface*.music.163.com 13 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/ios\/upgrade url reject-dict 14 | 15 | # > keep_屏蔽更新 @ddgksf2013 hostname = api.gotokeep.com 16 | ^https?:\/\/api\.gotokeep\.com\/anno\/v\d\/upgrade\/check url reject 17 | 18 | # > 喜马拉雅_屏蔽版本更新 @ddgksf2013 hostname = *.xima*.* 19 | ^https?:\/\/.*\.xima.*\.com\/butler-portal\/versionCheck url reject 20 | 21 | -------------------------------------------------------------------------------- /Rewrite/Get_JD_Cookie.conf: -------------------------------------------------------------------------------- 1 | # 此远程订阅用于解决QX任务脚本的cookie获取,在使用后手动将其禁用,以避免无意义的MITM 2 | #浏览器中输入网址-我的-签到-自动获取cookie https://plogin.m.jd.com/login/login?appid=828&returnurl=https%3A%2F%2Fbean.m.jd.com%2Fbean%2FsignIndex.action 3 | 4 | hostname = api.m.jd.com 5 | 6 | # 获取京东Cookie (api.m.jd.com) By NobyDa 7 | https:\/\/api\.m\.jd\.com\/client\.action.*functionId=signBean url script-request-header https://raw.githubusercontent.com/NobyDa/Script/master/JD-DailyBonus/JD_DailyBonus.js 8 | -------------------------------------------------------------------------------- /Rewrite/PlusPlusAD.css: -------------------------------------------------------------------------------- 1 | div.container.py-3.text-center {display: none! important} 2 | -------------------------------------------------------------------------------- /Rewrite/PushPlus_ad.conf: -------------------------------------------------------------------------------- 1 | # PushPlus微信推送广告 2 | hostname = www.pushplus.plus 3 | 4 | #屏蔽图片广告,仍有css空白模块 hostname = image.pushplus.plus 5 | ;^https:\/\/image\.pushplus\.plus\/ad.* url reject-dict 6 | 7 | #屏蔽广告推送模块,但是会把“打开小程序查看”按钮也屏蔽 8 | ^https:\/\/www\.pushplus\.plus.* url response-body (
) response-body $1 9 | -------------------------------------------------------------------------------- /Rewrite/README.md: -------------------------------------------------------------------------------- 1 | ## Ragbag 提取复制大佬的仓库(首页有说明) 2 | 3 | 4 | 5 | `RagBag_Ads.conf` 去广告 远程复写 6 | 7 | `RagBag_VIP.conf` 解锁部分VIP 远程复写 8 | 9 | `Get_JD_Cookie.conf` 获取京东Cookie远程复写 10 | 11 | `test.conf` 自己用于测试配置 12 | -------------------------------------------------------------------------------- /Rewrite/RagBag_Ads.conf: -------------------------------------------------------------------------------- 1 | hostname = sofire.baidu.com, ndstatic.cdn.bcebos.com, pan.baidu.com, staticsns.cdn.bcebos.com, issuecdn.baidupcs.com, amdc.m.taobao.com, cn-acs.m.cainiao.com, m*.amap.com, image.pushplus.plus, www.pushplus.plus, interface*.music.163.com, appconf.mail.163.com, analytics.163.com 2 | 3 | # === 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z === # 4 | 5 | # ======= 0-9 ====== # 6 | 7 | # ======= A ====== # 8 | 9 | # ======= B ====== # 10 | ## 百度网盘广告屏蔽(会员卖卡赚钱) hostname = sofire.baidu.com,ndstatic.cdn.bcebos.com,pan.baidu.com,staticsns.cdn.bcebos.com,issuecdn.baidupcs.com 11 | ^https:\/\/pan\.baidu\.com\/pmall\/order\/privilege\/info url reject 12 | ^https:\/\/pan\.baidu\.com\/rest\/.+\/pcs\/adx url reject 13 | ^https:\/\/pan\.baidu\.com\/api\/useractivity\/activity url reject 14 | ^http:\/\/pan\.baidu\.com\/act\/.+\/bchannel\/list url reject 15 | ^https:\/\/pan\.baidu\.com\/component\/view\/1510\?from url reject 16 | ^https:\/\/sofire\.baidu\.com\/ios\/.+ url reject 17 | ^https:\/\/ndstatic\.cdn\.bcebos\.com\/activity\/welfare\/js\/.+\.js url reject 18 | ^https:\/\/ndstatic\.cdn\.bcebos\.com\/activity\/welfare\/index\.html url reject 19 | ^https:\/\/pan\.baidu\.com\/pmall\/order\/privilege\/info url reject 20 | ^https:\/\/staticsns\.cdn\.bcebos\.com\/amis\/.+/banner.png url reject 21 | ^http:\/\/rp\.hpplay\.cn\/logouts url reject 22 | ^https:\/\/issuecdn\.baidupcs\.com\/issue\/netdisk\/ts_ad\/ url reject 23 | ^https:\/\/pan\.baidu\.com\/rest\/2.0\/pcs\/adv\? url reject 24 | # https://pan\.baidu\.com\/act\/api\/activityentry\? - reject 25 | ^https:\/\/pan\.baidu\.com\/component\/view\/(1510|1130)\?vip url reject 26 | ^https:\/\/update\.pan\.baidu\.com\/statistics\? url reject-dict 27 | 28 | # ======= C ====== # 29 | ## 菜鸟 hostname = amdc.m.taobao.com, cn-acs.m.cainiao.com 30 | ;^http:\/\/amdc\.m\.taobao\.com\/amdc\/mobileDispatch$ Cainiao4iPhone url-and-header reject-dict 31 | ## 菜鸟首页 今日好物推荐,底部商品推广,底部标签页,问卷调查,主页图标 //cn-acs.m.cainiao.com 32 | ^https:\/\/cn-acs\.m\.cainiao\.com\/gw\/mtop\.cainiao\.adkeyword\.get\.cn\/1\.0\? url reject-dict 33 | ^https:\/\/cn-acs\.m\.cainiao\.com\/gw\/mtop\.cainiao\.guoguo\.nbnetflow\.ads\.index\.cn\/1\.0\? url reject-dict 34 | ^https:\/\/cn-acs\.m\.cainiao\.com\/gw\/mtop\.cainiao\.guoguo\.nbnetflow\.ads\.m?show\.cn\/1\.0\? url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/cainiao.js 35 | ^https:\/\/cn-acs\.m\.cainiao\.com\/gw\/mtop\.cainiao\.nbmensa\.research\.researchservice\.(acquire|event|close)\.cn\/1\.0\? url reject-dict 36 | 37 | # ======= D ====== # 38 | 39 | # ======= E ====== # 40 | 41 | # ======= F ====== # 42 | 43 | # ======= G ====== # 44 | ## 高德地图 hostname = m*.amap.com 45 | ^https?+:\/\/m\d\.amap\.com\/ws\/valueadded\/alimama\/splash_screen\/ url reject-200 46 | ^https?:\/\/m5\.amap\.com\/ws\/valueadded\/ url reject 47 | ^https?:\/\/optimus-ads\.amap\.com\/uploadimg\/ url reject 48 | ^http:\/\/ems\.youku\.com\/imp\? url reject 49 | 50 | # ======= H ====== # 51 | 52 | # ======= I ====== # 53 | 54 | # ======= J ====== # 55 | 56 | # ======= K ====== # 57 | 58 | # ======= L ====== # 59 | 60 | # ======= M ====== # 61 | 62 | # ======= N ====== # 63 | 64 | # ======= O ====== # 65 | 66 | # ======= P ====== # 67 | ## Pushplus微信推送广告 by RagBag hostname = image.pushplus.plus, www.pushplus.plus 68 | # Pushplus屏蔽图片广告,仍有css空白模块 by RagBag hostname = image.pushplus.plus 69 | ;^https:\/\/image\.pushplus\.plus\/ad.* url reject-dict 70 | # Pushplus屏蔽广告推送模块,会把“打开小程序查看”按钮也屏蔽 hostname = www.pushplus.plus 71 | ^https:\/\/www\.pushplus\.plus\/shortMessage.* url response-body () response-body $1 72 | 73 | # ======= Q ====== # 74 | 75 | # ======= R ====== # 76 | 77 | # ======= S ====== # 78 | 79 | # ======= T ====== # 80 | ## 腾讯 81 | 82 | # ======= U ====== # 83 | 84 | # ======= V ====== # 85 | 86 | # ======= W ====== # 87 | ## 网易云音乐 @ddgksf2013 hostname = interface*.music.163.com 88 | # > 网易云_评论弹窗 89 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/music\/partner\/picked\/user\/top url reject-dict 90 | # > 网易云_位置请求 91 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/lbs\/gpsStatus\/upload url reject-dict 92 | # > 网易云_每日推荐Tips 93 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/homepage\/daily\/song\/elf\/notice url reject-dict 94 | # > 网易云_通用广告请求 95 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/ad\/ url reject-dict 96 | # > 网易云_不知道是个啥 97 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/sp\/flow url reject-dict 98 | # > 网易云_屏蔽更新 99 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/ios\/upgrade url reject-dict 100 | # > 网易云_LIKE音乐上方推广 101 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/link\/position\/show\/resource url reject-dict 102 | # > 网易云_歌单上方推广 103 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?eapi\/resource-exposure\/config url reject-dict 104 | # > 网易云_搜索框专词 105 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/search\/specialkeyword url reject-dict 106 | # > 网易云_首页右上角激励图标 107 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/link\/scene\/show\/resource url reject-dict 108 | # > 网易云_搜索框推荐 109 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/search\/default url reject-dict 110 | # > 网易云_评论区下方广告[新版失效] 111 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/comment\/feed\/inserted url reject-dict 112 | # > 网易云_评论回复区广告 113 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/v1\/content\/exposure\/comment url reject-dict 114 | # > 网易云_搜索页猜你喜欢[卸载重装] 115 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/search\/rcmd\/keyword url reject-dict 116 | # > 网易云_搜索框填词 117 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/search\/default\/keyword url reject-dict 118 | # > 网易云_评论区右上角 119 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/comment\/hotcomment\/collect url reject-dict 120 | # > 网易云_活动推广 121 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/resource-exposure\/activity\/config url reject-dict 122 | # > 网易云_VIP歌曲提醒框 123 | ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/vipcenter/tspopup\/get url reject-dict 124 | # > 网易云_搜索页下方热搜Card[自行启用] 125 | ; ^https?:\/\/interface(\d)?\.music\.163\.com\/w?e?api\/search\/chart url reject-dict 126 | ## 网易邮箱 # hostname = appconf.mail.163.com, analytics.163.com 127 | ^https:\/\/appconf\.mail\.163\.com\/mmad\/get\.do url reject 128 | ^http:\/\/analytics\.163\.com\/ntes url reject 129 | ^https?:\/\/client\.mail\.163.com\/apptrack\/confinfo\/(searchMultiAds.do|showAds.do) url reject 130 | 131 | # ======= X ====== # 132 | 133 | # ======= Y ====== # 134 | 135 | # ======= Z ====== # 136 | -------------------------------------------------------------------------------- /Rewrite/RagBag_VIP.conf: -------------------------------------------------------------------------------- 1 | hostname = *.hdslb.com, api.bilibili.com, app.bilibili.com, account.wps.cn, buy.itunes.apple.com, pan.baidu.com, appwk.baidu.com, ap*.intsig.net,dict.youdao.com, *.gotokeep.com, api.aliyundrive.com, member.aliyundrive.com, cn.pornhubpremium.com 2 | 3 | ## ✅Bilibili 规则 4 | # bilibili 繁体CC字幕转中文简体(@ddgksf2013) hostname = *.hdslb.com 5 | ^https?:\/\/i.\.hdslb\.com\/bfs\/subtitle\/.+\.json$ url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/bilibili_cc.js 6 | # BiliBili 应用开屏去广告@bm7 hostname = app.bilibili.com 7 | ^https://app.bilibili.com/x/v2/splash/show url reject-dict 8 | # BiliBili_1080P高码率+4K画质(番剧和影视除外) @ddgksf2013 hostname = api.bilibili.com, app.bilibili.com 9 | ^https?:\/\/app\.bilibili\.com\/x\/v2\/account\/myinfo\? url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/bilibili_json.js 10 | 11 | ## ✅ WPS解锁部分功能 12 | ## ✅ WPS解锁部分功能 By NobyDay野比 hostname = account.wps.cn 13 | ^https://account.wps.cn/api/users/ url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Wps.js 14 | ## ✅ PS稻壳会员 By deezertidal hostname = buy.itunes.apple.com 15 | ^https?:\/\/buy\.itunes\.apple\.com\/verifyReceipt$ url script-response-body https://raw.githubusercontent.com/89996462/Quantumult-X/main/ycdz/https.js 16 | 17 | ## ✅ 百度网盘 解除在线视频倍率/清晰度 hostname = pan.baidu.com 18 | # ❌ By NobyDay野比 hostname = pan.baidu.com 19 | ;https:\/\/pan\.baidu\.com\/rest\/\d\.\d\/membership\/user url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/BaiduCloud.js 20 | # ❌ by ddgksf2013 hostname = pan.baidu.com 21 | ;https:\/\/pan\.baidu\.com\/rest\/\d\.\d\/membership\/user url script-response-body https://github.com/ddgksf2013/dev/raw/main/BaiDuCloudProCrack.js 22 | # ✔ by Sweet510 hostname = pan.baidu.com 23 | ^https:\/\/pan\.baidu\.com\/rest\/\d\.\d\/membership\/user url script-response-body https://raw.githubusercontent.com/510004015/Quantumult_X/Remote/Premium/BaiduCloud.js 24 | 25 | ## ✅ 百度文库解锁VIP文档阅读权限 hostname = appwk.baidu.com 26 | ^https:\/\/appwk\.baidu\.com\/naapi\/user\/getinfo url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/baidu/baiduLib.js 27 | 28 | ## ✅ 扫描全能王 hostname = ap*.intsig.net 29 | ^https:\/\/(api|api-cs)\.intsig\.net\/purchase\/cs\/query_property\? url script-response-body https://github.com/ddgksf2013/dev/raw/main/CamscannerProCrack.js 30 | ^https:\/\/(api|api-cs)\.intsig\.net\/purchase\/cs\/query_property\? url script-response-body https://raw.githubusercontent.com/id77/QuantumultX/master/Script/camscanner.js 31 | 32 | ## ✅ 网易有道词典 解锁VIP (@89996462) hostname = dict.youdao.com 33 | ^https:\/\/dict\.youdao\.com\/vip\/user\/status url script-response-body https://raw.githubusercontent.com/89996462/Quantumult-X/main/ycdz/wyydcd.js 34 | 35 | ## ✅ keep解锁会员 hostname = api.gotokeep.com, kad.gotokeep.com 36 | # ❌ By zwf234 hostname = *.gotokeep.com 37 | ;^https://(.+).gotokeep.com(/athena/v5/people/my|/nuocha/plans) url script-response-body https://raw.githubusercontent.com/zwf234/rules/master/js/keep.js 38 | ## ✅ keep超级净化(@ddgksf2013) hostname = api.gotokeep.com, kad.gotokeep.com 39 | # > 屏蔽部分启动弹窗 40 | ^https?:\/\/api\.gotokeep\.com\/kprime\/v\d\/popups\/primeGuide url reject 41 | # > 屏蔽开屏广告请求 42 | ^https?:\/\/kad\.gotokeep\.com\/op-engine-webapp\/v\d\/ad url reject 43 | # > 屏蔽青少年弹窗 44 | ^https?:\/\/api.gotokeep.com/cauchy/growth/init url reject 45 | # > 屏蔽搜索栏自动填充词 46 | ^https?:\/\/api\.gotokeep\.com\/search\/v\d\/default\/keyword\/list url reject 47 | # > 屏蔽热词 48 | ^https?:\/\/api\.gotokeep\.com\/search\/v\d\/hotword\/list url reject 49 | # > 屏蔽hotCourse 50 | ^https?:\/\/api\.gotokeep\.com\/search\/v\d\/hotCourse\/list url reject 51 | # > 屏蔽adwebapp 52 | ^https?:\/\/api\.gotokeep\.com\/op-engine-webapp\/v\d\/ad url reject 53 | # > 屏蔽广告预加载 54 | ^https?:\/\/api\.gotokeep\.com\/ads\/v\d\/ads\/preload url reject 55 | # > 屏蔽adbox 56 | ^https?:\/\/api\.gotokeep\.com\/training\/box\/config url reject 57 | # > 屏蔽更新 58 | ^https?:\/\/api\.gotokeep\.com\/anno\/v\d\/upgrade\/check url reject 59 | # > 我的页面去推广 60 | ^https?:\/\/api\.gotokeep\.com\/athena\/v\d\/people\/my$ url script-response-body https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/EnApp/keepStyle.js 61 | # > 应用底部栏净化 62 | ^https?:\/\/api\.gotokeep\.com\/config\/v\d\/basic url script-response-body https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/EnApp/keepStyle.js 63 | # > 发现页处理 64 | https://api.gotokeep.com/homepage/v\d/tab url script-response-body https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/EnApp/keepStyle.js 65 | # > 课程预览页广告 66 | https://api.gotokeep.com/nuocha/course/v2/\w+/preview url script-response-body https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/EnApp/keepStyle.js 67 | # > 我的运动页面去除下方推荐 68 | https://api.gotokeep.com/sportpage/sport/v3/mysport url script-response-body https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/EnApp/keepStyle.js 69 | ## ✅ keep解锁会员+付费(@nameking77 King) hostname = api.gotokeep.com 70 | ^https://api.gotokeep.com.+ url script-response-body https://raw.githubusercontent.com/nameking77/Qx/main/Keep.js 71 | 72 | 73 | 74 | ## ✅ 阿里云盘(@ddgksf2013) hostname = api.aliyundrive.com, member.aliyundrive.com 75 | # > 阿里云盘_首页设置@ddgksf2013 76 | ^https?:\/\/api\.aliyundrive\.com\/apps\/v\d\/users\/(apps|home)\/widgets$ url script-response-body https://gist.githubusercontent.com/ddgksf2013/f4752e632fd3375ea2811985c5b635dc/raw/alicloud.js 77 | # > 阿里云盘_欢迎语设置@ddgksf2013 78 | https://api.aliyundrive.com/apps/v1/users/apps/welcome url script-response-body https://gist.githubusercontent.com/ddgksf2013/f4752e632fd3375ea2811985c5b635dc/raw/alicloud.js 79 | # > 阿里云盘_我的页面VIP卡片@ddgksf2013 80 | https://api.aliyundrive.com/business/v1/users/me/vip/info url script-response-body https://gist.githubusercontent.com/ddgksf2013/f4752e632fd3375ea2811985c5b635dc/raw/alicloud.js 81 | # > 阿里云盘_我的页面处理@ddgksf2013 82 | https://member.aliyundrive.com/v1/users/tools url script-response-body https://gist.githubusercontent.com/ddgksf2013/f4752e632fd3375ea2811985c5b635dc/raw/alicloud.js 83 | # > 阿里云盘_我的信息@ddgksf2013 84 | https://member.aliyundrive.com/v1/users/me url script-response-body https://gist.githubusercontent.com/ddgksf2013/f4752e632fd3375ea2811985c5b635dc/raw/alicloud.js 85 | # > 阿里云盘_会员信息@ddgksf2013 86 | https://api.aliyundrive.com/business/v1.0/users/vip/info url script-response-body https://gist.githubusercontent.com/ddgksf2013/f4752e632fd3375ea2811985c5b635dc/raw/alicloud.js 87 | # > 阿里云盘_个人信息@ddgksf2013 88 | https://api.aliyundrive.com/v2/databox/get_personal_info url script-response-body https://gist.githubusercontent.com/ddgksf2013/f4752e632fd3375ea2811985c5b635dc/raw/alicloud.js 89 | # > 阿里云盘_列表属性@ddgksf2013 90 | https://api.aliyundrive.com/business/v1.0/users/feature/list url script-response-body https://gist.githubusercontent.com/ddgksf2013/f4752e632fd3375ea2811985c5b635dc/raw/alicloud.js 91 | 92 | ## ✅ PornHub Unlock Premium(@Hausd0rff) hostname = cn.pornhubpremium.com 93 | ^https?:\/\/cn\.pornhubpremium\.com\/ url script-request-header https://raw.githubusercontent.com/yqc007/QuantumultX/master/PornHubPremiumCrack.js 94 | -------------------------------------------------------------------------------- /Rewrite/RagBag_WebPage.conf: -------------------------------------------------------------------------------- 1 | ## 此配置 by RuCu6 https://github.com/RuCu6/QuanX/blob/main/Rewrites/WebPage.conf 2 | 3 | hostname = boxer.baidu.com, m.baidu.com, www.baidu.com, zhidao.baidu.com, *.google.cn, dyncdn.me,, static.zhihu.com, api.zhihu.com, www.zhihu.com, zhuanlan.zhihu.com, *netflix*, www.ttsp.tv, ddrk.me, ddys.tv, ddys2.me, dsxys.com, *bdys*, cupfox.app, cokemv.me, *5yy*, *gimytv*, *tkznp*, *czspp*, *ikandy*, www.libvio.fun, *.pornhub.com, 18comic.org, 18comic.vip, www.wnacg.com, www.wnacg.org, www.javmost.cx, www.javbus.com, avple.tv, jable.tv, missav.com, 4hu.tv, 91porn.com, rouman5.com 4 | 5 | 6 | # ======= 普通网页 ====== # 7 | ## 百度 //boxer.baidu.com, m.baidu.com, www.baidu.com, zhidao.baidu.com 8 | ## 知道搜索广告 9 | ^https:\/\/zhidao\.baidu\.com\/(question|index|\?fr|\?word) url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/webpage/baidu-zhidao.js 10 | ## 搜索首页广告 11 | ^https:\/\/(www|m)\.baidu\.com(\/$|\/\?(ref|from).*) url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/webpage/baidu-index.js 12 | ## 搜索结果广告 13 | ^https:\/\/(www|m)\.baidu\.com\/.*word=.* url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/webpage/baidu.js 14 | ## 百度防跳转 15 | ^https:\/\/boxer\.baidu\.com\/scheme\?scheme url script-response-header https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/baidu/baiduNoRedirect.js 16 | # 桌面端请使用 https://google.com/ncr 17 | # 谷歌服务重定向 //*.google.cn 18 | ^https?:\/\/www\.google\.cn url 302 https://www.google.com 19 | ^https?:\/\/translate\.google\.cn url 302 https://translate.google.com 20 | # RARBG (https://rarbgmirror.org/ https://proxyrarbg.org/) //dyncdn.me 21 | ^https:\/\/dyncdn\.me\/static\/\d{0,2}\/js\/expla\d{0,4}\.js$ url reject-200 22 | ^https:\/\/dyncdn\.me\/static\/\d{0,2}\/js\/showads\.js$ url response-body true response-body false 23 | 24 | # ======= 影视网站 ====== # 25 | # 奈飞鸭 (https://yanetflix.com) //*netflix* 26 | ^https?:\/\/(yanetflix|netflixya|netflix)\.(com|wang|mom)\/($|[0-9a-zA-Z=_/-]+\.html$) url response-body response-body 27 | # 天天视频 (http://www.ttsp.tv/) //www.ttsp.tv 28 | ^https?:\/\/(\w{0,3}(\.){0,1}(ttsp)(\.)\w{0,3})(?!.*?(\.webmanifest|/(cdn-cgi)))(?!.*?(\.(css|js|jpeg|jpg|png|php|gif|ico|mp3|mp4|svg|tff|PNG|woff|woff2|m3u8))).* url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/limbo/Adblock4limboQX.js 29 | # 低端影视 (https://ddys.tv/) //ddrk.me, ddys.tv, ddys2.me 30 | ^https?:\/\/(\w{0,3}(\.){0,1}(ddys|ddrk|ddys2)(\.)\w{0,3})(?!.*?(\.webmanifest|/(cdn-cgi)))(?!.*?(\.(css|js|jpeg|jpg|png|php|gif|ico|mp3|mp4|svg|tff|PNG|woff|woff2|m3u8))).* url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/limbo/Adblock4limboQX.js 31 | # 大师兄影视 (https://dsxys.com/) //dsxys.com 32 | ^https?:\/\/(\w{0,3}(\.){0,1}(dsxys)(\.)\w{0,3})(?!.*?(\.webmanifest|/(cdn-cgi)))(?!.*?(\.(css|js|jpeg|jpg|png|php|gif|ico|mp3|mp4|svg|tff|PNG|woff|woff2|m3u8))).* url response-body response-body 33 | # 哔嘀影视 (https://www.bdys01.com/) //*bdys* 34 | ^https?:\/\/(\w{0,3}(\.){0,1}(bdys\w{0,3})(\.)\w{0,3})\/play\/.*?\.htm.* url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/limbo/Adblock4limboQX.js 35 | ^https?:\/\/(\w{0,3}(\.){0,1}(bdys\w{0,3})(\.)\w{0,3})(?!.*?(/(cdn-cgi|verifyCode|member\/|zzzzz)))(?!.*?(\.(css|js|jpeg|jpg|png|php|gif|ico|mp3|mp4|svg|tff|PNG|woff|woff2|m3u8|ddr))).* url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/limbo/Adblock4limboQX.js 36 | # 茶杯狐 (https://cupfox.app/) //cupfox.app 37 | ^https?:/\/cupfox\.app\/($|(search|list).*$) url response-body response-body 38 | # Cokemv (https://cokemv.me/) //cokemv.me 39 | ^https?:/\/cokemv\.me\/($|vod.*$) url response-body response-body 40 | # 555 影视 (https://555yy6.com/) //*5yy* 41 | ^https?:\/\/.*5yy.*\/($|[0-9a-zA-Z=_/-]+\.html$) url response-body response-body 42 | # 剧迷网 (https://gimytv.app/) //*gimytv* 43 | ^https?:\/\/(\w{0,3}(\.){0,1}(gimytv)(\.)\w{0,3})(?!.*?(/(cdn-cgi)))(?!.*?(\.(css|js|jpeg|jpg|png|php|gif|ico|mp3|mp4|svg|tff|PNG|woff|woff2|m3u8))).* url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/limbo/gimytvQX.js 44 | # 天空影视 (https://www.tkys.vip/) //*tkznp* 45 | ^https?:\/\/.*tkznp.*com\/($|[0-9a-zA-Z=_/-]+\.html$) url response-body response-body 46 | # 厂长电影 (https://www.czspp.com/) //*czspp* 47 | ^https?:/\/.*czspp.*com\/($|\?btwaf=\w+$|[0-9a-zA-Z=_/-]+\.html) url response-body response-body 48 | # 真不卡影院 (https://www.ikandy.fun/) //*ikandy* 49 | ^https?:\/\/.*ikandy.*fun\/($|(vod|top).*$) url response-body response-body 50 | # 梨播 libvio (https://www.iioo.me/) //www.libvio.fun 51 | ^https?:\/\/(\w{0,3}(\.){0,1}(libvio)(\.)\w{0,3})(?!.*?(/(cdn-cgi)))(?!.*?(\.(css|js|jpeg|jpg|png|php|gif|ico|mp3|mp4|svg|tff|PNG|woff|woff2|m3u8))).* url response-body response-body 52 | 53 | # ======= Z ====== # 54 | # 知乎网页版强制登陆弹窗@HotKids hostname = static.zhihu.com 55 | ^https?:\/\/static\.zhihu\.com\/[^\/]+\/(main|column)\.signflow\.[^.]+.js url reject 56 | # 知乎网页版去广告&推荐列表,拒绝app hostname = api.zhihu.com, www.zhihu.com, zhuanlan.zhihu.com 57 | ^https:\/\/api\.zhihu\.com\/distribute\/rhea\/qa_ad_card\/h5\/recommendation\? url reject-dict 58 | ^https:\/\/www\.zhihu\.com/question/ url script-response-body https://raw.githubusercontent.com/id77/QuantumultX/master/Script/zhihu.js 59 | ^https:\/\/www\.zhihu\.com/api/v4/questions/\d+/related-readings url reject-200 60 | ^https:\/\/www\.zhihu\.com/api/v4/answers/\d+/related-readings url reject-200 61 | ^https:\/\/www\.zhihu\.com/api/v4/hot_recommendation url reject-200 62 | ^https:\/\/www\.zhihu\.com/commercial_api/banners_v3/mobile_banner url reject-200 63 | ^https:\/\/zhuanlan\.zhihu\.com/api/articles/\d+/recommendation url reject-200 64 | ^https:\/\/zhuanlan\.zhihu\.com/p/ url script-response-body https://raw.githubusercontent.com/id77/QuantumultX/master/Script/zhihu.js 65 | 66 | 67 | # ======= ooxx ====== # 68 | # PornHub (https://cn.pornhub.com/) //*.pornhub.com 69 | ^https:\/\/(cn|www)\.pornhub\.com\/_xa\/ads.* url reject-dict 70 | ^https?:\/\/(\w{0,3}(\.){0,1}(pornhub)(\.)\w{0,3})(?!.*?(/(cdn-cgi)))(?!.*?(\.(css|js|jpeg|jpg|png|gif|ico|mp3|mp4|svg|tff|PNG|woff|woff2|m3u8))).* url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/limbo/Adblock4limboQX.js 71 | # 禁漫天堂 (https://18comic.org/) //18comic.org, 18comic.vip 72 | ^https?:\/\/(\w{0,3}(\.){0,1}(18comic)(\.)\w{0,3})(?!.*?(/(cdn-cgi|onclick)))(?!.*?(\.(css|js|jpeg|jpg|png|php|gif|ico|mp3|mp4|svg|tff|PNG|woff|woff2|m3u8))).* url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/limbo/Adblock4limboQX.js 73 | ^https?:\/\/18comic\.(org|vip)\/templates\/frontend\/airav\/js\/jquery.avs.*?\.js.* url reject 74 | # 绅士漫画 (http://www.wnacg.com/) //www.wnacg.com, www.wnacg.org 75 | ^https?:\/\/(\w{0,3}(\.){0,1}(wnacg)(\.)\w{0,3})(?!.*?(/(cdn-cgi|onclick)))(?!.*?(\.(css|js|jpeg|jpg|png|php|gif|ico|mp3|mp4|svg|tff|PNG|woff|woff2|m3u8))).* url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/limbo/Adblock4limboQX.js 76 | # Javmost (https://www.javmost.cx/) //www.javmost.cx 77 | ^https?:\/\/(\w{0,3}(\.){0,1}(javmost)(\.)\w{0,3})(?!.*?(/(cdn-cgi)))(?!.*?(\.(css|js|jpeg|jpg|png|php|gif|ico|mp3|mp4|svg|tff|PNG|woff|woff2|m3u8))).* url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/limbo/javmostQX.js 78 | ^https:\/\/suzihaza\.com\/asset\/jquery\/slim-3\.2\.min\.js.* url reject 79 | # JavBus (https://www.javbus.com/) //www.javbus.com 80 | ^https?:\/\/(\w{0,3}(\.){0,1}(javbus)(\.)\w{0,3})(?!.*?(/(cdn-cgi)))(?!.*?(\.(css|js|jpeg|jpg|png|php|gif|ico|mp3|mp4|svg|tff|PNG|woff|woff2|m3u8))).* url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/limbo/javbusQX.js 81 | # Avple (https://avple.tv/) //avple.tv 82 | ^https?:\/\/(\w{0,3}(\.){0,1}(avple)(\.)\w{0,3})(?!.*?(/(cdn-cgi)))(?!.*?(\.(css|js|jpeg|jpg|png|php|gif|ico|mp3|mp4|svg|tff|PNG|woff|woff2|m3u8))).* url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/limbo/avpleQX.js 83 | # Avple 弹窗跳转 84 | ^https?:\/\/assert\.avple\.tv\/file\/avple-images\/ad\.js url reject 85 | # Jable (https://jable.tv/) //jable.tv 86 | ^https?:\/\/(\w{0,3}(\.){0,1}(jable)(\.)\w{0,3})(?!.*?(/(cdn-cgi)))(?!.*?(\.(css|js|jpeg|jpg|png|php|gif|ico|mp3|mp4|svg|tff|PNG|woff|woff2|m3u8))).* url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/limbo/Adblock4limboQX.js 87 | # missav 播放页弹窗 (https://missav.com/) //missav.com 88 | ^https?:\/\/[0-9a-zA-Z]{10,16}\.cloudfront\.net\/\?[a-z]{3,7}=\d{4,8} url reject 89 | ^https?:\/\/(\w{0,3}(\.){0,1}(missav)(\.)\w{0,3})(?!.*?(/(cdn-cgi)))(?!.*?(\.(css|js|jpeg|jpg|png|php|gif|ico|mp3|mp4|svg|tff|PNG|woff|woff2|m3u8))).* url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/limbo/Adblock4limboQX.js 90 | # 4hu.tv (https://4hu.tv/) //4hu.tv 91 | ^https?:\/\/(\w{0,3}(\.){0,1}(4hu)(\.)\w{0,3})(?!.*?(/(cdn-cgi)))(?!.*?(\.(css|js|jpeg|jpg|png|php|gif|ico|mp3|mp4|svg|tff|PNG|woff|woff2|m3u8))).* url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/limbo/4huQX.js 92 | # 91porn (http://www.91porn.com/) //91porn.com 93 | ^https?:\/\/(\w{0,3}(\.){0,1}(91porn)(\.)\w{0,3})(?!.*?(/(cdn-cgi)))(?!.*?(\.(css|js|jpeg|jpg|png|gif|ico|mp3|mp4|svg|tff|ttf|PNG|woff|woff2|m3u8))).* url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/limbo/91pornQX.js 94 | # 肉漫屋 (https://rou.pub/dizhi) //rouman5.com 95 | https?:\/\/rouman5\.com\/cover\/.* url reject-img 96 | -------------------------------------------------------------------------------- /Rules/RagBag.list: -------------------------------------------------------------------------------- 1 | #RagBag自用 2 | 3 | HOST-SUFFIX,ragbag.one,DIRECT 4 | HOST-SUFFIX,www.ragbag.one,DIRECT 5 | #HOST-SUFFIX,ragbag.ink,DIRECT 6 | 7 | #DOMAIN-SUFFIX,ragbag.one,DIRECT 8 | #DOMAIN-SUFFIX,www.ragbag.one,DIRECT 9 | -------------------------------------------------------------------------------- /备忘.md: -------------------------------------------------------------------------------- 1 | # 圈 X / Quantumult X 备忘录 2 | 3 | ## 1️⃣大佬主页 4 | 5 | 排名不分先后(仅作自己收藏用) 6 | 7 | - [Orz-3](https://raw.githubusercontent.com/Orz-3/QuantumultX/master/Orz-3.conf) 8 | - [KOP-XIAO](https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/QuantumultX_Profiles.conf) 9 | - [DivineEngine 神机](https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Outbound.conf) 10 | - [NobyDa野比](https://github.com/NobyDa) 11 | - [erdongchanyo 耳东橙](https://raw.githubusercontent.com/erdongchanyo/Rules/main/Quantumult X/LazyConf/QuantumultX_EDC-Lazy.conf) 12 | - **[Cuttlefish 墨鱼]([ddgksf2013/Cuttlefish: Scripts for self-use, ⛔️ fork (github.com)](https://github.com/ddgksf2013/Cuttlefish)) 特别多好用的规则** 13 | - [limbopro 毒奶](https://raw.githubusercontent.com/limbopro/Profiles4limbo/main/full.conf) 14 | - [Tartarus2014 烧烤哥](https://raw.githubusercontent.com/Tartarus2014/QuantumultX-Script/main/QuanX.conf) 15 | - [zwf234 奇心科技](https://raw.githubusercontent.com/zwf234/rules/master/QuantumultX/qixin.conf) 16 | - [w37fh 北纬37度的大飛](https://raw.githubusercontent.com/w37fhy/QuantumultX/master/QuantumultX_diy.conf) 17 | - [blackmatrix7](https://github.com/blackmatrix7/ios_rule_script)(去广告很好用) 18 | 19 | - [ id77](https://github.com/id77/QuantumultX) 20 | 21 | - [张军]() 22 | 23 | ## 2️⃣小白配置 24 | 25 | - [erdongchanyo 耳东橙](https://raw.githubusercontent.com/erdongchanyo/Rules/main/Quantumult X/LazyConf/QuantumultX_EDC-Lazy.conf) 26 | 27 | ``` 28 | https://raw.githubusercontent.com/erdongchanyo/Rules/main/Quantumult X/LazyConf/QuantumultX_EDC-Lazy.conf 29 | ``` 30 | 31 | - [Cuttlefish 墨鱼](https://raw.githubusercontent.com/ddgksf2013/Cuttlefish/master/Profile/QuantumultX.conf) 特别多好用的规则 32 | 33 | ``` 34 | https://raw.githubusercontent.com/ddgksf2013/Cuttlefish/master/Profile/QuantumultX.conf 35 | ``` 36 | 37 | ## 3️⃣分流 38 | 39 | #### 规则分流(可能有用-备忘) 40 | 41 | - **blackmatrix7** 42 | 43 | ``` 44 | https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Advertising/Advertising.list 45 | ``` 46 | 47 | - **NobyDa** 48 | 49 | ``` 50 | https://raw.githubusercontent.com/NobyDa/ND-AD/master/QuantumultX/AD_Block.txt 51 | 52 | https://raw.githubusercontent.com/NobyDa/ND-AD/master/QuantumultX/AD_Block_Plus.txt 53 | ``` 54 | 55 | ## 4️⃣复写 56 | 57 | - [奇心合集](https://raw.githubusercontent.com/zwf234/rules/master/QuantumultX/qxrules.conf) 58 | 59 | - [墨鱼](https://raw.githubusercontent.com/ddgksf2013/Cuttlefish/master/Profile/QuantumultX.conf) 60 | 61 | #### 获取cookie 62 | 63 | - 野比获取cookie(爱奇艺、52破解、百度贴吧、京东、) 64 | 65 | ``` 66 | https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/yJs_Remote_Cookie.conf 67 | ``` 68 | 69 | - WSL33099 (内容特别全) 70 | 71 | ``` 72 | https://raw.githubusercontent.com/WSL33099/QuantumultX/main/Conf/GetCookie.conf 73 | ``` 74 | 75 | ## 5️⃣脚本 76 | 77 | - **墨鱼脚本** 78 | 79 | ``` 80 | https://github.com/ddgksf2013/Cuttlefish/raw/master/Jd/Task/jd_task.json 81 | ``` 82 | 83 | - **奇心脚本合集** 84 | 85 | ``` 86 | https://raw.githubusercontent.com/zwf234/rules/master/QuantumultX/qixin.json 87 | ``` 88 | 89 | ## 6️⃣VIP解锁 90 | 91 | - **id77** 92 | 93 | ``` 94 | https://raw.githubusercontent.com/id77/QuantumultX/master/rewrite/vip.conf 95 | ``` 96 | 97 | - 墨鱼 98 | 99 | ``` 100 | https://raw.githubusercontent.com/ddgksf2013/Cuttlefish/master/Rewrite/UnlockApp.conf 101 | ``` 102 | 103 | - **哔哩哔哩番剧开启1080P+ (by NobyDa)** 104 | 105 | ``` 106 | #hostname=api.bilibili.com, app.bilibili.com 107 | 108 | ^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/zqzess/rule_for_quantumultX/master/js/backup/bilifj.js 109 | ``` 110 | 111 | ``` 112 | https:\/\/ap(p|i)\.bilibili\.com\/((pgc\/player\/api\/playurl)|(x\/v2\/account\/myinfo\?)|(x\/v2\/account/mine\?)) url script-response-body BiliHD.js 113 | ``` 114 | 115 | - **BiliBili 解锁1080P高码率+4K画质 (番劇和影視除外) @ddgksf2013** 116 | 117 | ``` 118 | #hostname=api.bilibili.com 119 | 120 | ^https?:\/\/app\.bilibili\.com\/x\/v2\/account\/myinfo\? url script-response-body https://raw.githubusercontent.com/ddgksf2013/Cuttlefish/master/Script/bilibili_diy.js 121 | ``` 122 | 123 | - **#全能扫描王** 124 | 125 | ``` 126 | hostname = *.intsig.net 127 | 128 | ^https:\/\/(api|api-cs)\.intsig\.net\/purchase\/cs\/query_property\? url script-response-body https://raw.githubusercontent.com/id77/QuantumultX/master/Script/camscanner.js 129 | ``` 130 | 131 | ## 7️⃣其他 132 | 133 | ### #京东签到 134 | 135 | - QX 1.0.10+ 脚本配置 136 | 137 | ``` 138 | [task_local] 139 | 5 0 * * * https://raw.githubusercontent.com/NobyDa/Script/master/JD-DailyBonus/JD_DailyBonus.js, tag=京东多合一签到, img-url=https://raw.githubusercontent.com/NobyDa/mini/master/Color/jd.png,enabled=true 140 | ``` 141 | 142 | ``` 143 | [rewrite_local] 144 | #可以添加为远程重写,具体如下 145 | # 获取京东Cookie 146 | ^https:\/\/(api\.m|me-api)\.jd\.com\/(client\.action\?functionId=signBean|user_new\/info\/GetJDUserInfoUnion\?) url script-request-header https://raw.githubusercontent.com/NobyDa/Script/master/JD-DailyBonus/JD_DailyBonus.js 147 | # 获取钢镚签到body. 148 | ^https:\/\/ms\.jr\.jd\.com\/gw\/generic\/hy\/h5\/m\/appSign\? url script-request-body https://raw.githubusercontent.com/NobyDa/Script/master/JD-DailyBonus/JD_DailyBonus.js 149 | ``` 150 | 151 | ``` 152 | [mitm] 153 | hostname = ms.jr.jd.com, me-api.jd.com, api.m.jd.com 154 | ``` 155 | 156 | - 获取cookie 157 | 158 | ①添加[远程复写]([QuantumultX/JD_Remote_Cookie.conf at master · RagBagCN/QuantumultX (github.com)](https://github.com/RagBagCN/QuantumultX/blob/master/Script/JD_Remote_Cookie.conf)) 159 | 160 | https://raw.githubusercontent.com/RagBagCN/QuantumultX/master/Script/JD_Remote_Cookie.conf 161 | 162 | ②Safari浏览器打开[登录](https://home.m.jd.com/myJd/newhome.action) https://home.m.jd.com/myJd/newhome.action 点击"我的"页面 163 | 或者使用[旧版网址](https://bean.m.jd.com/bean/signIndex.action) https://bean.m.jd.com/bean/signIndex.action 点击签到并且出现签到日历 164 | 165 | - BoxJs或QX Gallery订阅地址: https://raw.githubusercontent.com/NobyDa/Script/master/NobyDa_BoxJs.json 166 | 167 | ### #网易云解锁灰色歌曲 168 | 169 | **教程自己去找** 170 | 171 | #### 分流 172 | 173 | 添加分流规则 174 | 175 | ``` 176 | https://raw.githubusercontent.com/GeQ1an/Rules/master/QuantumultX/Filter/Optional/Netease%20Music.list 177 | ``` 178 | 179 | #### 网易云灰色节点 180 | 181 | ``` 182 | http=music.lolico.me:39000, fast-open=false, udp-relay=false, tag= 解锁网易云节点1 183 | http=SALVAN.ICU:19980, over-tls=false, fast-open=false, udp-relay=false, tag= 解锁网易云节点2 184 | http=101.132.79.113:23333, fast-open=false, udp-relay=false, tag= 解锁网易云节点 3 185 | http=MUSIC.LOLICO.ME:39000, fast-open=false, udp-relay=false, tag= 解锁网易云节点 4 186 | http=MUSIC.GRIOUGES.CN:39000, fast-open=false, udp-relay=false, tag= 解锁网易云节点5 187 | ``` 188 | 189 | ### #常用图标 190 | 191 | - [Orz-3](https://github.com/Orz-3)/**[mini](https://github.com/Orz-3/mini)** 192 | 193 | 🔘彩色版本 194 | 195 | ``` 196 | https://raw.githubusercontent.com/Orz-3/mini/master/Color/name.png 197 | ``` 198 | 199 | 🔘透明版本 200 | 201 | ``` 202 | https://raw.githubusercontent.com/Orz-3/mini/master/Alpha/name.png 203 | ``` 204 | 205 | - [Orz-3](https://github.com/Orz-3)/**[face](https://github.com/Orz-3/face)** 206 | 207 | ``` 208 | https://raw.githubusercontent.com/Orz-3/face/master/name.png 209 | ``` 210 | 211 | - Koolson 212 | 213 | ``` 214 | img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Netease_Music.png 215 | 216 | img-url=https://raw.githubusercontent.comKoolson/Qure/master/IconSet/Telegram.png 217 | 218 | img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/WeChat.png 219 | 220 | img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/YouTube.png 221 | ``` 222 | 223 | 224 | 225 | --------------------------------------------------------------------------------