├── icon ├── GV.png ├── OpenAI.png ├── wukong.png ├── Color │ ├── AU.png │ ├── CA.png │ ├── CN.png │ ├── DE.png │ ├── Enet.png │ ├── FR.png │ ├── GAME.png │ ├── HK.png │ ├── JP.png │ ├── KR.png │ ├── MO.png │ ├── RU.png │ ├── SG.png │ ├── SSID.png │ ├── TH.png │ ├── TR.png │ ├── TW.png │ ├── UK.png │ ├── UN.png │ ├── US.png │ ├── VN.png │ ├── XD.png │ ├── Final.png │ ├── Static.png │ ├── Touhou.png │ ├── Available.png │ ├── Shandian.png │ ├── Speedtest.png │ ├── Urltest.png │ ├── Roundrobin.png │ └── tubiao.json ├── Policy │ ├── CN.png │ ├── HK.png │ ├── JP.png │ ├── Lab.png │ ├── QQ.png │ ├── SG.png │ ├── TVB.png │ ├── TW.png │ ├── VIP.png │ ├── Apple.png │ ├── Auto.png │ ├── China.png │ ├── Emby.png │ ├── Final.png │ ├── Game.png │ ├── Gmail.png │ ├── Heart.png │ ├── Japan.png │ ├── Magic.png │ ├── Mail.png │ ├── Media.png │ ├── Qure.png │ ├── Ring.png │ ├── SSID.png │ ├── ULB_1.png │ ├── WiFi.png │ ├── AdBlack.png │ ├── AdWhite.png │ ├── Cellular.png │ ├── Download.png │ ├── Final_1.png │ ├── Find_My.png │ ├── GitHub.png │ ├── Global.png │ ├── Google.png │ ├── Nintendo.png │ ├── Rainbow.png │ ├── Rocket.png │ ├── SSID_1.png │ ├── Taiwan.png │ ├── Telegram.png │ ├── TikTok.png │ ├── TikTok_1.png │ ├── TikTok_2.png │ ├── Unlock.png │ ├── YouTube.png │ ├── iCloud.png │ ├── App_Store.png │ ├── Available.png │ ├── China_Map.png │ ├── Hijacking.png │ ├── Hong_Kong.png │ ├── Microsoft.png │ ├── Rainbow_1.png │ ├── Singapore.png │ ├── Speedtest.png │ ├── TestFlight.png │ ├── Advertising.png │ ├── Apple_Fitness.png │ ├── Apple_Music.png │ ├── Apple_Update.png │ ├── Available_1.png │ ├── GitHub_Letter.png │ ├── Google_Drive.png │ ├── Google_Search.png │ ├── Netease_Music.png │ ├── Pirate_Nation.png │ ├── Quantumult_X.png │ ├── Round_Robin.png │ ├── TestFlight_1.png │ ├── TestFlight_2.png │ ├── United_States.png │ ├── YouTube_Music.png │ ├── European_Union.png │ ├── United_Nations.png │ ├── YouTube_Letter.png │ ├── Netease_Music_Unlock.png │ └── tubiao.json ├── kakaluote.png └── tubiao.json ├── img ├── BoxJs.png ├── GeoIp.png ├── Media.png ├── Softly.png ├── V2yun.jpg ├── V2yun1.jpg ├── caiyun.png ├── clean.png ├── nymf.png ├── szcx.png ├── tieba.png ├── wymusic.png ├── TrafficQuery.png └── StreamingMedia.png ├── Crack ├── Nicegram.js ├── Javdb.js ├── Nicegram.conf ├── javdb.conf ├── AppRaven.js ├── AoRuan.js ├── ScannerPro.js ├── WuFanZhangYue.js ├── javdb.js ├── Collections.conf ├── Emby.js ├── TopWidgets.js └── aliyun.js ├── rewrite ├── boxjs.conf ├── sub-store.snippet ├── UnblockURLinWeChat.conf ├── tieba_cookie.conf ├── getCookie.conf └── MeiTuanMaiCai.js ├── AdBlock ├── SinaEmail.js ├── Ysf.conf ├── Aisizhushou.js ├── Tieba.conf ├── JavDB.js ├── YoutubeAds.conf ├── Amap │ └── Amap.js ├── ALiDrive.js ├── Amap.conf ├── Weibo.conf ├── AppAd.conf ├── Bilibili.conf ├── Bilibili │ └── Bilibili.js ├── test.js ├── General.conf ├── Tieba │ └── Tieba.js └── WebAd.conf ├── Task ├── dns-clear-cache.js └── 115.py ├── rule ├── TikTok.list ├── Speedtest.list ├── Unbreak.list ├── AdRule.list ├── Twitter.list ├── Apple.list ├── Telegram.list ├── Emby.list ├── China.list ├── Privacy.list ├── ChinaIPv6.txt ├── anti-ip-attribution.list ├── Hijacking.list ├── Anti-hijacking.list └── GlobalMedia.list ├── README.md ├── Scripts ├── geo-location.js ├── traffic-check.js └── switch-check-google.js └── qinglong └── tieba_signin.js /icon/GV.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/GV.png -------------------------------------------------------------------------------- /img/BoxJs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/img/BoxJs.png -------------------------------------------------------------------------------- /img/GeoIp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/img/GeoIp.png -------------------------------------------------------------------------------- /img/Media.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/img/Media.png -------------------------------------------------------------------------------- /img/Softly.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/img/Softly.png -------------------------------------------------------------------------------- /img/V2yun.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/img/V2yun.jpg -------------------------------------------------------------------------------- /img/V2yun1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/img/V2yun1.jpg -------------------------------------------------------------------------------- /img/caiyun.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/img/caiyun.png -------------------------------------------------------------------------------- /img/clean.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/img/clean.png -------------------------------------------------------------------------------- /img/nymf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/img/nymf.png -------------------------------------------------------------------------------- /img/szcx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/img/szcx.png -------------------------------------------------------------------------------- /img/tieba.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/img/tieba.png -------------------------------------------------------------------------------- /Crack/Nicegram.js: -------------------------------------------------------------------------------- 1 | { 2 | "data" : { 3 | "premiumAccess" : true 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /icon/OpenAI.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/OpenAI.png -------------------------------------------------------------------------------- /icon/wukong.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/wukong.png -------------------------------------------------------------------------------- /img/wymusic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/img/wymusic.png -------------------------------------------------------------------------------- /icon/Color/AU.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/AU.png -------------------------------------------------------------------------------- /icon/Color/CA.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/CA.png -------------------------------------------------------------------------------- /icon/Color/CN.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/CN.png -------------------------------------------------------------------------------- /icon/Color/DE.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/DE.png -------------------------------------------------------------------------------- /icon/Color/Enet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/Enet.png -------------------------------------------------------------------------------- /icon/Color/FR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/FR.png -------------------------------------------------------------------------------- /icon/Color/GAME.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/GAME.png -------------------------------------------------------------------------------- /icon/Color/HK.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/HK.png -------------------------------------------------------------------------------- /icon/Color/JP.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/JP.png -------------------------------------------------------------------------------- /icon/Color/KR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/KR.png -------------------------------------------------------------------------------- /icon/Color/MO.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/MO.png -------------------------------------------------------------------------------- /icon/Color/RU.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/RU.png -------------------------------------------------------------------------------- /icon/Color/SG.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/SG.png -------------------------------------------------------------------------------- /icon/Color/SSID.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/SSID.png -------------------------------------------------------------------------------- /icon/Color/TH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/TH.png -------------------------------------------------------------------------------- /icon/Color/TR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/TR.png -------------------------------------------------------------------------------- /icon/Color/TW.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/TW.png -------------------------------------------------------------------------------- /icon/Color/UK.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/UK.png -------------------------------------------------------------------------------- /icon/Color/UN.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/UN.png -------------------------------------------------------------------------------- /icon/Color/US.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/US.png -------------------------------------------------------------------------------- /icon/Color/VN.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/VN.png -------------------------------------------------------------------------------- /icon/Color/XD.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/XD.png -------------------------------------------------------------------------------- /icon/Policy/CN.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/CN.png -------------------------------------------------------------------------------- /icon/Policy/HK.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/HK.png -------------------------------------------------------------------------------- /icon/Policy/JP.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/JP.png -------------------------------------------------------------------------------- /icon/Policy/Lab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Lab.png -------------------------------------------------------------------------------- /icon/Policy/QQ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/QQ.png -------------------------------------------------------------------------------- /icon/Policy/SG.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/SG.png -------------------------------------------------------------------------------- /icon/Policy/TVB.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/TVB.png -------------------------------------------------------------------------------- /icon/Policy/TW.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/TW.png -------------------------------------------------------------------------------- /icon/Policy/VIP.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/VIP.png -------------------------------------------------------------------------------- /icon/kakaluote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/kakaluote.png -------------------------------------------------------------------------------- /icon/Color/Final.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/Final.png -------------------------------------------------------------------------------- /icon/Color/Static.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/Static.png -------------------------------------------------------------------------------- /icon/Color/Touhou.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/Touhou.png -------------------------------------------------------------------------------- /icon/Policy/Apple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Apple.png -------------------------------------------------------------------------------- /icon/Policy/Auto.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Auto.png -------------------------------------------------------------------------------- /icon/Policy/China.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/China.png -------------------------------------------------------------------------------- /icon/Policy/Emby.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Emby.png -------------------------------------------------------------------------------- /icon/Policy/Final.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Final.png -------------------------------------------------------------------------------- /icon/Policy/Game.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Game.png -------------------------------------------------------------------------------- /icon/Policy/Gmail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Gmail.png -------------------------------------------------------------------------------- /icon/Policy/Heart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Heart.png -------------------------------------------------------------------------------- /icon/Policy/Japan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Japan.png -------------------------------------------------------------------------------- /icon/Policy/Magic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Magic.png -------------------------------------------------------------------------------- /icon/Policy/Mail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Mail.png -------------------------------------------------------------------------------- /icon/Policy/Media.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Media.png -------------------------------------------------------------------------------- /icon/Policy/Qure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Qure.png -------------------------------------------------------------------------------- /icon/Policy/Ring.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Ring.png -------------------------------------------------------------------------------- /icon/Policy/SSID.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/SSID.png -------------------------------------------------------------------------------- /icon/Policy/ULB_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/ULB_1.png -------------------------------------------------------------------------------- /icon/Policy/WiFi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/WiFi.png -------------------------------------------------------------------------------- /img/TrafficQuery.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/img/TrafficQuery.png -------------------------------------------------------------------------------- /icon/Color/Available.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/Available.png -------------------------------------------------------------------------------- /icon/Color/Shandian.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/Shandian.png -------------------------------------------------------------------------------- /icon/Color/Speedtest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/Speedtest.png -------------------------------------------------------------------------------- /icon/Color/Urltest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/Urltest.png -------------------------------------------------------------------------------- /icon/Policy/AdBlack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/AdBlack.png -------------------------------------------------------------------------------- /icon/Policy/AdWhite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/AdWhite.png -------------------------------------------------------------------------------- /icon/Policy/Cellular.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Cellular.png -------------------------------------------------------------------------------- /icon/Policy/Download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Download.png -------------------------------------------------------------------------------- /icon/Policy/Final_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Final_1.png -------------------------------------------------------------------------------- /icon/Policy/Find_My.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Find_My.png -------------------------------------------------------------------------------- /icon/Policy/GitHub.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/GitHub.png -------------------------------------------------------------------------------- /icon/Policy/Global.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Global.png -------------------------------------------------------------------------------- /icon/Policy/Google.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Google.png -------------------------------------------------------------------------------- /icon/Policy/Nintendo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Nintendo.png -------------------------------------------------------------------------------- /icon/Policy/Rainbow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Rainbow.png -------------------------------------------------------------------------------- /icon/Policy/Rocket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Rocket.png -------------------------------------------------------------------------------- /icon/Policy/SSID_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/SSID_1.png -------------------------------------------------------------------------------- /icon/Policy/Taiwan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Taiwan.png -------------------------------------------------------------------------------- /icon/Policy/Telegram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Telegram.png -------------------------------------------------------------------------------- /icon/Policy/TikTok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/TikTok.png -------------------------------------------------------------------------------- /icon/Policy/TikTok_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/TikTok_1.png -------------------------------------------------------------------------------- /icon/Policy/TikTok_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/TikTok_2.png -------------------------------------------------------------------------------- /icon/Policy/Unlock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Unlock.png -------------------------------------------------------------------------------- /icon/Policy/YouTube.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/YouTube.png -------------------------------------------------------------------------------- /icon/Policy/iCloud.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/iCloud.png -------------------------------------------------------------------------------- /img/StreamingMedia.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/img/StreamingMedia.png -------------------------------------------------------------------------------- /icon/Color/Roundrobin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Color/Roundrobin.png -------------------------------------------------------------------------------- /icon/Policy/App_Store.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/App_Store.png -------------------------------------------------------------------------------- /icon/Policy/Available.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Available.png -------------------------------------------------------------------------------- /icon/Policy/China_Map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/China_Map.png -------------------------------------------------------------------------------- /icon/Policy/Hijacking.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Hijacking.png -------------------------------------------------------------------------------- /icon/Policy/Hong_Kong.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Hong_Kong.png -------------------------------------------------------------------------------- /icon/Policy/Microsoft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Microsoft.png -------------------------------------------------------------------------------- /icon/Policy/Rainbow_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Rainbow_1.png -------------------------------------------------------------------------------- /icon/Policy/Singapore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Singapore.png -------------------------------------------------------------------------------- /icon/Policy/Speedtest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Speedtest.png -------------------------------------------------------------------------------- /icon/Policy/TestFlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/TestFlight.png -------------------------------------------------------------------------------- /icon/Policy/Advertising.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Advertising.png -------------------------------------------------------------------------------- /icon/Policy/Apple_Fitness.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Apple_Fitness.png -------------------------------------------------------------------------------- /icon/Policy/Apple_Music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Apple_Music.png -------------------------------------------------------------------------------- /icon/Policy/Apple_Update.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Apple_Update.png -------------------------------------------------------------------------------- /icon/Policy/Available_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Available_1.png -------------------------------------------------------------------------------- /icon/Policy/GitHub_Letter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/GitHub_Letter.png -------------------------------------------------------------------------------- /icon/Policy/Google_Drive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Google_Drive.png -------------------------------------------------------------------------------- /icon/Policy/Google_Search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Google_Search.png -------------------------------------------------------------------------------- /icon/Policy/Netease_Music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Netease_Music.png -------------------------------------------------------------------------------- /icon/Policy/Pirate_Nation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Pirate_Nation.png -------------------------------------------------------------------------------- /icon/Policy/Quantumult_X.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Quantumult_X.png -------------------------------------------------------------------------------- /icon/Policy/Round_Robin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Round_Robin.png -------------------------------------------------------------------------------- /icon/Policy/TestFlight_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/TestFlight_1.png -------------------------------------------------------------------------------- /icon/Policy/TestFlight_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/TestFlight_2.png -------------------------------------------------------------------------------- /icon/Policy/United_States.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/United_States.png -------------------------------------------------------------------------------- /icon/Policy/YouTube_Music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/YouTube_Music.png -------------------------------------------------------------------------------- /icon/Policy/European_Union.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/European_Union.png -------------------------------------------------------------------------------- /icon/Policy/United_Nations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/United_Nations.png -------------------------------------------------------------------------------- /icon/Policy/YouTube_Letter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/YouTube_Letter.png -------------------------------------------------------------------------------- /icon/Policy/Netease_Music_Unlock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Softlyx/QuantumultX/HEAD/icon/Policy/Netease_Music_Unlock.png -------------------------------------------------------------------------------- /rewrite/boxjs.conf: -------------------------------------------------------------------------------- 1 | https?:\/\/boxjs\.(com|net) url script-analyze-echo-response https://raw.githubusercontent.com/chavyleung/scripts/master/box/chavy.boxjs.js 2 | -------------------------------------------------------------------------------- /AdBlock/SinaEmail.js: -------------------------------------------------------------------------------- 1 | [rewrite_local] 2 | ^https:\/\/.*\.gdt\.qq\.com\/gdt_mview.fcg url reject 3 | ^https?:\/\/.*\.pangolin-.*toutiao.*\.com url reject 4 | [mitm] 5 | 6 | hostname = *.pangolin-*toutiao*.com,*.gdt.qq.com 7 | -------------------------------------------------------------------------------- /AdBlock/Ysf.conf: -------------------------------------------------------------------------------- 1 | # > 云闪付 2 | hostname = wallet.95516.com, tysdk.95516.com, ads.95516.com 3 | # 默认关闭,只使用分流去云闪付广告 4 | ^https?:\/\/wallet\.95516\.com\/s\/wl\/icon\/long url reject 5 | ^https?:\/\/(tysdk|ads)\.95516\.com url reject-dict 6 | -------------------------------------------------------------------------------- /AdBlock/Aisizhushou.js: -------------------------------------------------------------------------------- 1 | let u = $request.url; 2 | let i = JSON.parse($response.body); 3 | if (u.includes("list-app-m.i4.cn")) { 4 | i.app && (i.app=[]) 5 | } 6 | i.adli && (i.adli=[]) 7 | i.list && (i.list= []) 8 | i.ad && (i.ad = []); 9 | $done({body: JSON.stringify(i)}); 10 | -------------------------------------------------------------------------------- /Task/dns-clear-cache.js: -------------------------------------------------------------------------------- 1 | const message = { 2 | action: "dns_clear_cache" 3 | }; 4 | 5 | $configuration.sendMessage(message).then(resolve => { 6 | if (resolve.ret) { 7 | console.log("dnsCache Cleared!"); 8 | } else { 9 | console.log(resolve.error); 10 | } 11 | $done(); 12 | }, reject => { 13 | $done(); 14 | }); 15 | -------------------------------------------------------------------------------- /rewrite/sub-store.snippet: -------------------------------------------------------------------------------- 1 | hostname=sub.store 2 | 3 | ^https?:\/\/sub\.store\/((download)|api\/(preview|sync|(utils\/node-info))) url script-analyze-echo-response https://github.com/sub-store-org/Sub-Store/releases/latest/download/sub-store-1.min.js 4 | ^https?:\/\/sub\.store url script-analyze-echo-response https://github.com/sub-store-org/Sub-Store/releases/latest/download/sub-store-0.min.js 5 | -------------------------------------------------------------------------------- /Crack/Javdb.js: -------------------------------------------------------------------------------- 1 | // 2023-07-30 18:35 2 | 3 | const url = $request.url; 4 | let header = $request.headers; 5 | 6 | if (url.includes("/api/v1/movies/") && url.includes("/play?")) { 7 | header.authorization = 8 | "Bearer eyJhbGciOiJIUzI1NiJ9.eyJpZCI6OTc1NDMwLCJ1c2VybmFtZSI6IndlaWd1YW5naHQifQ.lyfGvtZcz0SjiKNx-k9Aoe_UgcMyxwG4Xqq3lzvbIao"; 9 | $done({ headers: header }); 10 | } else { 11 | $done({}); 12 | } 13 | -------------------------------------------------------------------------------- /Crack/Nicegram.conf: -------------------------------------------------------------------------------- 1 | /****************************** 2 | 3 | 脚本功能:Nicegram: Unlimited Text+解锁订阅 4 | 5 | ******************************* 6 | 7 | [rewrite_local] 8 | 9 | https?:\/\/restore-access\.indream\.app\/restoreAccess\?id=\d{5,10} url echo-response text/json echo-response https://raw.githubusercontent.com/Softlyx/QuantumultX/main/Crack/Nicegram.js 10 | 11 | [mitm] 12 | hostname=restore-access.indream.app 13 | 14 | 15 | *******************************/ 16 | -------------------------------------------------------------------------------- /rule/TikTok.list: -------------------------------------------------------------------------------- 1 | #原链接https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/StreamingMedia/Video/TikTok.list 2 | # > TikTok 3 | USER-AGENT,TikTok* 4 | DOMAIN-SUFFIX,byteoversea.com 5 | DOMAIN-SUFFIX,ibytedtos.com 6 | DOMAIN-SUFFIX,ipstatp.com 7 | DOMAIN-SUFFIX,muscdn.com 8 | DOMAIN-SUFFIX,musical.ly 9 | DOMAIN-SUFFIX,tiktok.com 10 | DOMAIN-SUFFIX,tik-tokapi.com 11 | DOMAIN-SUFFIX,tiktokcdn.com 12 | DOMAIN-SUFFIX,tiktokv.com 13 | DOMAIN-KEYWORD,tiktokcdn- 14 | -------------------------------------------------------------------------------- /rewrite/UnblockURLinWeChat.conf: -------------------------------------------------------------------------------- 1 | # 原链接 https://raw.githubusercontent.com/zZPiglet/Task/master/UnblockURLinWeChat.conf 2 | # 跳过中间界面,支付宝链接、被封禁链接进行通知弹窗跳转,在微信中用快照显示被封禁的链接(可选),在微信中进行强制重定向(可选),群聊 / 扫码均可使用,可选项可在脚本 2、3 行更改,也可在 BoxJs 中更改。 3 | hostname = weixin110.qq.com, security.wechat.com, 4 | 5 | ^https\:\/\/(weixin110\.qq|security.wechat)\.com\/cgi-bin\/mmspamsupport-bin\/newredirectconfirmcgi\? url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/rewrite/UnblockURLinWeChat.js 6 | -------------------------------------------------------------------------------- /Crack/javdb.conf: -------------------------------------------------------------------------------- 1 | hostname = api.hechuangxinxi.xyz, jdforrepam.com 2 | 3 | # JavDB //api.hechuangxinxi.xyz, jdforrepam.com 4 | ^https:\/\/(api\.hechuangxinxi\.xyz|jdforrepam\.com)\/api\/(v1\/(ads|startup|users)|v4\/movies\/\w+) url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/Crack/javdb.js 5 | ^https:\/\/(api\.hechuangxinxi\.xyz|jdforrepam\.com)\/api\/v1\/movies\/\w+\/play\? url script-request-header https://raw.githubusercontent.com/Softlyx/QuantumultX/main/Crack/Javdb.js 6 | -------------------------------------------------------------------------------- /rule/Speedtest.list: -------------------------------------------------------------------------------- 1 | # 原链接https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Speedtest/Speedtest.list 2 | # NAME: Speedtest 3 | # UPDATED: 2022-08-05 22:36:43 4 | # HOST: 1 5 | # HOST-KEYWORD: 1 6 | # HOST-SUFFIX: 4 7 | # USER-AGENT: 1 8 | # TOTAL: 7 9 | HOST,speed.dler.io,Speedtest 10 | HOST-SUFFIX,fast.com,Speedtest 11 | HOST-SUFFIX,ooklaserver.net,Speedtest 12 | HOST-SUFFIX,speed.cloudflare.com,Speedtest 13 | HOST-SUFFIX,speed.dler.io,Speedtest 14 | HOST-KEYWORD,speedtest,Speedtest 15 | USER-AGENT,SpeedTest*,Speedtest 16 | HOST-KEYWORD,test-ipv6,Speedtest 17 | -------------------------------------------------------------------------------- /icon/tubiao.json: -------------------------------------------------------------------------------- 1 | { 2 | "name":"Softlyx Icon", 3 | "description":"Softlyx Icon", 4 | "icons": 5 | [ 6 | {"name":"GV.png", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/GV.png"}, 7 | {"name":"OpenAI.png", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/OpenAI.png"}, 8 | {"name":"kakaluote.png", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/kakaluote.png"}, 9 | {"name":"wukong.png", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/wukong.png"}, 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## 特别声明 2 | 3 | 1. 本项目内所有资源文件,禁止任何公众号、自媒体进行任何形式的转载、发布。 4 | 2. 编写本项目主要目的为学习和研究,无法保证项目内容的合法性、准确性、完整性和有效性。 5 | 3. 本项目涉及的数据由使用的个人或组织自行填写,本项目不对数据内容负责,包括但不限于数据的真实性、准确性、合法性。使用本项目所造成的一切后果,与本项目的所有贡献者无关,由使用的个人或组织完全承担。 6 | 4. 本项目中涉及的第三方硬件、软件等,与本项目没有任何直接或间接的关系。本项目仅对部署和使用过程进行客观描述,不代表支持使用任何第三方硬件、软件。使用任何第三方硬件、软件,所造成的一切后果由使用的个人或组织承担,与本项目无关。 7 | 5. 本项目中所有内容只供学习和研究使用,不得将本项目中任何内容用于违反国家/地区/组织等的法律法规或相关规定的其他用途。 8 | 6. 所有基于本项目源代码,进行的任何修改,为其他个人或组织的自发行为,与本项目没有任何直接或间接的关系,所造成的一切后果亦与本项目无关。 9 | 7. 所有直接或间接使用本项目的个人和组织,应24小时内完成学习和研究,并及时删除本项目中的所有内容。如对本项目的功能有需求,应自行开发相关功能。 10 | 8. 本项目保留随时对免责声明进行补充或更改的权利,直接或间接使用本项目内容的个人或组织,视为接受本项目的特别声明。 11 | -------------------------------------------------------------------------------- /rewrite/tieba_cookie.conf: -------------------------------------------------------------------------------- 1 | [mitm] 2 | 3 | hostname = c.tieba.baidu.com 4 | 5 | 6 | 7 | # 百度贴吧每日自动签到 8 | 9 | [rewrite_local] 10 | 11 | ^https?:\/\/(c\.tieba\.baidu\.com|180\.97\.\d+\.\d+)\/c\/s\/login url script-request-header https://raw.githubusercontent.com/Softlyx/QuantumultX/main/Task/tieba_signin.js 12 | ^https?:\/\/c\.tieba\.baidu\.com\/c\/s\/channelIconConfig url script-request-header https://raw.githubusercontent.com/Softlyx/QuantumultX/main/Task/tieba_signin.js 13 | ^https?:\/\/tiebac\.baidu\.com\/c\/u\/follow\/getFoldedMessageUserInfo url script-request-header https://raw.githubusercontent.com/Softlyx/QuantumultX/main/Task/tieba_signin.js 14 | -------------------------------------------------------------------------------- /AdBlock/Tieba.conf: -------------------------------------------------------------------------------- 1 | # 贴吧去广告-qx(>=iOS15) 2 | # qx加载本重写前,须同时加载对应的贴吧分流,否则不能完全去广告 3 | # 仓库地址 https://github.com/app2smile/rules 4 | # 开屏广告;推荐和吧内帖子列表的直播及广告;详情页直播/关联商品/广告;看图模式广告;首页和帖子详情页右下角悬浮广告;部分吧内的置顶/最新中间的广告/head图片广告/head直播 5 | 6 | hostname = tiebac.baidu.com 7 | ^http(s:\/\/tiebac|:\/\/c\.tieba)\.baidu\.com\/(c\/f\/(frs\/(page|threadlist|generalTabList)|pb\/page|excellent\/personalized)$|tiebaads\/commonbatch|c\/s\/sync$) url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Tieba/Tieba.js 8 | ^http(s:\/\/tiebac|:\/\/c\.tieba)\.baidu\.com\/c\/f\/(frs\/(page|threadlist|generalTabList)|pb\/page|excellent\/personalized)\?cmd url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Tieba/TiebaProto.js 9 | -------------------------------------------------------------------------------- /Crack/AppRaven.js: -------------------------------------------------------------------------------- 1 | /*********************************************** 2 | 3 | 4 | [rewrite_local] 5 | 6 | ^https?:\/\/*appraven\.net\/AppRaven\/(app|social|buy) url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/Crack/AppRaven.js 7 | 8 | 9 | [mitm] 10 | 11 | hostname = *appraven.net 12 | 13 | ***********************************************/ 14 | var modifiedHeaders = $request.headers; 15 | const operationName = modifiedHeaders['x-apollo-operation-name'] || modifiedHeaders['X-APOLLO-OPERATION-NAME']; 16 | 17 | if (operationName == "GetCurrentUser"||operationName == "GetUserById") { 18 | var body = $response.body.replace(/"premium":false/g, '"premium":true'); 19 | $done({ body: body }); 20 | } else { 21 | $done({}); 22 | } 23 | -------------------------------------------------------------------------------- /Crack/AoRuan.js: -------------------------------------------------------------------------------- 1 | /**************************************** 2 | 3 | 项目功能:傲软合集 解锁VIP 4 | 下载地址:http://mtw.so/5ukhax 5 | 使用声明:仅供学习与交流,请勿转载与贩卖!⚠️⚠️⚠️ 6 | 7 | ***************************************** 8 | 9 | [rewrite_local] 10 | 11 | ^https?:\/\/.*\.aoscdn\.com\/base\/vip\/client\/authorizations url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/Crack/AoRuan.js 12 | 13 | [mitm] 14 | 15 | hostname = *.aoscdn.com 16 | 17 | ****************************************/ 18 | 19 | var body = $response.body; 20 | var obj = JSON.parse(body); 21 | 22 | obj.data.is_activated = 1; 23 | obj.data.expire_time = "2099-10-23 09:09:09"; 24 | obj.data.durations = 99999; 25 | obj.data.expired_at = 253395492741; 26 | 27 | body = JSON.stringify(obj); 28 | $done({body}); 29 | -------------------------------------------------------------------------------- /rewrite/getCookie.conf: -------------------------------------------------------------------------------- 1 | [mitm] 2 | 3 | hostname = auth.aliyundrive.com,app.bilibili.com,m.bilibili.com 4 | 5 | 6 | [rewrite_local] 7 | 8 | # 阿里云盘 hostname = auth.aliyundrive.com 9 | ^https:\/\/auth.aliyundrive.com\/v2\/account\/token url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/rewrite/ALiDriveCk.js 10 | 11 | # 哔哩哔哩 hostname = app.bilibili.com,m.bilibili.com 12 | # 原链接 https://raw.githubusercontent.com/ClydeTime/Quantumult/main/Task/Remote_Cookie.conf 13 | ^https?:\/\/app\.bilibili\.com\/x\/resource\/domain\? url script-request-header https://raw.githubusercontent.com/ClydeTime/Quantumult/main/Script/Task/BiliBili.js 14 | ^https?:\/\/m.bilibili.com/$ url script-request-header https://raw.githubusercontent.com/ClydeTime/Quantumult/main/Script/Task/BiliBili.js 15 | -------------------------------------------------------------------------------- /rule/Unbreak.list: -------------------------------------------------------------------------------- 1 | # 原链接https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Unbreak.list 2 | # 规则修正 3 | # Unbreak 4 | # > General 5 | DOMAIN,app.adjust.com 6 | DOMAIN,app.appsflyer.com 7 | DOMAIN,bdtj.tagtic.cn 8 | # > Alibaba 9 | DOMAIN,log.mmstat.com 10 | DOMAIN,sycm.mmstat.com 11 | # > Google 12 | DOMAIN-SUFFIX,blog.google // Google Blog 13 | DOMAIN-SUFFIX,googletraveladservices.com // Google Flights 14 | DOMAIN,clientservices.googleapis.com 15 | DOMAIN,update.googleapis.com 16 | # >> Paramount+ 17 | # DOMAIN,pubads.g.doubleclick.net 18 | # > Tencent 19 | DOMAIN,fairplay.l.qq.com 20 | DOMAIN,livew.l.qq.com 21 | DOMAIN,vd.l.qq.com 22 | DOMAIN,vi.l.qq.com 23 | # > Strava 24 | DOMAIN,analytics.strava.com 25 | # > Umeng 26 | DOMAIN,msg.umeng.com 27 | DOMAIN,msg.umengcloud.com 28 | # > 微博 29 | host, sdkapp.uve.weibo.com, direct 30 | -------------------------------------------------------------------------------- /Task/115.py: -------------------------------------------------------------------------------- 1 | import subprocess 2 | import random 3 | import time 4 | 5 | # 定义多个账号的认证信息列表 6 | authentication_cookies = [ 7 | "","" 8 | # 添加更多账号的认证信息 9 | ] 10 | 11 | # 随机生成延迟时间,单位为秒 12 | delay = random.randint(1800, 7200) # 随机生成30分钟到2小时的延迟时间 13 | print(f"将在{delay // 60}分钟后执行签到任务...") 14 | 15 | # 等待随机延迟时间 16 | time.sleep(delay) 17 | 18 | # 循环处理每个账号的签到 19 | for idx, cookie in enumerate(authentication_cookies, start=1): 20 | # 构建命令 21 | command = f'p115 check -c "{cookie}"' 22 | 23 | # 调用命令并获取输出 24 | result = subprocess.run(command, shell=True, capture_output=True, text=True) 25 | 26 | # 解析输出 27 | output = result.stdout.strip() 28 | if result.returncode == 0: 29 | print(f"账号{idx}签到成功!") 30 | print("返回信息:") 31 | print(output) 32 | else: 33 | print(f"账号{idx}签到失败。错误信息:") 34 | print(result.stderr) 35 | print() # 打印空行,用于分隔不同账号的输出 36 | -------------------------------------------------------------------------------- /rule/AdRule.list: -------------------------------------------------------------------------------- 1 | #圈X分流 安全浏览 解除限制 2 | host-suffix, safebrowsing.urlsec.qq.com 3 | host-suffix, safebrowsing.googleapis.com 4 | host-suffix, lookup.api.bsb.baidu.com 5 | 6 | # 爱思极速版去开屏广告 7 | host, d.image.i4.cn 8 | 9 | # 知乎AD屏蔽 10 | domain, 118.89.204.198, 广告拦截 11 | domain-keyword, 118.89.204.198 12 | ip-cidr, 118.89.204.198/32 13 | host, appcloud2.in.zhihu.com 14 | host, mqtt.zhihu.com 15 | host, sugar.zhihu.com 16 | user-agent, avos* 17 | 18 | # HDOBOX影视App去广告 19 | host-suffix, applovin.com 20 | host-suffix, applvn.com 21 | host-suffix, doubleclick.net 22 | 23 | # 网络播放去广告 24 | host, googleads.g.doubleclick.net 25 | 26 | # YouTube 去底部广告 27 | host-suffix, ehg-youtube.hitbox.com 28 | 29 | # 避免迅雷版权问题 30 | host, hub5idx.v6.shub.sandai.net 31 | host, hub5emu.v6.shub.sandai.net 32 | host, hub5btmain.v6.shub.sandai.net 33 | 34 | # 贴吧AD处理 35 | ip-cidr,180.76.76.200/32 36 | host,im.tieba.baidu.com 37 | 38 | # 高德地图 39 | host, amdc.m.taobao.com 40 | 41 | # 新浪邮箱 42 | host-keyword, pangolin 43 | host-suffix, gdt.qq.com 44 | -------------------------------------------------------------------------------- /AdBlock/JavDB.js: -------------------------------------------------------------------------------- 1 | /************************************* 2 | 项目名称:JavDB-去广告 3 | 下载地址:https://javdb008.com 4 | 脚本作者:chxm1023 5 | 电报频道:https://t.me/chxm1023 6 | 使用声明:⚠️仅供参考,🈲转载与售卖! 7 | ************************************** 8 | 9 | [rewrite_local] 10 | ^https?:\/\/api\.((pxxgg|yijingluowangluo)\.xyz|ujvnmkx\.cn)\/api url script-response-body https://raw.githubusercontent.com/chxm1023/Advertising/main/JavDB.js 11 | 12 | [mitm] 13 | hostname = api.pxxgg.xyz, api.ujvnmkx.cn, api.yijingluowangluo.xyz 14 | 15 | *************************************/ 16 | 17 | 18 | var body = $response.body; 19 | var chxm1023 = JSON.parse(body); 20 | 21 | const ada = '/ads'; 22 | const adb = '/startup'; 23 | 24 | //横幅广告 25 | if ($request.url.indexOf(ada) != -1){ 26 | chxm1023.data.ads = {}; 27 | } 28 | 29 | //公告,开屏 30 | if ($request.url.indexOf(adb) != -1){ 31 | chxm1023.data.splash_ad.enabled = false; 32 | chxm1023.data.splash_ad.overtime = 0; 33 | chxm1023.data.splash_ad.ad = {}; 34 | chxm1023.data.feedback.placeholder = ""; 35 | chxm1023.data.settings.UPDATE_DESCRIPTION = ""; 36 | chxm1023.data.settings.NOTICE = ""; 37 | } 38 | 39 | $done({body : JSON.stringify(chxm1023)}); 40 | -------------------------------------------------------------------------------- /Crack/ScannerPro.js: -------------------------------------------------------------------------------- 1 | /**************************** 2 | 3 | CamScanner 解锁部分高级特权 4 | 5 | *************************** 6 | 7 | [rewrite_local] 8 | ^https:\/\/(api|api-cs)\.intsig\.net\/purchase\/cs\/query_property\? url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/Crack/ScannerPro.js 9 | 10 | [mitm] 11 | hostname = ap*.intsig.net 12 | 13 | **************************/ 14 | let body = JSON.parse($response.body) 15 | body.data.psnl_vip_property = {"renew_method": "appstore", 16 | "initial_tm": "1614867690", 17 | "svip": 1, 18 | "auto_renewal": true, 19 | "ms_first_pay": 0, 20 | "pending": 0, 21 | "group2_paid": 0, 22 | "inherited_flag": 0, 23 | "nxt_renew_tm": "9915126887", 24 | "level_info": { 25 | "level": 1, 26 | "days": 1, 27 | "end_days": 30 28 | }, 29 | "group1_paid": 1, 30 | "ys_first_pay": 0, 31 | "renew_type": "year", 32 | "expiry": 8487890487, 33 | "grade": 2, 34 | "last_payment_method": "appstore", 35 | "product_id": "com.intsig.camscanner.premiums.oneyear.autorenewable.svip.low"} 36 | $done({body:JSON.stringify(body)}) 37 | -------------------------------------------------------------------------------- /rule/Twitter.list: -------------------------------------------------------------------------------- 1 | # 原链接https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Twitter/Twitter.list 2 | # NAME: Twitter 3 | # UPDATED: 2022-08-05 22:36:44 4 | # HOST-KEYWORD: 1 5 | # HOST-SUFFIX: 18 6 | # IP-CIDR: 8 7 | # TOTAL: 27 8 | HOST-SUFFIX,ads-twitter.com,Twitter 9 | HOST-SUFFIX,periscope.tv,Twitter 10 | HOST-SUFFIX,pscp.tv,Twitter 11 | HOST-SUFFIX,t.co,Twitter 12 | HOST-SUFFIX,tellapart.com,Twitter 13 | HOST-SUFFIX,tweetdeck.com,Twitter 14 | HOST-SUFFIX,twimg.co,Twitter 15 | HOST-SUFFIX,twimg.com,Twitter 16 | HOST-SUFFIX,twimg.org,Twitter 17 | HOST-SUFFIX,twitpic.com,Twitter 18 | HOST-SUFFIX,twitter.com,Twitter 19 | HOST-SUFFIX,twitter.jp,Twitter 20 | HOST-SUFFIX,twitterinc.com,Twitter 21 | HOST-SUFFIX,twitteroauth.com,Twitter 22 | HOST-SUFFIX,twitterstat.us,Twitter 23 | HOST-SUFFIX,twtrdns.net,Twitter 24 | HOST-SUFFIX,twttr.com,Twitter 25 | HOST-SUFFIX,vine.co,Twitter 26 | HOST-KEYWORD,twitter,Twitter 27 | IP-CIDR,104.244.42.0/21,Twitter 28 | IP-CIDR,192.133.76.0/22,Twitter 29 | IP-CIDR,199.16.156.0/22,Twitter 30 | IP-CIDR,199.59.148.0/22,Twitter 31 | IP-CIDR,199.96.56.0/21,Twitter 32 | IP-CIDR,202.160.128.0/22,Twitter 33 | IP-CIDR,209.237.192.0/19,Twitter 34 | IP-CIDR,69.195.160.0/19,Twitter 35 | -------------------------------------------------------------------------------- /AdBlock/YoutubeAds.conf: -------------------------------------------------------------------------------- 1 | // 原链接https://raw.githubusercontent.com/ddgksf2013/Rewrite/master/AdBlock/YoutubeAds.conf 2 | ######################################## 3 | #应用名称: Youtube Block AD 4 | #更新时间: 2023-01-27 5 | #使用说明: 用于视频、瀑布流、搜索、播放页、短视频及贴片广告、视频自动PIP、后台播放,不适用允许 UDP 转发的节点及 Premium 6 | #使用说明: 如果视频广告仍然存在,请在QuantumultX配置文件的[general]下添加 udp_drop_list=443 7 | ######################################## 8 | 9 | hostname = -redirector*.googlevideo.com,*.googlevideo.com,www.youtube.com,s.youtube.com,youtubei.googleapis.com 10 | 11 | # ======= 视频广告请求 ======= # 12 | (^https?:\/\/[\w-]+\.googlevideo\.com\/(?!dclk_video_ads).+?)&ctier=L(&.+?),ctier,(.+) url 302 $1$2$3 13 | ^https?:\/\/[\w-]+\.googlevideo\.com\/(?!(dclk_video_ads|videoplayback\?)).+&oad url reject-200 14 | 15 | 16 | # ======= 视频PIP|后台播放|瀑布流|搜索|播放页|短视频|贴片广告 ======= # 17 | ^https:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/(browse|next|player|search|reel\/reel_watch_sequence|guide|account\/get_setting) url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Youtube/Youtube.js 18 | 19 | 20 | # ======= 通用广告请求 ======= # 21 | ^https?:\/\/(www|s)\.youtube\.com\/api\/stats\/ads url reject-200 22 | ^https?:\/\/(www|s)\.youtube\.com\/(pagead|ptracking) url reject-200 23 | ^https?:\/\/s\.youtube\.com\/api\/stats\/qoe\?adcontext url reject-200 24 | -------------------------------------------------------------------------------- /rule/Apple.list: -------------------------------------------------------------------------------- 1 | # 原链接https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Extra/Apple/AppStoreConnect.list 2 | # 原链接https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Extra/Apple/AppStore.list 3 | # 原链接https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Extra/Apple/Apple.list 4 | 5 | # Apple 6 | DOMAIN-SUFFIX,aaplimg.com 7 | DOMAIN-SUFFIX,apple.co 8 | DOMAIN-SUFFIX,apple.com 9 | DOMAIN-SUFFIX,apple.com.cn 10 | DOMAIN-SUFFIX,apple-cloudkit.com 11 | DOMAIN-SUFFIX,apple-livephotoskit.com 12 | DOMAIN-SUFFIX,apple-mapkit.com 13 | DOMAIN-SUFFIX,applemusic.com 14 | DOMAIN-SUFFIX,appstore.com 15 | DOMAIN-SUFFIX,apzones.com 16 | DOMAIN-SUFFIX,cdn-apple.com 17 | DOMAIN-SUFFIX,icloud.com 18 | DOMAIN-SUFFIX,icloud.com.cn 19 | DOMAIN-SUFFIX,icloud-content.com 20 | DOMAIN-SUFFIX,me.com 21 | DOMAIN-SUFFIX,mzstatic.com 22 | DOMAIN-KEYWORD,apple.com.akadns.net 23 | DOMAIN-KEYWORD,apple.com.edgekey.net 24 | DOMAIN-KEYWORD,apple-support.akadns.net 25 | DOMAIN-KEYWORD,icloud.com.akadns.net 26 | # App Store 27 | # Store content such as apps, books, and music 28 | DOMAIN-SUFFIX,apps.apple.com 29 | DOMAIN-SUFFIX,itunes.apple.com 30 | DOMAIN-SUFFIX,itunes-apple.com.akadns.net 31 | DOMAIN-SUFFIX,mzstatic.com 32 | DOMAIN,ppq.apple.com // Enterprise App validation 33 | # > App Store Connect 34 | DOMAIN,appstoreconnect.apple.com 35 | DOMAIN,iosapps-ssl.itunes.apple.com 36 | DOMAIN,itcmobile.itunes.apple.com 37 | -------------------------------------------------------------------------------- /Crack/WuFanZhangYue.js: -------------------------------------------------------------------------------- 1 | /**************************************** 2 | 3 | 下载地址: http://mtw.so/5Btdhc 4 | 修改内容:解锁永久会员 5 | 注意事项:每次解锁需启动圈叉 6 | 7 | ***************************************** 8 | 9 | [rewrite_local] 10 | # 悟饭游戏破解VIP A+ 11 | http:\/\/iosv2\.cjapi\.wufan88\.com\/user\/.+ url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/Crack/WuFanZhangYue.js 12 | 13 | 14 | [mitm] 15 | 16 | hostname = iosv2.cjapi.wufan88.com 17 | 18 | 19 | ****************************************/ 20 | 21 | 22 | 23 | eval(function(a){a=unescape(a);var c=String.fromCharCode(a.charCodeAt(0)-a.length);for(var i=1;i"LoginCard"==a.dataType)),obj.data?.pull3?.msgs&&(obj.data.pull3.msgs=[]),obj.data?.mapBizList&&(obj.data.mapBizList=[]),$done({body:JSON.stringify(obj)});else if(-1!=$request.url.indexOf("profile/index/node"))delete obj.data.tipData,obj.data?.cardList&&(obj.data.cardList=Object.values(obj.data.cardList).filter(a=>"MyOrderCard"==a.dataType||"GdRecommendCard"==a.dataType)),$done({body:JSON.stringify(obj)});else if(-1!=$request.url.indexOf("new_hotword"))obj.data?.header_hotword&&(obj.data.header_hotword=[]),$done({body:JSON.stringify(obj)});else if(-1!=$request.url.indexOf("ws/promotion-web/resource")){let e=["icon","banner","tips","popup","bubble"];for(let o of e)obj.data?.[o]&&(obj.data[o]=[]);$done({body:JSON.stringify(obj)})}else if(-1!=$request.url.indexOf("ws/msgbox/pull"))obj.msgs&&(obj.msgs=[]),obj.pull3?.msgs&&(obj.pull3.msgs=[]),$done({body:JSON.stringify(obj)});else if(-1!=$request.url.indexOf("ws/message/notice/list"))obj.data?.noticeList&&(obj.data.noticeList=[]),$done({body:JSON.stringify(obj)});else if(-1!=$request.url.indexOf("ws/shield/frogserver/aocs")){for(let t of["gd_notch_logo","home_business_position_config","his_input_tip"])obj.data?.[t]&&(obj.data[t]={status:1,version:"",value:""});$done({body:JSON.stringify(obj)})}else if(-1!=$request.url.indexOf("search/nearbyrec_smart")){let i=["coupon","scene","activity","commodity_rec"];obj.data&&(i.forEach(a=>{delete obj.data[a]}),obj.data.modules&&(obj.data.modules=obj.data.modules.filter(a=>!i.includes(a)))),$done({body:JSON.stringify(obj)})}else $done({}); 6 | -------------------------------------------------------------------------------- /rule/Emby.list: -------------------------------------------------------------------------------- 1 | # Acemby 2 | DOMAIN-SUFFIX,acemby.org 3 | DOMAIN-SUFFIX,zox.show 4 | 5 | # BDD 6 | DOMAIN-SUFFIX,bddup.com 7 | IP-CIDR,124.95.187.106/32,no-resolve 8 | 9 | # Cc公益服 10 | DOMAIN-KEYWORD,ccemby.tk 11 | 12 | # Didi影视 13 | DOMAIN-SUFFIX,newwan.top 14 | 15 | # G国际服 16 | DOMAIN-SUFFIX,11pshare.tk 17 | DOMAIN-SUFFIX,semby.ink 18 | IP-CIDR,18.141.10.156/32,no-resolve 19 | 20 | # Hxd 21 | DOMAIN-SUFFIX,bili.rip 22 | 23 | # ikoumi 24 | DOMAIN-SUFFIX,ikoumi.com 25 | 26 | # L垃圾影音 27 | DOMAIN-SUFFIX,emby.ml 28 | # LION 29 | IP-CIDR,139.9.61.95/32,no-resolve 30 | 31 | # NMG Flim 32 | DOMAIN-SUFFIX,goodisp.org 33 | 34 | # Magci 35 | DOMAIN-SUFFIX,freetz.top 36 | # MJJ EMBY 37 | DOMAIN-SUFFIX,mjjemby.org 38 | # Misty 39 | DOMAIN-SUFFIX,misty.ltd 40 | # Misakaf 41 | DOMAIN-SUFFIX,misakaf.org 42 | # Mulgore 43 | DOMAIN-KEYWORD,202.61.255.248 44 | IP-CIDR,202.61.255.248/32,no-resolve 45 | DOMAIN-SUFFIX,mulgore.net 46 | # Moonlight 47 | DOMAIN-SUFFIX,1100000.xyz 48 | 49 | # Odyssey+ 50 | DOMAIN-SUFFIX, odysseyplus.site 51 | # Orange 52 | DOMAIN-SUFFIX,embytv.cf 53 | # Onlyfans 54 | DOMAIN-SUFFIX,happyav.eu.org 55 | 56 | # Paul 57 | DOMAIN-SUFFIX,embypaul.top 58 | DOMAIN-SUFFIX,bookpan.top 59 | DOMAIN-SUFFIX,imetyou.top 60 | # P品云 61 | DOMAIN-SUFFIX,embyplus.club 62 | # Peach公益服 63 | DOMAIN-SUFFIX,embymv.tk 64 | IP-CIDR, 209.97.173.144/32,no-resolve 65 | # Polo 66 | DOMAIN-SUFFIX,poloemby.xyz 67 | # Pornemby-网抑云 68 | IP-CIDR,195.201.86.86/32,no-resolve 69 | 70 | # 忍者 71 | IP-CIDR, 136.243.73.179/32,no-resolve 72 | 73 | # 色拉 74 | DOMAIN-SUFFIX,selaplane.com 75 | # Studyfun 76 | DOMAIN-SUFFIX,studyfun.live 77 | 78 | # T凸凸 79 | DOMAIN-SUFFIX,usxx.xyz 80 | DOMAIN-SUFFIX,xxlife.gay 81 | 82 | # Viper 83 | DOMAIN-SUFFIX,agon.cf 84 | # V6 85 | DOMAIN-SUFFIX,cybera.top 86 | 87 | # Y野鸡服 88 | IP-CIDR,152.67.227.57/32,no-resolve 89 | DOMAIN-SUFFIX,20120714.xyz 90 | 91 | # Z纸片人 92 | DOMAIN-SUFFIX,embyplus.org 93 | DOMAIN,gd.9521732.xyz 94 | 95 | # 通用 96 | DOMAIN-KEYWORD,emby 97 | DOMAIN-KEYWORD,jellyfin 98 | DOMAIN-KEYWORD,alist 99 | -------------------------------------------------------------------------------- /Crack/Emby.js: -------------------------------------------------------------------------------- 1 | /************************************* 2 | * @author: KleinerSource 3 | * 4 | * @fileoverview Example to compose response for rewrite of script-echo-response. 5 | * 6 | * $request.url, $notify(title, subtitle, message), console.log(message), $done(response) 7 | * 8 | * @supported Quantumult X (v1.0.3-build141) 9 | * 10 | * Emby 解锁播放权限 11 | # 12 | ************************************** 13 | 14 | [rewrite_local] 15 | 16 | ^https:\/\/mb3admin\.com\/admin\/service(\/registration\/validateDevice|\/appstore\/register|\/registration\/validate|\/registration\/getStatus|\/supporter\/retrievekey) url script-echo-response https://raw.githubusercontent.com/Softlyx/QuantumultX/main/Crack/Emby.js 17 | 18 | [mitm] 19 | 20 | hostname= mb3admin.com 21 | 22 | *************************************/ 23 | 24 | 25 | var url = $request.url; 26 | 27 | const myStatus = "HTTP/1.1 200 OK"; 28 | const myHeaders = { 29 | "Crack": "KS", 30 | "Access-Control-Allow-Origin": "*", 31 | "Access-Control-Allow-Headers": "*", 32 | "Access-Control-Allow-Method": "*", 33 | "Access-Control-Allow-Credentials": "true" 34 | }; 35 | 36 | 37 | if (url.indexOf('/admin/service/registration/validateDevice') != -1) { 38 | obj = { 39 | "cacheExpirationDays": 365, 40 | "message": "Device Valid", 41 | "resultCode": "GOOD" 42 | }; 43 | } else if (url.indexOf('/admin/service/appstore/register') != -1) { 44 | obj = { 45 | "featId":"", 46 | "registered":true, 47 | "expDate":"2099-09-09", 48 | "key":"" 49 | }; 50 | } else if (url.indexOf('/admin/service/registration/validate') != -1) { 51 | obj = { 52 | "featId":"", 53 | "registered":true, 54 | "expDate":"2099-09-09", 55 | "key":"" 56 | }; 57 | } else if (url.indexOf('/admin/service/registration/getStatus') != -1){ 58 | obj = { 59 | "planType":"Cracked", 60 | "deviceStatus":"", 61 | "subscriptions":[] 62 | }; 63 | } else if (url.indexOf('/admin/service/supporter/retrievekey') != -1){ 64 | obj = { 65 | "Success":false, 66 | "ErrorMessage":"Supporter not found" 67 | }; 68 | } 69 | 70 | myData = JSON.stringify(obj); 71 | 72 | const myResponse = { 73 | status: myStatus, 74 | headers: myHeaders, // Optional. 75 | body: myData // Optional. 76 | }; 77 | 78 | $done(myResponse); 79 | -------------------------------------------------------------------------------- /rule/China.list: -------------------------------------------------------------------------------- 1 | # 原链接https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/China.list 2 | # China Area Network 3 | DOMAIN-SUFFIX,flyert.com 4 | DOMAIN-SUFFIX,gandi.net 5 | DOMAIN-SUFFIX,snapdrop.net 6 | DOMAIN,download.jetbrains.com 7 | DOMAIN,origin-a.akamaihd.net // Origin Download 8 | # ---(Microsoft)--- 9 | # > Outlook 10 | DOMAIN,outlook.office365.com 11 | DOMAIN,smtp-mail.outlook.com 12 | DOMAIN,smtp.office365.com 13 | # > Windows Server Update Services 14 | DOMAIN-SUFFIX,dl.delivery.mp.microsoft.com 15 | DOMAIN-SUFFIX,update.microsoft.com 16 | DOMAIN-SUFFIX,windowsupdate.com 17 | DOMAIN-SUFFIX,windowsupdate.microsoft.com 18 | DOMAIN,download.microsoft.com 19 | DOMAIN,wustat.windows.com 20 | DOMAIN,ntservicepack.microsoft.com 21 | # ------ 22 | # > PayPal 23 | DOMAIN-SUFFIX,paypal.com 24 | DOMAIN-SUFFIX,paypal.me 25 | DOMAIN-SUFFIX,paypal-mktg.com 26 | DOMAIN-SUFFIX,paypalobjects.com 27 | # > Steam 28 | DOMAIN-SUFFIX,cm.steampowered.com // Steam Connect Manager Servers 29 | DOMAIN,api.steampowered.com 30 | # > Tencent 31 | IP-CIDR,182.254.116.0/24,no-resolve 32 | IP-CIDR,203.205.238.0/23,no-resolve 33 | IP-CIDR,203.205.254.0/23,no-resolve 34 | # > IP Query 35 | DOMAIN,ip.istatmenus.app 36 | DOMAIN,sms.imagetasks.com 37 | # > Speed Test 38 | DOMAIN-SUFFIX,netspeedtestmaster.com 39 | DOMAIN,speedtest.macpaw.com 40 | # > Private Tracker 41 | DOMAIN-SUFFIX,acg.rip 42 | DOMAIN-SUFFIX,animebytes.tv 43 | DOMAIN-SUFFIX,awesome-hd.me 44 | DOMAIN-SUFFIX,broadcasthe.net 45 | DOMAIN-SUFFIX,chdbits.co 46 | DOMAIN-SUFFIX,classix-unlimited.co.uk 47 | DOMAIN-SUFFIX,comicat.org 48 | DOMAIN-SUFFIX,empornium.me 49 | DOMAIN-SUFFIX,gazellegames.net 50 | DOMAIN-SUFFIX,hdbits.org 51 | DOMAIN-SUFFIX,hdchina.org 52 | DOMAIN-SUFFIX,hddolby.com 53 | DOMAIN-SUFFIX,hdhome.org 54 | DOMAIN-SUFFIX,hdsky.me 55 | DOMAIN-SUFFIX,icetorrent.org 56 | DOMAIN-SUFFIX,jpopsuki.eu 57 | DOMAIN-SUFFIX,keepfrds.com 58 | DOMAIN-SUFFIX,madsrevolution.net 59 | DOMAIN-SUFFIX,morethan.tv 60 | DOMAIN-SUFFIX,m-team.cc 61 | DOMAIN-SUFFIX,myanonamouse.net 62 | DOMAIN-SUFFIX,nanyangpt.com 63 | DOMAIN-SUFFIX,ncore.cc 64 | DOMAIN-SUFFIX,open.cd 65 | DOMAIN-SUFFIX,ourbits.club 66 | DOMAIN-SUFFIX,passthepopcorn.me 67 | DOMAIN-SUFFIX,privatehd.to 68 | DOMAIN-SUFFIX,pterclub.com 69 | DOMAIN-SUFFIX,redacted.ch 70 | DOMAIN-SUFFIX,springsunday.net 71 | DOMAIN-SUFFIX,tjupt.org 72 | DOMAIN-SUFFIX,totheglory.im 73 | 74 | # Just for Quantumult X, move GEOIP,CN to the bottom (local filter at the top by default) 75 | GEOIP,CN,no-resolve 76 | -------------------------------------------------------------------------------- /AdBlock/ALiDrive.js: -------------------------------------------------------------------------------- 1 | /************************************* 2 | 3 | 项目名称:阿里云盘 净化/解锁SVIP 4 | 脚本作者:chxm1023 5 | 使用声明:⚠️仅供参考,🈲转载与售卖! 6 | 使用说明:非一次性解锁,每次解锁需打开脚本 7 | 8 | ************************************** 9 | 10 | [rewrite_local] 11 | ^https?:\/\/(api|member)\.aliyundrive\.com url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/ALiDrive.js 12 | 13 | [mitm] 14 | hostname = *.aliyundrive.com 15 | 16 | *************************************/ 17 | 18 | 19 | var body = $response.body; 20 | var chxm1023 = JSON.parse(body); 21 | 22 | const huanying = '/users/apps/welcome'; 23 | const chatiao = '/users/tools'; 24 | const shouye = '/users/home'; 25 | const vipa = '/users/vip/info'; 26 | const vipb = '/users/me/vip/info'; 27 | const bofang = '/users/feature/list'; 28 | const tubiao = '/users/me'; 29 | 30 | if ($request.url.indexOf(huanying) != -1){ 31 | chxm1023.title = "Softly"; 32 | chxm1023.description = "特别说明:解锁部分功能,不完全解锁🔔"; 33 | } 34 | 35 | if ($request.url.indexOf(chatiao) != -1){ 36 | delete chxm1023.result.guideInfo; 37 | } 38 | 39 | if ($request.url.indexOf(shouye) != -1){ 40 | delete chxm1023.recentUsed; 41 | delete chxm1023.recentSaved; 42 | delete chxm1023.activities; 43 | delete chxm1023.result; 44 | delete chxm1023.myBackup; 45 | delete chxm1023.success; 46 | delete chxm1023.deviceBackupChannel; 47 | } 48 | 49 | if ($request.url.indexOf(vipa) != -1){ 50 | chxm1023 = { 51 | "status" : "normal", 52 | "identity" : "svip", 53 | "icon" : "https://gw.alicdn.com/imgextra/i3/O1CN01iPKCuZ1urjDgiry5c_!!6000000006091-2-tps-60-60.png", 54 | "level" : "8t", 55 | "vipList" : [ 56 | { 57 | "code" : "svip.8t", 58 | "promotedAt" : 1675469645, 59 | "expire" : 4092599349, 60 | "name" : "超级会员" 61 | } 62 | ], 63 | "mediumIcon" : "https://gw.alicdn.com/imgextra/i4/O1CN01Mk916Y1c99aVBrgxM_!!6000000003557-2-tps-222-60.png" 64 | }; 65 | } 66 | 67 | if ($request.url.indexOf(vipb) != -1){ 68 | chxm1023 = { 69 | "rightButtonText" : "立即续费", 70 | "identity" : "svip", 71 | "level" : "8t", 72 | "titleNotice" : "SVIP", 73 | "titleImage" : "https://gw.alicdn.com/imgextra/i1/O1CN01Z2Yv4u1jrJ5S5TYpo_!!6000000004601-2-tps-216-60.png", 74 | "description" : "有效期至2099-09-09" 75 | }; 76 | } 77 | 78 | if ($request.url.indexOf(bofang) != -1){ 79 | body = body.replace(/\"name":".*?"/g, '\"name":"svip"').replace(/\"intercept":\w+/g, '\"intercept":false'); 80 | $done({body}); 81 | } 82 | 83 | if ($request.url.indexOf(tubiao) != -1){ 84 | chxm1023.membershipIdentity = "svip"; 85 | chxm1023.membershipIcon = "https://gw.alicdn.com/imgextra/i3/O1CN01iPKCuZ1urjDgiry5c_!!6000000006091-2-tps-60-60.png"; 86 | } 87 | 88 | 89 | $done({body : JSON.stringify(chxm1023)}); 90 | -------------------------------------------------------------------------------- /AdBlock/Amap.conf: -------------------------------------------------------------------------------- 1 | // ==UserScript== 2 | // @ScriptName 高德地图☆净化 3 | // @UpdateTime 2023-02-08 4 | // @Suitable 自行观看“# > ”注释内容 5 | // @ScriptURL https://github.com/ddgksf2013/Rewrite/raw/master/AdBlock/Amap.conf 6 | // ==/UserScript== 7 | 8 | 9 | hostname=*.amap.com 10 | 11 | 12 | # > 高德地图_请自行添加本地分流 13 | ;host, amdc.m.taobao.com, reject 14 | 15 | 16 | # > 高德地图_底部tab栏角标 17 | ^https?:\/\/.*\.amap\.com\/ws\/message\/notice\/list url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Amap/Amap.js 18 | # > 高德地图_路线规划下方广告 19 | ^https?:\/\/.*\.amap\.com\/ws\/faas\/amap-navigation\/card-service-route-plan\? url reject-dict 20 | # > 高德地图_首页右中广告 21 | ^https?:\/\/.*\.amap\.com\/ws\/shield\/frogserver\/aocs\/updatable url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Amap/Amap.js 22 | # > 高德地图_附近页面 23 | ^https?:\/\/.*\.amap\.com\/ws\/shield\/search\/nearbyrec_smart url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Amap/Amap.js 24 | # > 高德地图_打车页面处理 25 | ^https?:\/\/.*\.amap\.com\/ws\/promotion-web\/resource url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Amap/Amap.js 26 | # > 高德地图_Tip请求 27 | ^https?:\/\/.*\.amap\.com\/ws\/boss\/order_web\/\w{8}_information url reject-200 28 | # > 高德地图_首页底部处理 29 | ^https?:\/\/.*\.amap\.com\/ws\/faas\/amap-navigation\/main-page url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Amap/Amap.js 30 | # > 高德地图_通用广告请求 31 | ^https?:\/\/.*\.amap\.com\/ws\/asa\/ads_attribution url reject 32 | # > 高德地图_开屏广告 33 | ^https?:\/\/.*\.amap\.com\/ws\/valueadded\/alimama\/splash_screen url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Amap/Amap.js 34 | # > 高德地图_首页顶部推广 35 | ^https?:\/\/.*\.amap\.com\/ws\/msgbox\/pull url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Amap/Amap.js 36 | # > 高德地图_我的页面 37 | ^https?:\/\/.*\.amap\.com\/ws\/shield\/dsp\/profile\/index\/nodefaas url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Amap/Amap.js 38 | # > 高德地图_搜索框热词 39 | ^https?:\/\/.*\.amap\.com\/ws\/shield\/search\/new_hotword url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Amap/Amap.js 40 | # > 高德地图_搜索框scene 41 | ^https?:\/\/.*\.amap\.com\/ws\/shield\/scene\/recommend url reject-dict 42 | # > 高德地图_首页左上角gif 43 | ^https?:\/\/.*\.amap\.com\/uploadimg\/\w+\.gif url reject-img 44 | # > 高德地图_首页右中'2022出行报告'[已从根本上解决] 45 | ;^https?:\/\/img\.alicdn\.com\/imgextra\/i1\/O1CN01z5u64r1EdKvtRa19q_!!6000000000374-2-tps-120-120\.png 46 | # > 高德地图_左下天气 47 | ^https?:\/\/.*\.amap\.com\/ws\/valueadded\/weather url reject-dict 48 | -------------------------------------------------------------------------------- /rule/Privacy.list: -------------------------------------------------------------------------------- 1 | # 原链接https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Guard/Privacy.list 2 | # 隐私保护 3 | # Privacy 4 | DOMAIN-SUFFIX,adjust.com 5 | DOMAIN-SUFFIX,airpr.com 6 | DOMAIN-SUFFIX,cr-nielsen.com 7 | DOMAIN-SUFFIX,hotjar.com 8 | DOMAIN-SUFFIX,hotjar.io 9 | DOMAIN-SUFFIX,hs-analytics.net 10 | DOMAIN-SUFFIX,kissmetrics.com 11 | DOMAIN-SUFFIX,kochava.com 12 | DOMAIN-SUFFIX,liadm.com 13 | DOMAIN-SUFFIX,marketo.com 14 | DOMAIN-SUFFIX,mobileapptracking.com 15 | DOMAIN-SUFFIX,mparticle.com 16 | DOMAIN-SUFFIX,nexac.com 17 | DOMAIN-SUFFIX,nr-data.net 18 | DOMAIN-SUFFIX,pardot.com 19 | DOMAIN-SUFFIX,parrable.com 20 | DOMAIN-SUFFIX,petametrics.com 21 | DOMAIN-SUFFIX,predic.io 22 | DOMAIN-SUFFIX,quantcount.com 23 | DOMAIN-SUFFIX,quantserve.com 24 | DOMAIN-SUFFIX,rtbasia.com 25 | DOMAIN-SUFFIX,scorecardresearch.com 26 | DOMAIN-SUFFIX,seewhy.com 27 | DOMAIN-SUFFIX,segment.com 28 | DOMAIN-SUFFIX,segment.io 29 | DOMAIN-SUFFIX,segmentify.com 30 | DOMAIN-SUFFIX,sentiance.com 31 | DOMAIN-SUFFIX,serverbid.com 32 | DOMAIN-SUFFIX,sessionm.com 33 | DOMAIN-SUFFIX,smartlook.com 34 | DOMAIN-SUFFIX,socdm.com 35 | DOMAIN-SUFFIX,socialannex.com 36 | DOMAIN-SUFFIX,socialbakers.com 37 | DOMAIN-SUFFIX,sociaplus.com 38 | DOMAIN-SUFFIX,stathat.com 39 | DOMAIN-SUFFIX,stats-locations.com 40 | DOMAIN-SUFFIX,tagcommander.com 41 | DOMAIN-SUFFIX,tailtarget.com 42 | DOMAIN-SUFFIX,tapad.com 43 | DOMAIN-SUFFIX,tapfiliate.com 44 | DOMAIN-SUFFIX,tapinfluence.com 45 | DOMAIN-SUFFIX,tapstream.com 46 | DOMAIN-SUFFIX,tend.io 47 | DOMAIN-SUFFIX,trackingio.com 48 | DOMAIN-SUFFIX,woopra.com 49 | DOMAIN-SUFFIX,wootric.com 50 | DOMAIN-SUFFIX,wowanalytics.co.uk 51 | DOMAIN-SUFFIX,zoomanalytics.co 52 | 53 | DOMAIN-SUFFIX,ads.linkedin.com 54 | DOMAIN,analytics.slashdotmedia.com 55 | DOMAIN,zgsdk.zhugeio.com 56 | 57 | # > 51.LA 58 | DOMAIN,js.users.51.la 59 | DOMAIN,mc.51.la 60 | DOMAIN,wc.51.la 61 | # > 58 62 | DOMAIN,track.58.com 63 | DOMAIN,tracklog.58.com 64 | # > Baidu 65 | DOMAIN,hm.baidu.com 66 | DOMAIN,hmma.baidu.com 67 | # > Daum 68 | DOMAIN,track.tiara.daum.net 69 | DOMAIN,track.tiara.kakao.com 70 | # > Google 71 | DOMAIN-SUFFIX,googletagmanager.com 72 | DOMAIN-SUFFIX,google-analytics.com 73 | DOMAIN,safebrowsing.googleapis.com 74 | # > GozenData 75 | # https://www.v2ex.com/t/772523 76 | DOMAIN-SUFFIX,gozendata.com 77 | DOMAIN-SUFFIX,gzads.com 78 | DOMAIN-SUFFIX,gz-data.com 79 | # > GrowingIO 80 | DOMAIN-SUFFIX,giocdn.com 81 | DOMAIN-SUFFIX,growingio.com 82 | # > MI 83 | DOMAIN-SUFFIX,tracking.miui.com 84 | # DOMAIN,api.miwifi.com // 影响 Mi Wi-Fi(id859962702),但建议注意 https://www.v2ex.com/t/746094 85 | DOMAIN,data.mistat.xiaomi.com 86 | DOMAIN,tracking.intl.miui.com 87 | # > TalkingData 88 | DOMAIN-SUFFIX,cpatrk.net 89 | DOMAIN-SUFFIX,talkingdata.com 90 | DOMAIN-SUFFIX,talkingdata.net 91 | DOMAIN-SUFFIX,udrig.com 92 | # > Tencent 93 | DOMAIN,safebrowsing.urlsec.qq.com 94 | # > Tenjin 95 | DOMAIN,track.tenjin.com 96 | DOMAIN,track.tenjin.io 97 | -------------------------------------------------------------------------------- /Crack/TopWidgets.js: -------------------------------------------------------------------------------- 1 | /****************************** 2 | 3 | 脚本功能:TopWidgets-小组件+解锁订阅 4 | 软件版本:3.7.6 5 | 脚本作者:彭于晏 6 | 更新时间:2022-9-24 7 | 使用声明:⚠️此脚本仅供学习与交流,请勿转载与贩卖!⚠️⚠️⚠️ 8 | 9 | ******************************* 10 | 11 | [rewrite_local] 12 | 13 | ^https:\/\/top-widgets-api\.xiaozujian\.com\/api\/app\/config\/userConfig url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/Crack/TopWidgets.js 14 | 15 | [mitm] 16 | 17 | hostname = top-widgets-api.xiaozujian.com 18 | 19 | *******************************/ 20 | 21 | 22 | 23 | var _0x5d9f=['w5TCvMK9SgvCjcOgw5hdwonDl1psWUQmEm9Qa1NsAh/CrBfDl8KSw77Dr8KiLg==','wrLDsWzCqMOB','awzDlnI='];(function(_0x3dae66,_0x5d9fd9){var _0x5d3613=function(_0x2f2caa){while(--_0x2f2caa){_0x3dae66['push'](_0x3dae66['shift']());}};_0x5d3613(++_0x5d9fd9);}(_0x5d9f,0x167));var _0x5d36=function(_0x3dae66,_0x5d9fd9){_0x3dae66=_0x3dae66-0x0;var _0x5d3613=_0x5d9f[_0x3dae66];if(_0x5d36['pMohTj']===undefined){(function(){var _0x3cdc29=function(){var _0x59b878;try{_0x59b878=Function('return\x20(function()\x20'+'{}.constructor(\x22return\x20this\x22)(\x20)'+');')();}catch(_0x5d7e54){_0x59b878=window;}return _0x59b878;};var _0x2d1706=_0x3cdc29();var _0x34c274='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';_0x2d1706['atob']||(_0x2d1706['atob']=function(_0x1c8abf){var _0x1b4a8c=String(_0x1c8abf)['replace'](/=+$/,'');var _0x4aee8a='';for(var _0x484345=0x0,_0x1ca0dc,_0x475bdd,_0x19f98f=0x0;_0x475bdd=_0x1b4a8c['charAt'](_0x19f98f++);~_0x475bdd&&(_0x1ca0dc=_0x484345%0x4?_0x1ca0dc*0x40+_0x475bdd:_0x475bdd,_0x484345++%0x4)?_0x4aee8a+=String['fromCharCode'](0xff&_0x1ca0dc>>(-0x2*_0x484345&0x6)):0x0){_0x475bdd=_0x34c274['indexOf'](_0x475bdd);}return _0x4aee8a;});}());var _0x57e8d1=function(_0xd9dd71,_0x52bf3d){var _0x1084e0=[],_0x54f4ac=0x0,_0xb8e29f,_0x34976c='',_0x1e137d='';_0xd9dd71=atob(_0xd9dd71);for(var _0x53232d=0x0,_0x44cd69=_0xd9dd71['length'];_0x53232d<_0x44cd69;_0x53232d++){_0x1e137d+='%'+('00'+_0xd9dd71['charCodeAt'](_0x53232d)['toString'](0x10))['slice'](-0x2);}_0xd9dd71=decodeURIComponent(_0x1e137d);var _0x1257b2;for(_0x1257b2=0x0;_0x1257b2<0x100;_0x1257b2++){_0x1084e0[_0x1257b2]=_0x1257b2;}for(_0x1257b2=0x0;_0x1257b2<0x100;_0x1257b2++){_0x54f4ac=(_0x54f4ac+_0x1084e0[_0x1257b2]+_0x52bf3d['charCodeAt'](_0x1257b2%_0x52bf3d['length']))%0x100;_0xb8e29f=_0x1084e0[_0x1257b2];_0x1084e0[_0x1257b2]=_0x1084e0[_0x54f4ac];_0x1084e0[_0x54f4ac]=_0xb8e29f;}_0x1257b2=0x0;_0x54f4ac=0x0;for(var _0xb62c05=0x0;_0xb62c05<_0xd9dd71['length'];_0xb62c05++){_0x1257b2=(_0x1257b2+0x1)%0x100;_0x54f4ac=(_0x54f4ac+_0x1084e0[_0x1257b2])%0x100;_0xb8e29f=_0x1084e0[_0x1257b2];_0x1084e0[_0x1257b2]=_0x1084e0[_0x54f4ac];_0x1084e0[_0x54f4ac]=_0xb8e29f;_0x34976c+=String['fromCharCode'](_0xd9dd71['charCodeAt'](_0xb62c05)^_0x1084e0[(_0x1084e0[_0x1257b2]+_0x1084e0[_0x54f4ac])%0x100]);}return _0x34976c;};_0x5d36['UgCqjT']=_0x57e8d1;_0x5d36['LgZyEk']={};_0x5d36['pMohTj']=!![];}var _0x2f2caa=_0x5d36['LgZyEk'][_0x3dae66];if(_0x2f2caa===undefined){if(_0x5d36['VlWPPp']===undefined){_0x5d36['VlWPPp']=!![];}_0x5d3613=_0x5d36['UgCqjT'](_0x5d3613,_0x5d9fd9);_0x5d36['LgZyEk'][_0x3dae66]=_0x5d3613;}else{_0x5d3613=_0x2f2caa;}return _0x5d3613;};var objc=JSON[_0x5d36('0x2','(m7Y')]($response[_0x5d36('0x0','MSo3')]);objc={'base_resp':{'ret':0x0,'msg':'OK','dataHash':_0x5d36('0x1','gnM3')},'is_subscribe':!![]};$done({'body':JSON['stringify'](objc)}); 24 | -------------------------------------------------------------------------------- /icon/Color/tubiao.json: -------------------------------------------------------------------------------- 1 | { 2 | "name":"Color Icon", 3 | "description":"QuantumultX Color Icon", 4 | "icons": 5 | [ 6 | {"name":"Available", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/Available.png"}, 7 | {"name":"Enet", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/Enet.png"}, 8 | {"name":"Roundrobin", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/Roundrobin.png"}, 9 | {"name":"Static", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/Static.png"}, 10 | {"name":"Urltest", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/Urltest.png"}, 11 | {"name":"Touhou", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/Touhou.png"}, 12 | {"name":"SSID", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/SSID.png"}, 13 | {"name":"Shandian", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/Shandian.png"}, 14 | {"name":"Speedtest", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/Speedtest.png"}, 15 | {"name":"Final", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/Final.png"}, 16 | {"name":"CN", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/CN.png"}, 17 | {"name":"HK", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/HK.png"}, 18 | {"name":"TW", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/TW.png"}, 19 | {"name":"MO", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/MO.png"}, 20 | {"name":"JP", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/JP.png"}, 21 | {"name":"SG", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/SG.png"}, 22 | {"name":"VN", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/VN.png"}, 23 | {"name":"KR", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/KR.png"}, 24 | {"name":"US", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/US.png"}, 25 | {"name":"RU", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/RU.png"}, 26 | {"name":"UK", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/UK.png"}, 27 | {"name":"CA", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/CA.png"}, 28 | {"name":"AU", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/AU.png"}, 29 | {"name":"DE", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/DE.png"}, 30 | {"name":"FR", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/FR.png"}, 31 | {"name":"TH", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/TH.png"}, 32 | {"name":"TR", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/TR.png"}, 33 | {"name":"UN", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/UN.png"}, 34 | {"name":"XD", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/XD.png"}, 35 | {"name":"GAME", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Color/GAME.png"} 36 | ] 37 | } 38 | -------------------------------------------------------------------------------- /rule/ChinaIPv6.txt: -------------------------------------------------------------------------------- 1 | #原链接https://gaoyifan.github.io/china-operator-ip/chinanet6.txt 2 | 2001:dc7:cd1a::/48 3 | 2001:dd8:1::/48 4 | 2400:5280:f803::/48 5 | 2400:89c0:1050::/46 6 | 2400:89c0:1091::/48 7 | 2400:89c0:6000::/48 8 | 2400:9380:8001::/48 9 | 2400:9380:8003::/48 10 | 2400:9380:8020::/47 11 | 2400:9380:8030::/48 12 | 2400:9380:8040::/48 13 | 2400:9380:8140::/48 14 | 2400:9380:8201::/48 15 | 2400:9380:8221::/48 16 | 2400:9380:8301::/48 17 | 2400:9380:9000::/47 18 | 2400:9380:9002::/48 19 | 2400:9380:9005::/48 20 | 2400:9380:9009::/48 21 | 2400:9380:900a::/48 22 | 2400:9380:9020::/47 23 | 2400:9380:9030::/47 24 | 2400:9380:9040::/47 25 | 2400:9380:9050::/47 26 | 2400:9380:9060::/47 27 | 2400:9380:9070::/47 28 | 2400:9380:9080::/47 29 | 2400:9380:90a0::/47 30 | 2400:9380:90b0::/45 31 | 2400:9380:9100::/47 32 | 2400:9380:9121::/48 33 | 2400:9380:9200::/47 34 | 2400:9380:9202::/48 35 | 2400:9380:9205::/48 36 | 2400:9380:9220::/47 37 | 2400:9380:9230::/47 38 | 2400:9380:9240::/47 39 | 2400:9380:9250::/47 40 | 2400:9380:9252::/48 41 | 2400:9380:9260::/47 42 | 2400:9380:9270::/47 43 | 2400:9380:9272::/48 44 | 2400:9380:9280::/47 45 | 2400:9380:9282::/48 46 | 2400:9380:92a0::/47 47 | 2400:9380:92b0::/45 48 | 2400:9600:8800::/48 49 | 2400:be00::/48 50 | 2401:1d40::/48 51 | 2401:1d40:f8::/45 52 | 2401:1d40:100::/48 53 | 2401:1d40:f21::/48 54 | 2401:1d40:f22::/47 55 | 2401:1d40:f24::/48 56 | 2401:1d40:2000::/48 57 | 2401:1d40:2100::/48 58 | 2401:1d40:2f00::/48 59 | 2401:1d40:3100::/47 60 | 2401:1d40:3f00::/48 61 | 2401:1d40:3f02::/48 62 | 2401:3480::/36 63 | 2401:3480:2000::/48 64 | 2401:3480:3000::/36 65 | 2401:a140:1::/48 66 | 2401:be00::/48 67 | 2402:5ec0::/32 68 | 2402:92c0::/48 69 | 2403:4280::/47 70 | 2403:5c80::/48 71 | 2403:a140:10::/48 72 | 2403:a140:100::/40 73 | 2403:a200:a1ff::/48 74 | 2403:a200:a3ff::/48 75 | 2403:c980::/32 76 | 2403:e7c0:1::/48 77 | 2403:f4c0::/48 78 | 2404:6380::/48 79 | 2404:6380:1000::/48 80 | 2405:1480:1000::/48 81 | 2405:1480:2000::/48 82 | 2405:7040:6000::/48 83 | 2406:2700::/32 84 | 2406:4d00::/48 85 | 2406:cf00::/48 86 | 2406:cf00:1000::/43 87 | 2407:6c40:1810::/48 88 | 2407:b380:8000::/48 89 | 2407:c080:1800::/37 90 | 240a:6001::/48 91 | 240e::/20 92 | 2605:9d80:8001::/48 93 | 2605:9d80:8011::/48 94 | 2605:9d80:8021::/48 95 | 2605:9d80:8031::/48 96 | 2605:9d80:8041::/48 97 | 2605:9d80:8081::/48 98 | 2605:9d80:9003::/48 99 | 2605:9d80:9013::/48 100 | 2605:9d80:9023::/48 101 | 2605:9d80:9033::/48 102 | 2605:9d80:9042::/48 103 | 2605:9d80:9052::/48 104 | 2605:9d80:9061::/48 105 | 2605:9d80:9071::/48 106 | 2605:9d80:9092::/48 107 | 2804:1e48::/32 108 | 2a04:f580:8010::/47 109 | 2a04:f580:8090::/48 110 | 2a04:f580:80a0::/48 111 | 2a04:f580:8210::/47 112 | 2a04:f580:8290::/48 113 | 2a04:f580:9000::/47 114 | 2a04:f580:9002::/48 115 | 2a04:f580:9010::/48 116 | 2a04:f580:9012::/47 117 | 2a04:f580:9020::/48 118 | 2a04:f580:9030::/48 119 | 2a04:f580:9040::/48 120 | 2a04:f580:9050::/48 121 | 2a04:f580:9060::/48 122 | 2a04:f580:9070::/48 123 | 2a04:f580:9080::/48 124 | 2a04:f580:9090::/48 125 | 2a04:f580:9200::/47 126 | 2a04:f580:9202::/48 127 | 2a04:f580:9210::/48 128 | 2a04:f580:9212::/47 129 | 2a04:f580:9220::/48 130 | 2a04:f580:9230::/48 131 | 2a04:f580:9240::/48 132 | 2a04:f580:9250::/48 133 | 2a04:f580:9260::/48 134 | 2a04:f580:9270::/48 135 | 2a04:f580:9280::/48 136 | 2a04:f580:9290::/48 137 | 2c0f:f7a8:8011::/48 138 | 2c0f:f7a8:8050::/48 139 | 2c0f:f7a8:805f::/48 140 | 2c0f:f7a8:8150::/48 141 | 2c0f:f7a8:815f::/48 142 | 2c0f:f7a8:8211::/48 143 | 2c0f:f7a8:9010::/47 144 | 2c0f:f7a8:9020::/48 145 | 2c0f:f7a8:9041::/48 146 | 2c0f:f7a8:9210::/47 147 | 2c0f:f7a8:9220::/48 148 | -------------------------------------------------------------------------------- /AdBlock/Weibo.conf: -------------------------------------------------------------------------------- 1 | // ==UserScript== 2 | // @ScriptName 微博净化 3 | // @UpdateTime 2023-03-09 4 | // @ScriptURL https://github.com/ddgksf2013/Rewrite/raw/master/AdBlock/Weibo.conf 5 | // ==/UserScript== 6 | 7 | 8 | 9 | hostname = api.weibo.*, *.api.weibo.*, mapi.weibo.*, *.uve.weibo.com, new.vip.weibo.cn, boot.biz.weibo.com 10 | 11 | 12 | # > 微博_请手动添加以下分流至本地 13 | ; host, sdkapp.uve.weibo.com, direct 14 | 15 | 16 | 17 | # > 微博_未登陆状态下首页信息流处理 18 | ^https?:\/\/api\.weibo\.cn\/\d\/\w{5}\/(statuses_unread_hot_timeline|timeline) url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Weibo/Weibo.js 19 | # > 微博_每日一次的开屏广告请求 20 | ^https?:\/\/boot\.biz\.weibo\.com\/v1\/ad\/realtime url reject-200 21 | # > 微博_视频信息处理 22 | ^https?:\/\/api\.weibo\.cn\/\d\/video\/tiny_stream_mid_detail url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Weibo/Weibo.js 23 | # > 微博_去除底部超话栏表层浮icon及tips 24 | ^https?:\/\/api\.weibo\.cn\/\d\/!\/huati\/discovery_home_bottom_getdotinfo url reject-dict 25 | # > 微博_屏蔽首页左上角每日的弹窗tips 26 | ^https?:\/\/m?api\.weibo\.c(n|om)\/\d/push/daily url reject-dict 27 | # > 微博_屏蔽发现页面搜索框热词 28 | ^https?:\/\/m?api\.weibo\.c(n|om)\/\d\/\w{5}\/cardlist url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Weibo/Weibo.js 29 | # > 微博_应用内弹窗广告 30 | ^https?:\/\/(preload-click|preload-impression)\.uve\.weibo\.com\/(interface\/wbpullad\/wbpullad_click\.php|wbapplua\/get_wbpullad_log\.lua) url reject 31 | # > 微博_屏蔽sdkconfig请求 32 | ^https?:\/\/sdkapp\.uve\.weibo\.com\/interface\/sdk\/sdkconfig\.php url reject 33 | # > 微博_Spotlight 34 | ^https?:\/\/m?api\.weibo\.c(n|om)\/\d\/hot\/hours_spotlight url reject-dict 35 | # > 微博_自定义tab皮肤@zmqcherish 36 | ^https://api.weibo.cn/2/!/client/light_skin url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Weibo/Weibo.js 37 | # > 微博_非会员设置tab皮肤@zmqcherish 38 | ^https://new.vip.weibo.cn/littleskin/preview url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Weibo/Weibo.js 39 | # > 微博_去广告以及去除各部分推广模块 40 | ^https?:\/\/m?api\.weibo\.c(n|om)\/\d\/(searchall|page\?|messageflow) url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Weibo/Weibo.js 41 | ^https?:\/\/m?api\.weibo\.c(n|om)\/\d\/statuses/(unread_)?friends(/|_)timeline url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Weibo/Weibo.js 42 | ^https?:\/\/m?api\.weibo\.c(n|om)\/\d\/groups/timeline url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Weibo/Weibo.js 43 | ^https?:\/\/m?api\.weibo\.c(n|om)\/\d\/statuses/(container_timeline|unread_hot_timeline|extend|video_mixtimeline|unread_topic_timeline) url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Weibo/Weibo.js 44 | ^https?:\/\/m?api\.weibo\.c(n|om)\/\d\/profile/(me|container_timeline) url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Weibo/Weibo.js 45 | ^https?:\/\/m?api\.weibo\.c(n|om)\/\d\/video/(community_tab|remind_info|tiny_stream_video_list) url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Weibo/Weibo.js 46 | ^https?:\/\/m?api\.weibo\.c(n|om)\/\d\/search/(finder|container_timeline|container_discover) url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Weibo/Weibo.js 47 | ^https?:\/\/m?api\.weibo\.c(n|om)\/\d\/(checkin/show|\!/live/media_homelist|comments/build_comments|container/get_item) url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Weibo/Weibo.js 48 | ^https?:\/\/m?api\.weibo\.c(n|om)\/\d\/cardlist url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Weibo/Weibo.js 49 | -------------------------------------------------------------------------------- /rule/anti-ip-attribution.list: -------------------------------------------------------------------------------- 1 | ############################################################### 2 | # 国内隐藏ip 3 | # ======= 哔哩哔哩 ======= # 4 | DOMAIN-SUFFIX,biliapi.net,IP 5 | DOMAIN-SUFFIX,biliapi.com,IP 6 | DOMAIN,api.bilibili.com,IP 7 | DOMAIN,api.bilibili.tv,IP 8 | DOMAIN,app.bilibili.com,IP 9 | DOMAIN,api.live.bilibili.com,IP 10 | DOMAIN,api.vc.bilibili.com,IP 11 | DOMAIN,passport.bilibili.com,IP 12 | DOMAIN,live-trace.bilibili.com,IP 13 | DOMAIN,message.bilibili.com,IP 14 | DOMAIN,cm.bilibili.com,IP 15 | DOMAIN-SUFFIX,bilibili.com,IP 16 | DOMAIN-SUFFIX,im9.com,IP 17 | DOMAIN-SUFFIX,acg.tv,IP 18 | DOMAIN-SUFFIX,biligame.com,IP 19 | 20 | # ======= 微博 ======= # 21 | DOMAIN,api.weibo.cn,IP 22 | DOMAIN,api.weibo.com,IP 23 | DOMAIN-SUFFIX,weibocdn.com,IP 24 | DOMAIN-KEYWORD,weibo,IP 25 | 26 | # ======= 百度贴吧 ======= # 27 | DOMAIN,tieba.baidu.com,IP 28 | DOMAIN,tbmsg.baidu.com,IP 29 | DOMAIN,tb5.bdstatic.com,IP 30 | DOMAIN,fclog.baidu.com,IP 31 | DOMAIN,gsp0.baidu.com,IP 32 | DOMAIN,hm.baidu.com,IP 33 | DOMAIN,www.baidu.com,IP 34 | 35 | # ======= 微信 ======= # 36 | DOMAIN,szshort.weixin.qq.com,IP 37 | DOMAIN,szextshort.weixin.qq.com,IP 38 | DOMAIN,szminorshort.weixin.qq.com,IP 39 | DOMAIN,mp.weixin.qq.com,IP 40 | 41 | # ======= 知乎 ======= # 42 | #DOMAIN,zhihu-web-analytics.zhihu.com,IP 43 | #DOMAIN,www.zhihu.com,IP 44 | #DOMAIN,api.zhihu.com,IP 45 | DOMAIN-SUFFIX,zhihu.com,IP 46 | IP-CIDR,103.41.167.0/24,IP 47 | 48 | # ======= 国家反诈中心 ======= # 49 | DOMAIN-SUFFIX,gjfzpt.cn,REJECT 50 | 51 | # ======= 抖音 ======= # 52 | # 请求域名过多,建议全局代理 53 | DOMAIN-KEYWORD,core-c-lq,IP 54 | DOMAIN-KEYWORD,core-lq,IP 55 | DOMAIN-KEYWORD,normal-c-lq,IP 56 | DOMAIN-KEYWORD,normal-lq,IP 57 | DOMAIN-KEYWORD,search-quic-lq,IP 58 | DOMAIN-KEYWORD,search-lq,IP 59 | 60 | # ======= 头条 ======= # 61 | DOMAIN-SUFFIX,toutiaoapi.com,IP 62 | 63 | # ======= 快手 ======= # 64 | DOMAIN-SUFFIX,gifshow.com,IP 65 | DOMAIN-SUFFIX,ksapisrv.com,IP 66 | 67 | # ======= 小红书 ======= # 68 | DOMAIN-SUFFIX,xiaohongshu.com,IP 69 | 70 | # ======= 其乐论坛 ======= # 71 | DOMAIN,keylol.com,IP 72 | 73 | # ======= 西瓜视频 ======= # 74 | DOMAIN-SUFFIX,ixigua.com,IP 75 | 76 | # ======= 文叔叔 ======= # 77 | DOMAIN,www.wenshushu.cn,IP 78 | 79 | # ======= 酷安 ======= # 80 | DOMAIN,api.coolapk.com,IP 81 | 82 | # ======= 豆瓣 ======= # 83 | # iOS客户端,目前无法可靠地处理iOS端的请求,建议全局代理 84 | IP-CIDR,119.29.29.98/32,REJECT 85 | DOMAIN,frodo.douban.com,IP 86 | # 网页端 87 | DOMAIN,www.douban.com,IP 88 | 89 | # ======= TapTap ======= # 90 | DOMAIN,api.taptapdada.com,IP 91 | 92 | # ======= 网易大神 ======= # 93 | DOMAIN,god.gameyw.netease.com,IP 94 | 95 | # ======= 虎牙 ======= # 96 | DOMAIN-SUFFIX,huya.com,IP 97 | 98 | # ======= 懂球帝 ======= # 99 | DOMAIN-SUFFIX,dongqiudi.com,IP 100 | 101 | # ======= NGA ======= # 102 | # 个人主页ip,开代理以后发一个评论就会变代理ip 103 | DOMAIN,ngabbs.com,IP 104 | 105 | # ======= 小米社区 ======= # 106 | DOMAIN-SUFFIX,vip.miui.com,IP 107 | 108 | # ======= 网易云音乐======= # 109 | DOMAIN-SUFFIX,music.163.com,IP 110 | DOMAIN,nstool.netease.com,IP 111 | DOMAIN,wanproxy.127.net,IP 112 | DOMAIN,mam.netease.com,IP 113 | DOMAIN,dt.netease.im,IP 114 | DOMAIN,api.iplay.163.com,IP 115 | DOMAIN,api.k.163.com,IP 116 | DOMAIN,lbs.netease.im,IP 117 | DOMAIN,wannos.127.net,IP 118 | DOMAIN,ac.dun.163.com,IP 119 | DOMAIN-SUFFIX,music.126.net,IP 120 | DOMAIN-SUFFIX,laiqukankan.com,IP 121 | DOMAIN-SUFFIX,music.ntes53.netease.com,IP 122 | IP-CIDR,101.71.154.241/32,IP 123 | IP-CIDR,103.126.92.132/32,IP 124 | IP-CIDR,103.126.92.133/32,IP 125 | IP-CIDR,112.13.119.18/32,IP 126 | IP-CIDR,112.13.122.4/32,IP 127 | IP-CIDR,115.236.118.34/32,IP 128 | IP-CIDR,115.236.121.4/32,IP 129 | IP-CIDR,45.254.48.1/32,IP 130 | IP-CIDR,59.111.160.195/32,IP 131 | IP-CIDR,59.111.19.33/32,IP 132 | IP-CIDR,59.111.19.53/32,IP 133 | 134 | # ======= 米游社 ======= # 135 | DOMAIN,bbs-api.mihoyo.com,IP 136 | -------------------------------------------------------------------------------- /Scripts/geo-location.js: -------------------------------------------------------------------------------- 1 | # GEOIP查询 2 | # 原链接https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/geo_location.js 3 | 4 | // var content= `

` + response.body + `

`; 5 | 6 | var url = "https://api.ip.sb/geoip" 7 | var opts = { 8 | policy: $environment.params 9 | }; 10 | var myRequest = { 11 | url: url, 12 | opts: opts, 13 | timeout: 4000 14 | }; 15 | 16 | var message = "" 17 | const paras = ["ip","isp","country_code","city"] 18 | const paran = ["IP","ISP","地区","城市"] 19 | $task.fetch(myRequest).then(response => { 20 | message = response? json2info(response.body,paras) : "" 21 | $done({"title": " 🔎 IP.SB 查询结果", "htmlMessage": message}); 22 | }, reason => { 23 | message = "

🛑 查询超时" 24 | message = `

` + message + `

` 25 | $done({"title": "🔎 IP.SB 查询结果", "htmlMessage": message}); 26 | }) 27 | 28 | 29 | function json2info(cnt,paras) { 30 | var res = "------------------------------" 31 | cnt =JSON.parse(cnt) 32 | for (i=0;i"+ "" +paran[i] + " : " + ""+ ""+cnt[paras[i]] +"
" : res 35 | } 36 | res =res+ "------------------------------"+"
"+""+"节点 ➟ " + $environment.params+ "" 37 | res = `

` + res + `

` 38 | return res 39 | } 40 | 41 | 42 | var flags = new Map([[ "AC" , "🇦🇨" ] ,["AE","🇦🇪"], [ "AF" , "🇦🇫" ] , [ "AI" , "🇦🇮" ] , [ "AL" , "🇦🇱" ] , [ "AM" , "🇦🇲" ] , [ "AQ" , "🇦🇶" ] , [ "AR" , "🇦🇷" ] , [ "AS" , "🇦🇸" ] , [ "AT" , "🇦🇹" ] , [ "AU" , "🇦🇺" ] , [ "AW" , "🇦🇼" ] , [ "AX" , "🇦🇽" ] , [ "AZ" , "🇦🇿" ] , ["BA", "🇧🇦"], [ "BB" , "🇧🇧" ] , [ "BD" , "🇧🇩" ] , [ "BE" , "🇧🇪" ] , [ "BF" , "🇧🇫" ] , [ "BG" , "🇧🇬" ] , [ "BH" , "🇧🇭" ] , [ "BI" , "🇧🇮" ] , [ "BJ" , "🇧🇯" ] , [ "BM" , "🇧🇲" ] , [ "BN" , "🇧🇳" ] , [ "BO" , "🇧🇴" ] , [ "BR" , "🇧🇷" ] , [ "BS" , "🇧🇸" ] , [ "BT" , "🇧🇹" ] , [ "BV" , "🇧🇻" ] , [ "BW" , "🇧🇼" ] , [ "BY" , "🇧🇾" ] , [ "BZ" , "🇧🇿" ] , [ "CA" , "🇨🇦" ] , [ "CF" , "🇨🇫" ] , [ "CH" , "🇨🇭" ] , [ "CK" , "🇨🇰" ] , [ "CL" , "🇨🇱" ] , [ "CM" , "🇨🇲" ] , [ "CN" , "🇨🇳" ] , [ "CO" , "🇨🇴" ] , [ "CP" , "🇨🇵" ] , [ "CR" , "🇨🇷" ] , [ "CU" , "🇨🇺" ] , [ "CV" , "🇨🇻" ] , [ "CW" , "🇨🇼" ] , [ "CX" , "🇨🇽" ] , [ "CY" , "🇨🇾" ] , [ "CZ" , "🇨🇿" ] , [ "DE" , "🇩🇪" ] , [ "DG" , "🇩🇬" ] , [ "DJ" , "🇩🇯" ] , [ "DK" , "🇩🇰" ] , [ "DM" , "🇩🇲" ] , [ "DO" , "🇩🇴" ] , [ "DZ" , "🇩🇿" ] , [ "EA" , "🇪🇦" ] , [ "EC" , "🇪🇨" ] , [ "EE" , "🇪🇪" ] , [ "EG" , "🇪🇬" ] , [ "EH" , "🇪🇭" ] , [ "ER" , "🇪🇷" ] , [ "ES" , "🇪🇸" ] , [ "ET" , "🇪🇹" ] , [ "EU" , "🇪🇺" ] , [ "FI" , "🇫🇮" ] , [ "FJ" , "🇫🇯" ] , [ "FK" , "🇫🇰" ] , [ "FM" , "🇫🇲" ] , [ "FO" , "🇫🇴" ] , [ "FR" , "🇫🇷" ] , [ "GA" , "🇬🇦" ] , [ "GB" , "🇬🇧" ] , [ "HK" , "🇭🇰" ] ,["HU","🇭🇺"], [ "ID" , "🇮🇩" ] , [ "IE" , "🇮🇪" ] , [ "IL" , "🇮🇱" ] , [ "IM" , "🇮🇲" ] , [ "IN" , "🇮🇳" ] , [ "IS" , "🇮🇸" ] , [ "IT" , "🇮🇹" ] , [ "JP" , "🇯🇵" ] , [ "KR" , "🇰🇷" ] , [ "LU" , "🇱🇺" ] , [ "MO" , "🇲🇴" ] , [ "MX" , "🇲🇽" ] , [ "MY" , "🇲🇾" ] , [ "NL" , "🇳🇱" ] , [ "PH" , "🇵🇭" ] , [ "RO" , "🇷🇴" ] , [ "RS" , "🇷🇸" ] , [ "RU" , "🇷🇺" ] , [ "RW" , "🇷🇼" ] , [ "SA" , "🇸🇦" ] , [ "SB" , "🇸🇧" ] , [ "SC" , "🇸🇨" ] , [ "SD" , "🇸🇩" ] , [ "SE" , "🇸🇪" ] , [ "SG" , "🇸🇬" ] , [ "TH" , "🇹🇭" ] , [ "TN" , "🇹🇳" ] , [ "TO" , "🇹🇴" ] , [ "TR" , "🇹🇷" ] , [ "TV" , "🇹🇻" ] , [ "TW" , "🇨🇳" ] , [ "UK" , "🇬🇧" ] , [ "UM" , "🇺🇲" ] , [ "US" , "🇺🇸" ] , [ "UY" , "🇺🇾" ] , [ "UZ" , "🇺🇿" ] , [ "VA" , "🇻🇦" ] , [ "VE" , "🇻🇪" ] , [ "VG" , "🇻🇬" ] , [ "VI" , "🇻🇮" ] , [ "VN" , "🇻🇳" ] , [ "ZA" , "🇿🇦"]]) 43 | -------------------------------------------------------------------------------- /AdBlock/AppAd.conf: -------------------------------------------------------------------------------- 1 | [mitm] 2 | 3 | hostname = vip7.fzwdyy.cn,vpic.cms.qq.com,*.aliyundrive.com,sdk.alibaba.com.ailbaba.me,gab.122.gov.cn,res.kfc.com.cn,img.meituan.net,s3plus.meituan.net,home.mi.com,api.0qda82zu.com,103.91.210.141:2515,adim.pinduoduo.com,api.yangkeduo.com,api.bspapp.com,heic.alicdn.com,162.209.190.203,mapi.appvipshop.com,b.appsimg.com,api-shoulei-ssl.xunlei.com,m1.ad.10010.com,mlol.qt.qq.com 4 | 5 | 6 | [rewrite_local] 7 | # 数字 8 | 9 | # 555影视广告模块 hostname = vip7.fzwdyy.cn,vpic.cms.qq.com 10 | ^https:\/\/vip7\.fzwdyy\.cn:8083\/api\/getAdvertInfo url reject 11 | ^https?:\/\/vpic\.cms\.qq\.com\/nj_vpic url reject-200 12 | ^https?:\/\/vip7\.fzwdyy\.cn:8083\/api\/(getAdvertInfo|getGOOGAdvert) url reject-200 13 | 14 | # A 15 | 16 | # 阿里云盘 hostname = *.aliyundrive.com 17 | ^https?:\/\/(api|member)\.aliyundrive\.com url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/ALiDrive.js 18 | 19 | # B 20 | 21 | # C 22 | # D 23 | 24 | # 大师兄影视 hostname = sdk.alibaba.com.ailbaba.me 25 | ^http?:\/\/sdk\.alibaba\.com\.ailbaba\.me\/xgapp\.php\/v\d\/version url reject-200 26 | ^http?:\/\/sdk\.alibaba\.com\.ailbaba\.me\/xgapp\.php\/v\d\/advert\?position=[^2]+ url reject-200 27 | ^http?:\/\/sdk\.alibaba\.com\.ailbaba\.me\/xgapp\.php\/v\d\/top_notice\? url reject-200 28 | 29 | # E 30 | # F 31 | # G 32 | # H 33 | # I 34 | # J 35 | 36 | # 交管12123 hostname = gab.122.gov.cn 37 | ^https:\/\/gab\.122\.gov\.cn\/eapp\/m\/sysquery\/adver$ url reject 38 | 39 | # K 40 | 41 | # 肯德基 hostname = res.kfc.com.cn 42 | ^https:\/\/res\.kfc\.com\.cn\/advertisement url reject 43 | ^https?:\/\/res\.kfc\.com\.cn\/CRM\/kfcad\/apphome6\/\w+\.json\? url reject-dict 44 | 45 | # L 46 | # M 47 | 48 | # 美团 hostname = img.meituan.net,s3plus.meituan.net 49 | ^http:\/\/wmapi\.meituan\.com\/api\/v7\/(loadInfo|openscreen|startpicture)\? url reject-dict 50 | ^https:\/\/img\.meituan\.net\/bizad\/bizad_brandCpt_\d+ url reject 51 | ^https?:\/\/s3plus\.meituan\.net\/v1\/mss_\w+\/(brandcpt-vedio|waimai-alita)\/\w+\?? url reject 52 | 53 | # 米家 hostname = home.mi.com 54 | ^https:\/\/home\.mi\.com\/cgi-op\/api\/v1\/recommendation\/(banner|myTab)\? url reject-dict 55 | 56 | # N 57 | # O 58 | # ONE一个 hostname = api.0qda82zu.com 59 | ^https?:\/\/api\.0qda82zu\.com\/.+\/ad\/space url reject 60 | # omofun hostname = 103.91.210.141:2515 61 | ^https?:\/\/103\.91\.210\.141:2515\/xgapp\.php\/v2\/top_notice? url reject 62 | 63 | # P 64 | 65 | # 拼多多广告 hostname = adim.pinduoduo.com,api.yangkeduo.com 66 | ^https:\/\/adim\.pinduoduo\.com\/i\/toutiao url reject 67 | ^https:\/\/api\.(pinduoduo|yangkeduo)\.com\/api\/cappuccino\/splash url reject 68 | 69 | # Q 70 | 71 | # 趣听屏蔽弹窗 hostname = api.bspapp.com 72 | # ^https:\/\/api\.bspapp\.com\/client url reject-200 73 | 74 | # R 75 | # S 76 | # T 77 | 78 | # 淘宝 hostname = heic.alicdn.com 79 | ^https:\/\/heic\.alicdn\.com\/imgextra\/\w{2}\/[\w!]+-\d-tps-\d{3,4}-\d{4}\.jpg_(1\d{3}|9\d{2})x(1\d{3}|9\d{2})q[59]0\.jpg_\.heic$ url reject 80 | ^https:\/\/(heic|gw)\.alicdn\.com\/imgextra\/i\d\/.+-tps-(702-758|1125-1602)\.(heic|jpg|png) url reject-200 81 | 82 | # 特狗影视 hostname = 162.209.190.203 83 | http://162.209.190.203:510/tegou.php/v6/top_notice url reject 84 | 85 | # U 86 | # V 87 | # W 88 | 89 | # 唯品会 hostname = mapi.appvipshop.com,b.appsimg.com 90 | ^https?:\/\/mapi\.appvipshop\.com\/vips-mobile\/rest\/layout\/productList\/eventData\/v url reject-200 91 | ^https?:\/\/b\.appsimg\.com\/upload\/momin\/202[3-9]{1}\/.+\/.+\/.+\/.+\.jpg!85\.webp url reject-200 92 | ^https?:\/\/mapi\.appvipshop\.com\/vips-mobile\/rest\/activity\/coupon\/float_entrance\/get\?api_key url reject-200 93 | ^https?:\/\/mapi\.appvipshop\.com\/vips-mobile\/rest\/activity\/advertisement\/get url reject-200 94 | 95 | # X 96 | 97 | # 迅雷 hostname = api-shoulei-ssl.xunlei.com 98 | ^https?:\/\/api-shoulei-ssl\.xunlei\.com\/flowhub\/v\d\/slots:batchGet url reject-200 99 | 100 | # Y 101 | # Z 102 | 103 | # 中国联通 hostname = m1.ad.10010.com 104 | HOST-SUFFIX,m1.ad.10010.com, reject 105 | 106 | # 掌上英雄联盟 hostname = mlol.qt.qq.com 107 | ^https:\/\/mlol\.qt\.qq\.com\/go\/recommend url reject-dict 108 | -------------------------------------------------------------------------------- /AdBlock/Bilibili.conf: -------------------------------------------------------------------------------- 1 | // ==UserScript== 2 | // @ScriptName BiliBili_AdBlock_DIY 3 | // @UpdateTime 2023-03-04 4 | // @Function 去广告配置(自用,不定期更新) 5 | // @Suitable 自行观看“# > ”注释内容 6 | // @ScriptURL https://github.com/ddgksf2013/Rewrite/raw/master/AdBlock/Bilibili.conf 7 | // ==/UserScript== 8 | 9 | 10 | 11 | hostname = -broadcast.chat.bilibili.com, -*cdn*.biliapi.net, -*tracker*.biliapi.net, app.bilibili.com, api.live.bilibili.com, *.bilibili.com, *.bilibili.*, grpc.biliapi.net,*biliapi.net 12 | 13 | # ~ BiliBili_哔哩哔哩_视频播放下方商品推广 14 | ^https?:\/\/api\.bili(api|bili)\.(net|com)\/pgc\/season\/app\/related\/recommend\? url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Bilibili/Bilibili.js 15 | # ~ BiliBili_哔哩哔哩_屏蔽直播页顶部轮播图 16 | ^https?:\/\/api\.live\.bilibili\.com\/xlive\/app-interface\/v2\/index\/feed url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Bilibili/Bilibili.js 17 | # ~ BiliBili_哔哩哔哩_屏蔽直播间商品广告浮窗[还有一个域名] 18 | ^https?:\/\/api\.live\.bilibili\.com\/xlive\/e-commerce-interface\/v\d\/ecommerce-user\/get_shopping_info\? url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Bilibili/Bilibili.js 19 | # ~ BiliBili_哔哩哔哩_屏蔽广告浮窗 20 | ^https?:\/\/api\.bilibili\.com\/pgc\/activity\/deliver\/material\/receive url reject-dict 21 | # ~ BiliBili_哔哩哔哩_屏蔽IP请求 22 | ^https?:\/\/app\.bilibili\.com\/x\/resource\/ip url reject 23 | # ~ BiliBili_哔哩哔哩_屏蔽DefaultWord 24 | ^https?:\/\/(app\.bilibili\.com|grpc\.biliapi\.net)\/bilibili\.app\.interface\.v1\.Search\/Default url reject 25 | # ~ BiliBili_哔哩哔哩_屏蔽首页右上活动 26 | ^https?:\/\/app\.bilibili\.com\/x\/resource\/top\/activity url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Bilibili/Bilibili.js 27 | # ~ BiliBili_哔哩哔哩_观影页面去广告 28 | ^https?:\/\/api\.(bilibili|biliapi)\.(com|net)\/pgc\/page\/cinema\/tab\? url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Bilibili/Bilibili.js 29 | # ~ BiliBili_哔哩哔哩_应用开屏去广告 30 | ^https://app.bilibili.com/x/v2/splash/show url reject-dict 31 | # ~ BiliBili_哔哩哔哩_应用开屏广告预加载 32 | ^https:\/\/app\.bilibili\.com\/x\/v2\/splash\/list url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Bilibili/Bilibili.js 33 | # ~ BiliBili_哔哩哔哩_1080P高码率+4K画质[番剧和影视除外] 34 | ^https?:\/\/app\.bilibili\.com\/x\/v2\/account\/myinfo\? url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Bilibili/Bilibili.js 35 | # ~ BiliBili_哔哩哔哩_热搜发现 36 | ^https://app.bilibili.com/x/v2/search/square url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Bilibili/Bilibili.js 37 | # ~ BiliBili_哔哩哔哩_Defaultword 38 | ^https://app.bilibili.com/x/v2/search/defaultwords url reject-dict 39 | # ~ BiliBili_哔哩哔哩_Material_Ad 40 | ^https?:\/\/api\.bilibili\.com\/x\/vip\/ads\/material\/report url reject-dict 41 | # ~ BiliBili_哔哩哔哩_小卡片广告 42 | ^https://api.bilibili.com/pgc/season/player/cards url reject-dict 43 | # ~ BiliBili_哔哩哔哩_漫画去广告 44 | ^https?:\/\/manga\.bilibili\.com\/twirp\/comic\.v\d\.Comic\/(Flash|ListFlash|GetActivityTab) url reject-dict 45 | # ~ BiliBili_哔哩哔哩_推荐去广告 46 | ^https?:\/\/app\.bilibili\.com\/x\/v2\/feed\/index url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Bilibili/Bilibili.js 47 | # ~ BiliBili_哔哩哔哩_追番去广告 48 | ^https?:\/\/api\.(bilibili|biliapi)\.(com|net)\/pgc\/page\/bangumi url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Bilibili/Bilibili.js 49 | # ~ BiliBili_哔哩哔哩_直播去广告@bm7 50 | ^https?:\/\/api\.live\.bilibili\.com\/xlive\/app-room\/v1\/index\/getInfoByRoom url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Bilibili/Bilibili.js 51 | # ~ BiliBili_哔哩哔哩_标签页处理 52 | ^https?:\/\/app\.bilibili\.com\/x\/resource\/show\/tab url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Bilibili/Bilibili.js 53 | # ~ BiliBili_哔哩哔哩_我的页面处理 54 | ^https?:\/\/app\.bilibili\.com\/x\/v2\/account\/mine url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Bilibili/Bilibili.js 55 | # ~ BiliBili_哔哩哔哩_UP主推荐广告[适配ipad端] 56 | ^https?:\/\/(app\.bilibili\.com|grpc\.biliapi\.net)\/bilibili\.app\.view\.v1\.View\/View$ url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Bilibili/Bilibiliproto.js 57 | # ~ BiliBili_哔哩哔哩_动态页面去广告 58 | ^https?:\/\/(app\.bilibili\.com|grpc\.biliapi\.net)\/bilibili\.app\.dynamic\.v2\.Dynamic\/DynAll$ url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Bilibili/Bilibiliproto.js 59 | # ~ BiliBili_哔哩哔哩_去除统一设置的皮肤[注释留存] 60 | ;^https?:\/\/app\.bilibili\.com\/x\/resource\/show\/skin\? url script-response-body https://raw.githubusercontent.com/Softlyx/QuantumultX/main/AdBlock/Bilibili/Bilibili.js 61 | -------------------------------------------------------------------------------- /AdBlock/Bilibili/Bilibili.js: -------------------------------------------------------------------------------- 1 | /*********************************************** 2 | > 应用名称:自用B站去广告脚本 3 | > 更新时间:2023-03-05 4 | ***********************************************/ 5 | 6 | 7 | 8 | 9 | const version = 'V2.0.112'; 10 | 11 | let body=$response.body;if(body){switch(!0){case/pgc\/season\/app\/related\/recommend\?/.test($request.url):try{let t=JSON.parse(body);t.result?.cards?.length>0&&(t.result.cards=t.result.cards.filter(t=>2!=t.type)),body=JSON.stringify(t)}catch(i){console.log("bilibili recommend:"+i)}break;case/^https?:\/\/app\.bilibili\.com\/x\/resource\/show\/skin\?/.test($request.url):try{let a=JSON.parse(body);delete a.data?.common_equip,body=JSON.stringify(a)}catch(e){console.log("bilibili skin:"+e)}break;case/^https:\/\/app\.bilibili\.com\/x\/v2\/feed\/index\?/.test($request.url):try{let s=JSON.parse(body),l=[];for(let o of s.data.items)if(!o.hasOwnProperty("banner_item")){if(!(!o.hasOwnProperty("ad_info")&&-1===o.card_goto?.indexOf("ad")&&["small_cover_v2","large_cover_v1","large_cover_single_v9"].includes(o.card_type)))continue;else l.push(o)}s.data.items=l,body=JSON.stringify(s)}catch(d){console.log("bilibili index:"+d)}break;case/^https?:\/\/app\.bilibili\.com\/x\/v2\/feed\/index\/story\?/.test($request.url):try{let r=JSON.parse(body),b=[];for(let p of r.data.items)p.hasOwnProperty("ad_info")||-1!==p.card_goto.indexOf("ad")||b.push(p);r.data.items=b,body=JSON.stringify(r)}catch(c){console.log("bilibili Story:"+c)}break;case/^https?:\/\/app\.bilibili\.com\/x\/v\d\/account\/teenagers\/status\?/.test($request.url):try{let n=JSON.parse(body);n.data.teenagers_status=0,body=JSON.stringify(n)}catch(y){console.log("bilibili teenagers:"+y)}break;case/^https?:\/\/app\.bilibili\.com\/x\/resource\/show\/tab/.test($request.url):try{let u=new Set([177,178,179,181,102,104,106,486,488,489]),f=JSON.parse(body);if(f.data?.tab&&(f.data.tab=[{id:39,name:"直播",uri:"bilibili://live/home",tab_id:"直播tab",pos:1},{id:40,name:"推荐",uri:"bilibili://pegasus/promo",tab_id:"推荐tab",pos:2,default_selected:1},{id:41,name:"热门",uri:"bilibili://pegasus/hottopic",tab_id:"hottopic",pos:3},{id:545,name:"番剧",uri:"bilibili://pgc/home",tab_id:"bangumi",pos:4},{id:151,name:"影视",uri:"bilibili://pgc/cinema-tab",tab_id:"film",pos:5}]),f.data.top&&(f.data.top=[{id:481,icon:"http://i0.hdslb.com/bfs/archive/d43047538e72c9ed8fd8e4e34415fbe3a4f632cb.png",name:"消息",uri:"bilibili://link/im_home",tab_id:"消息Top",pos:1}]),f.data.bottom){let h=f.data.bottom.filter(t=>u.has(t.id));f.data.bottom=h}body=JSON.stringify(f)}catch(m){console.log("bilibili tabprocess:"+m)}break;case/^https?:\/\/app\.bilibili\.com\/x\/v2\/account\/mine/.test($request.url):try{let g=JSON.parse(body),v=new Set([396,397,398,399,407,410,402,404,425,426,427,428,430,432,433,434,494,495,496,497,500,501]);g.data.sections_v2.forEach((t,i)=>{let a=t.items.filter(t=>v.has(t.id));g.data.sections_v2[i].items=a,g.data.sections_v2[i].button={},delete g.data.sections_v2[i].be_up_title,delete g.data.sections_v2[i].tip_icon,delete g.data.sections_v2[i].tip_title,("创作中心"==g.data.sections_v2[i].title||"創作中心"==g.data.sections_v2[i].title)&&(delete g.data.sections_v2[i].title,delete g.data.sections_v2[i].type)}),delete g.data.vip_section_v2,delete g.data.vip_section,g.data.hasOwnProperty("live_tip")&&(g.data.live_tip={}),g.data.hasOwnProperty("answer")&&(g.data.answer={}),g.data.vip.status||(g.data.vip_type=2,g.data.vip.type=2,g.data.vip.status=1,g.data.vip.vip_pay_type=1,g.data.vip.due_date=466982416e4),body=JSON.stringify(g)}catch($){console.log("bilibili mypage:"+$)}break;case/^https?:\/\/api\.live\.bilibili\.com\/xlive\/app-room\/v1\/index\/getInfoByRoom/.test($request.url):try{let _=JSON.parse(body);_.data.activity_banner_info=null,_.data?.shopping_info&&(_.data.shopping_info={is_show:0}),_.data?.new_tab_info?.outer_list&&_.data.new_tab_info.outer_list.length&&(_.data.new_tab_info.outer_list=_.data.new_tab_info.outer_list.filter(t=>33!=t.biz_id)),body=JSON.stringify(_)}catch(x){console.log("bilibili live broadcast:"+x)}break;case/^https?:\/\/app\.bilibili\.com\/x\/resource\/top\/activity/.test($request.url):try{let k=JSON.parse(body);k.data&&(k.data.hash="ddgksf2013",k.data.online.icon=""),body=JSON.stringify(k)}catch(w){console.log("bilibili right corner:"+w)}break;case/ecommerce-user\/get_shopping_info\?/.test($request.url):try{let O=JSON.parse(body);O.data&&(O.data={shopping_card_detail:{},bubbles_detail:{},recommend_card_detail:{},selected_goods:{},h5jump_popup:[]}),body=JSON.stringify(O)}catch(P){console.log("bilibili shopping info:"+P)}break;case/^https?:\/\/app\.bilibili\.com\/x\/v2\/search\/square/.test($request.url):try{let W=JSON.parse(body);W.data={type:"history",title:"搜索历史",search_hotword_revision:2},body=JSON.stringify(W)}catch(j){console.log("bilibili hot search:"+j)}break;case/https?:\/\/app\.bilibili\.com\/x\/v2\/account\/myinfo\?/.test($request.url):try{let q=JSON.parse(body);q.data.vip.status||(q.data.vip.type=2,q.data.vip.status=1,q.data.vip.vip_pay_type=1,q.data.vip.due_date=466982416e4),body=JSON.stringify(q)}catch(E){console.log("bilibili 1080p:"+E)}break;case/pgc\/page\/(bangumi|cinema\/tab\?)/.test($request.url):try{let z=JSON.parse(body);z.result.modules.forEach(t=>{t.style.startsWith("banner")&&(t.items=t.items.filter(t=>-1!=t.link.indexOf("play"))),t.style.startsWith("function")&&(t.items=t.items.filter(t=>-1==t.blink.indexOf("bilibili.com")),[1283,241,1441,1284].includes(t.module_id)&&(t.items=[])),t.style.startsWith("tip")&&(t.items=[])}),body=JSON.stringify(z)}catch(B){console.log("bilibili fanju:"+B)}break;case/^https:\/\/app\.bilibili\.com\/x\/v2\/splash\/list/.test($request.url):try{let I=JSON.parse(body);if(I.data&&I.data.list)for(let R of I.data.list)R.duration=0,R.begin_time=2240150400,R.end_time=2240150400;body=JSON.stringify(I)}catch(S){console.log("bilibili openad:"+S)}break;case/^https:\/\/api\.live\.bilibili\.com\/xlive\/app-interface\/v2\/index\/feed/.test($request.url):try{let T=JSON.parse(body);T.data&&T.data.card_list&&(T.data.card_list=T.data.card_list.filter(t=>"banner_v1"!=t.card_type)),body=JSON.stringify(T)}catch(A){console.log("bilibili xlive:"+A)}break;default:$done({})}$done({body})}else $done({}); 12 | -------------------------------------------------------------------------------- /AdBlock/test.js: -------------------------------------------------------------------------------- 1 | // 2024-10-15 10:05 2 | 3 | const url = $request.url; 4 | const isResp = typeof $response !== "undefined"; 5 | let body = $response.body; 6 | 7 | switch (isResp) { 8 | // 草榴社区-评论区广告 9 | case /^https:\/\/2023\.redircdn\.com\/web\/mob_post\.js\?/.test(url): 10 | try { 11 | body = body.replace(/spinit\(\)/g, "rucu6()"); 12 | } catch (err) { 13 | console.log(`草榴社区-评论区广告, 出现异常: ` + err); 14 | } 15 | break; 16 | 17 | // 淘宝-开屏视频广告 18 | case /^https:\/\/guide-acs\.m\.taobao\.com\/gw\/mtop\.taobao\.cloudvideo\.video\.query/.test(url): 19 | try { 20 | let obj = JSON.parse(body); 21 | if (obj?.data?.duration) { 22 | obj.data.duration = "0"; 23 | } 24 | if (obj?.data?.resources?.length > 0) { 25 | obj.data.resources = []; 26 | } 27 | if (obj?.data?.caches?.length > 0) { 28 | obj.data.caches = []; 29 | } 30 | if (obj?.data?.respTimeInMs) { 31 | obj.data.respTimeInMs = "3818332800000"; 32 | } 33 | body = JSON.stringify(obj); 34 | } catch (err) { 35 | console.log(`淘宝-开屏视频广告, 出现异常: ` + err); 36 | } 37 | break; 38 | // 淘宝-开屏图片广告 39 | case /^https:\/\/guide-acs\.m\.taobao\.com\/gw\/mtop\.taobao\.wireless\.home\.splash\.awesome\.get/.test(url): 40 | try { 41 | let obj = JSON.parse(body); 42 | if (obj?.data?.containers?.splash_home_base) { 43 | let splash = obj.data.containers.splash_home_base; 44 | if (splash?.base?.sections?.length > 0) { 45 | for (let items of splash.base.sections) { 46 | if ("taobao-splash" in items.bizData) { 47 | if (items?.bizData?.["taobao-splash"]?.data?.length > 0) { 48 | for (let item of items.bizData["taobao-splash"].data) { 49 | item.waitTime = "0"; 50 | item.times = "0"; 51 | item.hotStart = "false"; 52 | item.haveVoice = "false"; 53 | item.hideTBLogo = "false"; 54 | item.enable4G = "false"; 55 | item.coldStart = "false"; 56 | item.waitTime = "0"; 57 | item.startTime = "3818332800000"; 58 | item.endTime = "3818419199000"; 59 | item.gmtStart = "2090-12-31 00:00:00"; 60 | item.gmtEnd = "2090-12-31 23:59:59"; 61 | item.gmtStartMs = "3818332800000"; 62 | item.gmtEndMs = "3818419199000"; 63 | if (item?.imgUrl) { 64 | item.imgUrl = ""; 65 | } 66 | if (item?.videoUrl) { 67 | item.videoUrl = ""; 68 | } 69 | } 70 | } 71 | } 72 | } 73 | } 74 | } 75 | body = JSON.stringify(obj); 76 | } catch (err) { 77 | console.log(`淘宝-开屏图片广告, 出现异常: ` + err); 78 | } 79 | break; 80 | // 淘宝-开屏活动 81 | case /^https:\/\/poplayer\.template\.alibaba\.com\/\w+\.json/.test(url): 82 | try { 83 | let obj = JSON.parse(body); 84 | if (obj?.res?.images?.length > 0) { 85 | obj.res.images = []; 86 | } 87 | if (obj?.res?.videos?.length > 0) { 88 | obj.res.videos = []; 89 | } 90 | if (obj?.enable) { 91 | obj.enable = false; 92 | } 93 | if (obj?.mainRes?.images?.length > 0) { 94 | obj.mainRes.images = []; 95 | } 96 | body = JSON.stringify(obj); 97 | } catch (err) { 98 | console.log(`淘宝-开屏活动, 出现异常: ` + err); 99 | } 100 | break; 101 | 102 | // 小米商城-开屏广告 103 | case /^https:\/\/api\.m\.mi\.com\/v1\/app\/start/.test(url): 104 | try { 105 | let obj = JSON.parse(body); 106 | delete obj.data.splash; 107 | if (obj?.data?.skip_splash) { 108 | obj.data.skip_splash = true; 109 | } 110 | body = JSON.stringify(obj); 111 | } catch (err) { 112 | console.log(`小米商城-开屏广告, 出现异常: ` + err); 113 | } 114 | break; 115 | // JavDB 116 | case /^https:\/\/api\.hechuangxinxi\.xyz\/api\/v\d\/\w+/.test(url): 117 | try { 118 | let obj = JSON.parse(body); 119 | if (url.includes("/api/v1/ads")) { 120 | // 首页banner 121 | if (obj?.data?.ads?.index_top?.length > 0) { 122 | // 黑名单 移除http外链 123 | obj.data.ads.index_top = obj.data.ads.index_top.filter((i) => !/https?:\/\//.test(i?.url)); 124 | } 125 | if (obj?.data?.ads?.web_magnets_top?.length > 0) { 126 | // 黑名单 移除http外链 127 | obj.data.ads.web_magnets_top = obj.data.ads.web_magnets_top.filter((i) => !/https?:\/\//.test(i?.url)); 128 | } 129 | } else if (url.includes("/api/v1/startup")) { 130 | // 开屏广告 131 | delete obj.data.settings.NOTICE; // 首次进入的提示 132 | if (obj?.data?.splash_ad) { 133 | obj.data.splash_ad.enabled = false; 134 | obj.data.splash_ad.overtime = 0; 135 | } 136 | if (obj?.data?.feedback) { 137 | obj.data.feedback = {}; 138 | } 139 | if (obj?.data?.user) { 140 | // obj.data.user.vip_expired_at = "2090-12-31T23:59:59.000+08:00"; 141 | // obj.data.user.is_vip = true; 142 | } 143 | } else if (url.includes("/api/v1/users")) { 144 | // 伪装会员 145 | if (obj?.data?.user) { 146 | // obj.data.user.vip_expired_at = "2090-12-31T23:59:59.000+08:00"; 147 | // obj.data.user.is_vip = true; 148 | } 149 | } else if (url.includes("/api/v4/movies/")) { 150 | // 详情页banner 151 | if (obj?.data?.show_vip_banner) { 152 | obj.data.show_vip_banner = false; 153 | } 154 | } else { 155 | $done({}); 156 | } 157 | body = JSON.stringify(obj); 158 | } catch (err) { 159 | console.log(`JavDB, 出现异常: ` + err); 160 | } 161 | break; 162 | default: 163 | $done({}); 164 | } 165 | 166 | $done({ body }); 167 | -------------------------------------------------------------------------------- /AdBlock/General.conf: -------------------------------------------------------------------------------- 1 | # 原链接https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/General.conf 2 | # 神机重定向 3 | 4 | hostname = www.google.cn,www.firefox.com.cn,api.abema.io,app.biliintl.com,passport.biliintl.com 5 | 6 | # Redirect Google Search Service 7 | ^https?:\/\/(www.)?(g|google)\.cn url 302 https://www.google.com 8 | 9 | # Redirect Google Maps Service 10 | ^https?:\/\/(ditu|maps).google\.cn url 302 https://maps.google.com 11 | 12 | # Redirect HTTP to HTTPS 13 | ^https?:\/\/(www.)?taobao\.com\/ url 302 https://taobao.com/ 14 | ^https?:\/\/(www.)?jd\.com\/ url 302 https://www.jd.com/ 15 | ^https?:\/\/(www.)?mi\.com\/ url 302 https://www.mi.com/ 16 | ^https?:\/\/you\.163\.com\/ url 302 https://you.163.com/ 17 | ^https?:\/\/(www.)?suning\.com\/ url 302 https://suning.com/ 18 | ^https?:\/\/(www.)?yhd\.com\/ url 302 https://yhd.com/ 19 | 20 | # Redirect False to True 21 | # > Firefox - www.firefox.com.cn 22 | ^https?:\/\/(www.)?firefox\.com\.cn\/(download\/)?$ url 302 https://www.mozilla.org/zh-CN/firefox/new/ 23 | # > IGN China to IGN Global 24 | ^https?:\/\/(www.)?ign\.xn--fiqs8s\/ url 302 http://cn.ign.com/ccpref/us 25 | # > Fake Website Made By C&J Marketing 26 | ^https?:\/\/(www.)?abbyychina\.com\/ url 302 https://www.abbyy.cn/ 27 | ^https?:\/\/(www.)?alienskins\.cn\/ url 302 https://exposure.software/ 28 | ^https?:\/\/(www.)?anydeskchina\.cn\/ url 302 https://anydesk.com/zhs 29 | ^https?:\/\/(www.)?bartender\.cc\/ url 302 https://www.macbartender.com/ 30 | ^https?:\/\/(www.)?(betterzipcn|betterzip)\.(com|net)\/ url 302 https://macitbetter.com/ 31 | ^https?:\/\/(www.)?beyondcompare\.cc\/ url 302 https://www.scootersoftware.com/ 32 | ^https?:\/\/(www.)?bingdianhuanyuan\.cn\/ url 302 https://www.faronics.com/zh-hans/products/deep-freeze 33 | ^https?:\/\/(www.)?chemdraw\.com\.cn\/ url 302 https://www.perkinelmer.com.cn/ 34 | ^https?:\/\/(www.)?codesoftchina\.com\/ url 302 https://www.teklynx.com/ 35 | ^https?:\/\/(www.)?coreldrawchina\.com\/ url 302 https://www.coreldraw.com/cn/ 36 | ^https?:\/\/(www.)?crossoverchina\.com\/ url 302 https://www.codeweavers.com/ 37 | ^https?:\/\/(www.)?dongmansoft\.com\/ url 302 https://www.udongman.cn/ 38 | ^https?:\/\/(www.)?earmasterchina\.cn\/ url 302 https://www.earmaster.com/ 39 | ^https?:\/\/(www.)?easyrecoverychina\.com\/ url 302 https://www.ontrack.com/ 40 | ^https?:\/\/(www.)?ediuschina\.com\/ url 302 https://www.grassvalley.com/ 41 | ^https?:\/\/(www.)?flstudiochina\.com\/ url 302 https://www.image-line.com/ 42 | ^https?:\/\/(www.)?folxchina\.cn\/ url 302 https://mac.eltima.com/cn/download-manager.html 43 | ^https?:\/\/(www.)?formysql\.com\/ url 302 https://www.navicat.com.cn/ 44 | ^https?:\/\/(www.)?guitarpro\.cc\/ url 302 https://www.guitar-pro.com/ 45 | ^https?:\/\/(www.)?huishenghuiying\.com\.cn\/ url 302 https://www.coreldraw.com/cn/ 46 | ^https?:\/\/(www.)?hypeapp\.cn\/ url 302 https://tumult.com/hype/ 47 | ^https?:\/\/hypersnap\.mairuan\.com\/ url 302 https://www.hyperionics.com/ 48 | ^https?:\/\/(www.)?iconworkshop\.cn\/ url 302 https://www.axialis.com/ 49 | ^https?:\/\/(www.)?idmchina\.net\/ url 302 https://www.internetdownloadmanager.com/ 50 | ^https?:\/\/(www.)?imazingchina\.com\/ url 302 https://imazing.com/zh 51 | ^https?:\/\/(www.)?imindmap\.cc\/ url 302 https://www.ayoa.com/previously-imindmap/ 52 | ^https?:\/\/(www.)?jihehuaban\.com\.cn\/ url 302 https://www.chartwellyorke.com/sketchpad/x24795.html 53 | ^https?:\/\/hypersnap\.mairuan\.com\/ url 302 https://www.keyshot.com/ 54 | ^https?:\/\/(www.)?kingdeecn\.cn\/ url 302 http://www.kingdee.com/ 55 | ^https?:\/\/(www.)?logoshejishi\.com url 302 https://www.sothink.com/product/logo-design-software/ 56 | ^https?:\/\/logoshejishi\.mairuan\.com\/ url 302 https://www.sothink.com/product/logo-design-software/ 57 | ^https?:\/\/(www.)?luping\.net\.cn\/ url 302 https://www.techsmith.com/ 58 | ^https?:\/\/(www.)?mathtype\.cn\/ url 302 https://www.dessci.com/ 59 | ^https?:\/\/(www.)?mindmanager\.(cc|cn)\/ url 302 https://www.mindjet.com/cn/ 60 | ^https?:\/\/(www.)?mindmapper\.cc\/ url 302 https://www.mindmapper.com/ 61 | ^https?:\/\/(www.)?(mycleanmymac|xitongqingli)\.com\/ url 302 https://macpaw.com/ 62 | ^https?:\/\/(www.)?nicelabel\.cc\/ url 302 https://www.nicelabel.com/zh/ 63 | ^https?:\/\/(www.)?ntfsformac\.cc\/ url 302 https://www.tuxera.com/products/tuxera-ntfs-for-mac-cn/ 64 | ^https?:\/\/(www.)?ntfsformac\.cn\/ url 302 https://china.paragon-software.com/home-mac/ntfs-for-mac/ 65 | ^https?:\/\/(www.)?officesoftcn\.com\/ url 302 https://www.microsoft.com/zh-cn/microsoft-365 66 | ^https?:\/\/(www.)?overturechina\.com\/ url 302 https://sonicscores.com/ 67 | ^https?:\/\/(www.)?passwordrecovery\.cn\/ url 302 https://cn.elcomsoft.com/aopr.html 68 | ^https?:\/\/(www.)?pdfexpert\.cc\/ url 302 https://pdfexpert.com/zh 69 | ^https?:\/\/(www.)?photozoomchina\.com\/ url 302 https://www.benvista.com/ 70 | ^https?:\/\/(www.)?shankejingling\.com\/ url 302 https://www.sothink.com/product/flashdecompiler/ 71 | ^https?:\/\/cn\.ultraiso\.net\/ url 302 https://cn.ezbsystems.com/ultraiso/ 72 | ^https?:\/\/(www.)?vegaschina\.cn\/ url 302 https://www.vegascreativesoftware.com/ 73 | ^https?:\/\/(www.)?xshellcn\.com\/ url 302 https://www.netsarang.com/zh/xshell/ 74 | ^https?:\/\/(www.)?yuanchengxiezuo\.com\/ url 302 https://www.teamviewer.com/ 75 | ^https?:\/\/(www.)?zbrushcn.com/ url 302 https://pixologic.com/ 76 | ^https?:\/\/(www.)?anydeskchina.cn/ url 302 https://anydesk.com/zhs 77 | 78 | # AbeamTV 79 | ^https?:\/\/api\.abema\.io\/v\d\/ip\/check url reject-200 80 | 81 | # bstar intl 82 | (^https?:\/\/app\.biliintl\.com\/(x\/)?(intl|dm|reply|history|v\d\/(fav|msgfeed)).+?)(&s_locale=zh-Hans_[A-Z]{2})(.+?)(&sim_code=\d+)(.+) url 302 $1&s_locale=zh-Hans_PH$6&sim_code=51503$8 83 | 84 | ^https?:\/\/passport\.biliintl\.com\/x\/intl\/passport-login\/(sms\/send|reg\/sms|oauth2\/access_token|login\/sms) url script-request-body https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Rewrite/bstar.js 85 | (^https?:\/\/passport\.biliintl\.com\/x\/intl\/passport-login\/.+)(&s_locale=zh-Hans_[A-Z]{2})(.+)(&sim_code=\d+)(.+) url 302 $1&s_locale=zh-Hans_PH$35&sim_code=51503$5 86 | 87 | ^https?:\/\/app\.biliintl\.com\/(intl\/gateway\/v\d\/app\/data\/report\/heartbeat\/mobile|x\/(history|reply)/v\d/add) url script-request-body https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Rewrite/bstar.js 88 | 89 | # AICoin 90 | ^http:\/\/(www.)?aicoin\.cn\/$ url 302 https://www.aicoin.com/ 91 | -------------------------------------------------------------------------------- /Scripts/traffic-check.js: -------------------------------------------------------------------------------- 1 | # 策略流量查询 2 | # 原链接https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/traffic-check.js 3 | 4 | 5 | const messageTraffic = { 6 | action: "get_traffic_statistics" 7 | }; 8 | 9 | let version = Number($environment.version.split("build")[1]) 10 | 11 | let result = { 12 | "title" : "策略流量查詢" 13 | } 14 | 15 | var policy = $environment.params 16 | const message = { 17 | action: "get_customized_policy", 18 | content: policy 19 | 20 | }; 21 | 22 | let [datad, datau]= [0, 0] //总下载/上传流量 23 | var checked = [] // 已经检查的节点名单 24 | var checkedtraffic = [] //已检查节点的总用量 25 | 26 | var pflag=1 //是否是策略,或者简单节点 27 | 28 | //策略组 or 节点 29 | $configuration.sendMessage(message).then(resolve => { 30 | if (resolve.error) { 31 | console.log(resolve.error); 32 | $done() 33 | } 34 | if (resolve.ret) { 35 | output=JSON.stringify(resolve.ret[message.content])? JSON.parse(JSON.stringify(resolve.ret[message.content]["candidates"])) : [$environment.params] 36 | pflag = JSON.stringify(resolve.ret[message.content])? pflag:0 37 | console.log("节点or策略组:"+pflag) 38 | if (version >=631) { 39 | console.log("Build "+version) 40 | DisplayNodeTraffic(output,pflag) 41 | } else { 42 | console.log("Build "+version) 43 | $done({"title":result["title"],"message":"🚫 你的 APP 版本不支持使用此脚本\n\n💡 需要版本 1.0.28(631+)"}) 44 | } 45 | 46 | } 47 | //$done();| 48 | }, reject => { 49 | // Normally will never happen. 50 | $done(); 51 | }); 52 | 53 | function getJsonLength(jsonData){ 54 | var jsonLength = 0; 55 | for(var item in jsonData){ 56 | jsonLength++; 57 | } 58 | return jsonLength; 59 | } 60 | 61 | 62 | // 计算流量信息 63 | var [Tdatad,Tdatau,Udatad,Udatau]=[0,0,0,0] 64 | var total = 0 65 | var gdnode = 0 66 | var gdname = policy 67 | 68 | function getServerTraffic(data,nodes){ 69 | //console.log(data.name) 70 | let type = data.type 71 | let nname = data.name 72 | //console.log("下载用量:"+(data.rx_transfer/1024/1024).toFixed(1)+"MB") 73 | if (nodes.indexOf(nname) != -1) { 74 | if (type == "tcp") { 75 | //console.log(typeof(Tdatad),typeof(Tdatau)) 76 | Tdatad=(Number(Tdatad)+data.rx_transfer/1024/1024) 77 | Tdatau=(Number(Tdatau)+data.tx_transfer/1024/1024) 78 | //console.log(Tdatad,Tdatau) 79 | } else if (type == "udp") { 80 | Udatad=(Number(Udatad)+data.rx_transfer/1024/1024) 81 | Udatau=(Number(Udatau)+data.tx_transfer/1024/1024) 82 | } 83 | let total = (data.rx_transfer+data.tx_transfer)/1024/1024 84 | if (checked.indexOf(nname)==-1) { 85 | checked.push(nname) 86 | checkedtraffic.push(total) 87 | } else { 88 | checkedtraffic[checked.indexOf(nname)]=checkedtraffic[checked.indexOf(nname)]+total 89 | } 90 | } else { 91 | } 92 | } 93 | 94 | //流量排序 95 | function Rank(){ 96 | console.log(checked) 97 | console.log(checkedtraffic) 98 | checked.sort((prev,next)=> { 99 | return checkedtraffic[checked.indexOf(next)]-checkedtraffic[checked.indexOf(prev)] 100 | }) 101 | checkedtraffic.sort((prev,next)=> { 102 | return next-prev 103 | }) 104 | console.log(checkedtraffic.map(item => item.toFixed(1))) 105 | let rst = checked.map((name, i) => ([i+1,name,CUnit(checkedtraffic[i])].join(": "))) 106 | console.log(rst.join("\n")) 107 | let msg = "" 108 | if (checked.length>=3) { 109 | msg = "
🥇 "+checked[0]+" ☞ "+CUnit(checkedtraffic[0])+"

🥈 "+checked[1]+" ☞ "+CUnit(checkedtraffic[1])+"

🥉 "+checked[2]+" ☞ "+CUnit(checkedtraffic[2]) 110 | } else if (checked.length==2) { 111 | msg = "
🥇 "+checked[0]+" ☞ "+CUnit(checkedtraffic[0])+"

🥈 "+checked[1]+" ☞ "+CUnit(checkedtraffic[1]) 112 | } else if (checked.length==1) { 113 | msg = "
🥇 "+checked[0]+" ☞ "+CUnit(checkedtraffic[0]) 114 | } 115 | //msg = `

` + msg + `

` 116 | msg = msg!=""? ""+msg+"" :"

无使用节点流量记录
" 117 | return msg 118 | } 119 | 120 | //查询流量 121 | function DisplayNodeTraffic(nodes,pflag) { 122 | $configuration.sendMessage(messageTraffic).then(resolve => { 123 | if (resolve.error) { 124 | console.log(resolve.error); 125 | } 126 | if (resolve.ret) { 127 | let output=JSON.stringify(resolve.ret, null, 2); 128 | let len = getJsonLength(resolve.ret) 129 | for (var item in resolve.ret) { 130 | getServerTraffic(resolve.ret[item],nodes) 131 | } 132 | //console.log(output); 133 | content = NodeData(nodes,pflag); 134 | //console.log(content) 135 | $done({"title":result["title"],"htmlMessage":content}) 136 | } 137 | $done(); 138 | }, reject => { 139 | // Normally not gonna happen. 140 | $done(); 141 | }); 142 | } 143 | 144 | //单位展示 145 | function CUnit(cnt) { 146 | cnt = Number(cnt)>=1024? (cnt/1024).toFixed(2)+" GB " : cnt.toFixed(1)+" MB " 147 | return cnt 148 | } 149 | 150 | function NodeData(nodes,pflag){ 151 | datad = "TCP : "+" "+CUnit(Tdatad)+"⟱ | "+CUnit(Tdatau)+"⟰ " 152 | datau = "UDP : "+" "+CUnit(Udatad)+"⟱ | "+CUnit(Udatau)+"⟰ " 153 | total = CUnit(Tdatad+Tdatau+Udatad+Udatau) 154 | Ncontent = "--------------------------------------

"+[datad,datau].join("

")+ "

--------------------------------------

" 155 | Ncontent = pflag == 0? Ncontent+""+"节点 ➟ " + policy+ " ☞ "+total+" 流量
" : ""+" 策略 ➟ " + policy+ "

共 『"+checked.length+"/"+nodes.length+"』 个节点 ☞ "+total+" 流量
"+Ncontent+" 🏆 排行榜
" 156 | Ncontent = pflag == 0? Ncontent : Ncontent +Rank() 157 | Ncontent = `

` + Ncontent + `

` 158 | //console.log(Ncontent) 159 | return Ncontent 160 | } 161 | -------------------------------------------------------------------------------- /Crack/aliyun.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | * ==UserScript== 4 | * @ScriptName FileBall挂载阿里云盘、Alist 5 | * @UpdateTime 2023-01-28 6 | * @ScriptFunction FileBall挂载阿里云盘、Alist,播放云盘中的音乐和视频文件 7 | * @Version v2.0.21 8 | * @Suit 仅适配QuantumultX工具 9 | 10 | * ==/UserScript== 11 | 12 | 13 | [rewrite_local] 14 | 15 | ^https?:\/\/.*\.example\.com url script-analyze-echo-response https://raw.githubusercontent.com/Softlyx/QuantumultX/main/Crack/aliyun.js 16 | 17 | [mitm] 18 | 19 | hostname = *.example.com 20 | 21 | 22 | FileBall操作步骤[仅适配QuantumultX工具] 23 | 24 | 请认真仔细阅读下方使用说明: 25 | ************************************* 26 | 1.0挂载Aliyun[仅单个账户,修复bug,增加token过期提醒] 27 | 1.1添加Synology协议 28 | 1.2地址填 aliyun.example.com 29 | 1.3用户名随意 30 | 1.4密码填【refresh_token】Token获取地址(需要用阿里云盘扫描alist的二维码获得)[ https://alist.nn.ci/zh/guide/drivers/aliyundrive.html ] 31 | 1.5目前阿里云盘仅支持单账户 32 | 1.6连接&Enjoy 33 | 1.7如需更换账户[如换账号或token过期],请删除【所有】的阿里云盘账户,重新按照1.1-1.4步骤添加 34 | ************************************* 35 | 2.0挂载Alist[已更新至alist_api_v3] 36 | 2.1添加Synology协议 37 | 2.2地址填 alist.example.com 38 | 2.3用户名填Alist地址,如墨鱼推荐的小雅[碉堡了]:http://alist.xiaoya.pro 39 | 2.4密码随意 40 | 2.5按照2.1-2.4步骤可添加多个alist 41 | 2.6当存在多个alist列表,需要使用某个alsit,请【左滑】,点击【画笔】,点击右上角【连接】使用 42 | 2.7单alist使用时,无需2.6步骤 43 | 2.8连接&Enjoy 44 | ************************************* 45 | 46 | 47 | */ 48 | 49 | 50 | 51 | 52 | 53 | const version="V2.0.21";var date=new Date,isDebug=!1;"undefined"==typeof $request&&($notify("ALI","","请勿手动执行本脚本!"),$done({}));var url=$request.url,host=$prefs.valueForKey("alist_host"),alistUrl=$prefs.valueForKey("alist_url"),refreshToken=$prefs.valueForKey("aliyun_refresh_token"),accessToken=$prefs.valueForKey("aliyun_access_token"),driveId=$prefs.valueForKey("aliyun_drive_id");const method="POST";var headers={"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36","Content-Type":"application/json"},myResponse={status:"HTTP/1.1 200 OK"},obj={};async function AliyunAuth(){return new Promise(e=>{let t=$request.body,a=t.match(/passwd=([^&]*)/)[1];t.match(/account=([^&]*)/)[1],log("password:"+a);let s={url:"https://auth.aliyundrive.com/v2/account/token",method:method,headers:headers,body:JSON.stringify({refresh_token:a,grant_type:"refresh_token"})};$task.fetch(s).then(t=>{try{-1!=t.body.indexOf("InvalidParameter")&&($notify("ALI","","阿里云盘Token已失效,请重新获取!"),$done({}));let a=JSON.parse(t.body);a.refresh_token&&a.access_token&&a.default_drive_id?($prefs.setValueForKey(a.refresh_token,"aliyun_refresh_token"),$prefs.setValueForKey(a.access_token,"aliyun_access_token"),$prefs.setValueForKey(a.default_drive_id,"aliyun_drive_id"),log("body.refresh_token:"+a.refresh_token),log("body.access_token:"+a.access_token),log("body.default_drive_id:"+a.default_drive_id),obj={success:!0,data:{sid:a.access_token}},myResponse.body=JSON.stringify(obj),$done(myResponse)):$done()}finally{e()}},e=>{$done()})})}async function AliyunEntry(){return new Promise(e=>{let t=$request.body;if("string"==typeof t){if(-1!=t.indexOf("list_share")||-1!=t.indexOf("method=list")){headers.authorization="Bearer "+accessToken;var a=null===t.match(/folder_path=([^&]*)/)?"root":t.match(/folder_path=([^&]*)/)[1];let s="root"===a;log(a=a.replace(/%25/g,"%"));let o={drive_id:driveId,fields:"*",parent_file_id:a,limit:200},i={url:"https://api.aliyundrive.com/v2/file/list",method:method,headers:headers,body:JSON.stringify(o)};log(JSON.stringify(i)),$task.fetch(i).then(t=>{try{-1!=t.body.indexOf("AccessTokenInvalid")&&($notify("ALI","","阿里云盘Token已失效,请重新获取!"),$done({})),-1!=t.body.indexOf("password")&&$notify("ALI","","此文件夹需要密码!");let a=JSON.parse(t.body).items;var o=[];a.forEach(function(e){let t={isdir:"folder"===e.type,path:e.file_id,name:e.name,additional:{size:e.size}};o.push(t)}),obj={success:!0,data:s?{total:0,offset:0,shares:o}:{total:0,offset:0,files:o}},myResponse.body=JSON.stringify(obj),$done(myResponse)}finally{e()}},e=>{$done()})}}else $done()})}async function AliyunDownLoad(){return new Promise(e=>{let t=url.match(/dlink=%22(.*)%22/)[1],a=hexToUtf8(t);log("fileId : "+a),headers.authorization="Bearer "+accessToken;let s={url:"https://api.aliyundrive.com/v2/file/get_download_url",method:method,headers:headers,body:JSON.stringify({drive_id:driveId,expire_sec:14400,file_id:a})};$task.fetch(s).then(t=>{try{let a=JSON.parse(t.body).url;log(a),$done({status:"HTTP/1.1 302 Found",headers:{Location:a}})}finally{e()}},e=>{$done()})})}async function AlistAuth(){return new Promise(e=>{let t=$request.body,a=decodeURIComponent(t.match(/account=([^&]*)/)[1]);log("host:"+a),$prefs.setValueForKey(a,"alist_host"),obj={success:!0,data:{sid:""}},myResponse.body=JSON.stringify(obj),$done(myResponse)})}async function AlistEntry(){return new Promise(e=>{let t=$request.body;if("string"==typeof t){if(-1!=t.indexOf("list_share")||-1!=t.indexOf("method=list")){var a=null===t.match(/folder_path=([^&]*)/)?"/":t.match(/folder_path=([^&]*)/)[1];let s="/"===a;a=a.replace(/%25/g,"%");let o={page_num:1,page_size:100,password:"",path:decodeURIComponent(a)},i={url:host+"/api/fs/list",method:method,headers:headers,body:JSON.stringify(o)};$task.fetch(i).then(t=>{try{-1!=t.body.indexOf("password")&&$notify("ALI","","此文件夹需要密码!");let o=JSON.parse(t.body).data.content,i="/"===a?"":a;var n=[],r=[];"string"==typeof $prefs.valueForKey("alist_url")&&(r=$prefs.valueForKey("alist_url"),log("get persistentstore data: "+r)),o.forEach(function(e){let t={isdir:1===e.type,path:i+"/"+e.name,name:e.name,additional:{size:e.size}};if(n.push(t),30==e.type||40==e.type){let a={url:e.url,name:e.name};r.push(a),r.length>100&&r.shift()}}),r.length>0&&$prefs.setValueForKey(r,"alist_url"),obj={success:!0,data:s?{total:0,offset:0,shares:n}:{total:0,offset:0,files:n}},myResponse.body=JSON.stringify(obj),$done(myResponse)}finally{e()}},e=>{$done()})}}else $done()})}async function AlistDownLoad(){return new Promise(e=>{let t=$request.url.match(/dlink=%22(.*)%22/)[1],a=hexToUtf8(t);log(a);let s={password:"",path:decodeURIComponent(a)},o={url:host+"/api/fs/get",method:method,headers:headers,body:JSON.stringify(s)};$task.fetch(o).then(t=>{try{let a=JSON.parse(t.body);a.data?.raw_url?(log(a.data.raw_url),$done({status:"HTTP/1.1 302 Found",headers:{Location:a.data.raw_url}})):$done()}finally{e()}},e=>{$done()})})}function log(e){isDebug&&console.log(e)}function hexToUtf8(e){return decodeURIComponent("%"+e.match(/.{1,2}/g).join("%"))}(async()=>{/aliyun.*?\/webapi\/auth\.cgi/.test($request.url)?await AliyunAuth():/aliyun.*?webapi\/entry\.cgi/.test($request.url)?await AliyunEntry():/aliyun.*?fbdownload/.test($request.url)?await AliyunDownLoad():/alist.*?\/webapi\/auth\.cgi/.test($request.url)?await AlistAuth():/alist.*?webapi\/entry\.cgi/.test($request.url)?await AlistEntry():/alist.*?fbdownload/.test($request.url)&&await AlistDownLoad()})(); 54 | -------------------------------------------------------------------------------- /qinglong/tieba_signin.js: -------------------------------------------------------------------------------- 1 | # -*- coding:utf-8 -*- 2 | import os 3 | import requests 4 | import hashlib 5 | import time 6 | import copy 7 | import logging 8 | import re 9 | 10 | 11 | logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s') 12 | logger = logging.getLogger(__name__) 13 | 14 | # API_URL 15 | LIKIE_URL = "http://c.tieba.baidu.com/c/f/forum/like" 16 | TBS_URL = "http://tieba.baidu.com/dc/common/tbs" 17 | SIGN_URL = "https://tieba.baidu.com/sign/add" 18 | Ba_TBS = "http://tieba.baidu.com/f?kw=" 19 | 20 | #更新这里的cookie 21 | HEADERS = { 22 | 'Host': 'tieba.baidu.com', 23 | 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36', 24 | 'cookie':'XXXXXXXXXXXX', # 此处填写签到时的cookie 25 | } 26 | SIGN_DATA = { 27 | "ie": "utf-8", 28 | } 29 | 30 | SUCCESS_COUNT=0 31 | FAIL_COUNT=0 32 | 33 | 34 | # VARIABLE NAME 35 | COOKIE = "Cookie" 36 | BDUSS = "bduss" 37 | EQUAL = r'=' 38 | EMPTY_STR = r'' 39 | TBS = 'tbs' 40 | PAGE_NO = 'page_no' 41 | ONE = '1' 42 | TIMESTAMP = "timestamp" 43 | DATA = 'data' 44 | FID = 'fid' 45 | SIGN_KEY = 'tiebaclient!!!' 46 | UTF8 = "utf-8" 47 | SIGN = "sign" 48 | KW = "kw" 49 | 50 | s = requests.Session() 51 | 52 | 53 | def get_tbs(bduss): 54 | logger.info("获取tbs开始") 55 | headers = copy.copy(HEADERS) 56 | headers.update({COOKIE: EMPTY_STR.join([BDUSS, EQUAL, bduss])}) 57 | try: 58 | tbs = s.get(url=TBS_URL, headers=headers, timeout=5).json()[TBS] 59 | except Exception as e: 60 | logger.error("获取tbs出错" + e) 61 | logger.info("重新获取tbs开始") 62 | tbs = s.get(url=TBS_URL, headers=headers, timeout=5).json()[TBS] 63 | logger.info("获取tbs结束") 64 | return tbs 65 | 66 | 67 | def get_favorite(bduss): 68 | logger.info("获取关注的贴吧开始") 69 | # 客户端关注的贴吧 70 | returnData = {} 71 | i = 1 72 | data = { 73 | 'BDUSS': bduss, 74 | '_client_type': '2', 75 | '_client_id': 'wappc_1534235498291_488', 76 | '_client_version': '9.7.8.0', 77 | '_phone_imei': '000000000000000', 78 | 'from': '1008621y', 79 | 'page_no': '1', 80 | 'page_size': '200', 81 | 'model': 'MI+5', 82 | 'net_type': '1', 83 | 'timestamp': str(int(time.time())), 84 | 'vcode_tag': '11', 85 | } 86 | data = encodeData(data) 87 | try: 88 | res = s.post(url=LIKIE_URL, data=data, timeout=5).json() 89 | except Exception as e: 90 | logger.error("获取关注的贴吧出错" + e) 91 | return [] 92 | returnData = res 93 | if 'forum_list' not in returnData: 94 | returnData['forum_list'] = [] 95 | if res['forum_list'] == []: 96 | return {'gconforum': [], 'non-gconforum': []} 97 | if 'non-gconforum' not in returnData['forum_list']: 98 | returnData['forum_list']['non-gconforum'] = [] 99 | if 'gconforum' not in returnData['forum_list']: 100 | returnData['forum_list']['gconforum'] = [] 101 | while 'has_more' in res and res['has_more'] == '1': 102 | i = i + 1 103 | data = { 104 | 'BDUSS': bduss, 105 | '_client_type': '2', 106 | '_client_id': 'wappc_1534235498291_488', 107 | '_client_version': '9.7.8.0', 108 | '_phone_imei': '000000000000000', 109 | 'from': '1008621y', 110 | 'page_no': str(i), 111 | 'page_size': '200', 112 | 'model': 'MI+5', 113 | 'net_type': '1', 114 | 'timestamp': str(int(time.time())), 115 | 'vcode_tag': '11', 116 | } 117 | data = encodeData(data) 118 | try: 119 | res = s.post(url=LIKIE_URL, data=data, timeout=5).json() 120 | except Exception as e: 121 | logger.error("获取关注的贴吧出错" + e) 122 | continue 123 | if 'forum_list' not in res: 124 | continue 125 | if 'non-gconforum' in res['forum_list']: 126 | returnData['forum_list']['non-gconforum'].append(res['forum_list']['non-gconforum']) 127 | if 'gconforum' in res['forum_list']: 128 | returnData['forum_list']['gconforum'].append(res['forum_list']['gconforum']) 129 | 130 | t = [] 131 | for i in returnData['forum_list']['non-gconforum']: 132 | if isinstance(i, list): 133 | for j in i: 134 | if isinstance(j, list): 135 | for k in j: 136 | t.append(k) 137 | else: 138 | t.append(j) 139 | else: 140 | t.append(i) 141 | for i in returnData['forum_list']['gconforum']: 142 | if isinstance(i, list): 143 | for j in i: 144 | if isinstance(j, list): 145 | for k in j: 146 | t.append(k) 147 | else: 148 | t.append(j) 149 | else: 150 | t.append(i) 151 | logger.info("获取关注的贴吧结束") 152 | return t 153 | 154 | 155 | def encodeData(data): 156 | s = EMPTY_STR 157 | keys = data.keys() 158 | for i in sorted(keys): 159 | s += i + EQUAL + str(data[i]) 160 | sign = hashlib.md5((s + SIGN_KEY).encode(UTF8)).hexdigest().upper() 161 | data.update({SIGN: str(sign)}) 162 | return data 163 | 164 | def getTbs(kw): 165 | # 正则表达式学得不太好,用得有点呆板,凑合用 166 | url = "https://tieba.baidu.com/f?kw="+kw+"&fr=index&fp=0&ie=utf-8" 167 | response = requests.get(url, headers=HEADERS) 168 | response.raise_for_status() 169 | response.encoding = response.apparent_encoding 170 | html = response.text 171 | match = re.search(r"'tbs': \"(.*)\" };", html) 172 | if match: 173 | tbs = match.group(0).split('"')[1] 174 | return tbs 175 | return None 176 | 177 | 178 | def client_sign(bduss, tbs, fid, kw): 179 | global SUCCESS_COUNT 180 | global FAIL_COUNT 181 | global TXT_LOG 182 | # 客户端签到 183 | logger.info("开始签到贴吧:" + kw) 184 | data = copy.copy(SIGN_DATA) 185 | tbs = getTbs(kw) 186 | data.update({BDUSS: bduss, FID: fid, KW: kw, TBS: tbs, TIMESTAMP: str(int(time.time()))}) 187 | data = encodeData(data) 188 | res = s.post(url=SIGN_URL,headers=HEADERS, data=data, timeout=5).json() 189 | if res.get("no") == 0: 190 | SUCCESS_COUNT += 1 191 | print("成功") 192 | TXT_LOG = TXT_LOG + kw + "吧-签到成功\n" 193 | else: 194 | FAIL_COUNT += 1 195 | print("失败") 196 | TXT_LOG = TXT_LOG + kw + "吧-签到失败\n" 197 | 198 | 199 | 200 | def main(): 201 | global SUCCESS_COUNT 202 | global FAIL_COUNT 203 | global TXT_LOG 204 | TXT_LOG = " " 205 | #更新这里的bduss 206 | b = "XXXXXXXXXXXXXXXX" # 此处填写bduss 207 | print("开始签到") 208 | tbs = get_tbs(b) 209 | favorites = get_favorite(b) 210 | for j in favorites: 211 | client_sign(b, tbs, j["id"], j["name"]) 212 | print("本次签到成功%d个,失败%d个" % (SUCCESS_COUNT, FAIL_COUNT)) 213 | #更新这里的通知秘钥 214 | # 此处****替换为server酱个人key 215 | #text = 'https://sctapi.ftqq.com/*************.send?title=贴吧签到成功'+str(SUCCESS_COUNT)+'个,失败'+ str(FAIL_COUNT)+"个"+' &desp=签到成功!!' 216 | # 此处****替换为pushplus个人token 217 | text = 'http://www.pushplus.plus/send?token=XXXXXXXXXXXXXXXXXXX&title=百度贴吧签到&content=签到成功' + str(SUCCESS_COUNT) + '个,签到失败' + str(FAIL_COUNT) + "个\n\n" + TXT_LOG + '&template=html' 218 | requests.get(text) 219 | 220 | 221 | if __name__ == '__main__': 222 | main() 223 | -------------------------------------------------------------------------------- /rule/Hijacking.list: -------------------------------------------------------------------------------- 1 | # 原链接https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Guard/Hijacking.list 2 | # 运营劫持 3 | # Internet Service Providers Hijacking 4 | DOMAIN-SUFFIX,17gouwuba.com 5 | DOMAIN-SUFFIX,186078.com 6 | DOMAIN-SUFFIX,189key.com 7 | DOMAIN-SUFFIX,189zj.cn 8 | DOMAIN-SUFFIX,285680.com 9 | DOMAIN-SUFFIX,3721zh.com 10 | DOMAIN-SUFFIX,4336wang.cn 11 | DOMAIN-SUFFIX,51chumoping.com 12 | DOMAIN-SUFFIX,51mld.cn 13 | DOMAIN-SUFFIX,51mypc.cn 14 | DOMAIN-SUFFIX,58mingri.cn 15 | DOMAIN-SUFFIX,58mingtian.cn 16 | DOMAIN-SUFFIX,5vl58stm.com 17 | DOMAIN-SUFFIX,6d63d3.com 18 | DOMAIN-SUFFIX,7gg.cc 19 | DOMAIN-SUFFIX,91veg.com 20 | DOMAIN-SUFFIX,9s6q.cn 21 | DOMAIN-SUFFIX,adsame.com 22 | DOMAIN-SUFFIX,akuai.top 23 | DOMAIN-SUFFIX,atplay.cn 24 | DOMAIN-SUFFIX,baiwanchuangyi.com 25 | DOMAIN-SUFFIX,beerto.cn 26 | DOMAIN-SUFFIX,beilamusi.com 27 | DOMAIN-SUFFIX,benshiw.net 28 | DOMAIN-SUFFIX,bianxianmao.com 29 | DOMAIN-SUFFIX,bkyhq.cn 30 | DOMAIN-SUFFIX,bryonypie.com 31 | DOMAIN-SUFFIX,cishantao.com 32 | DOMAIN-SUFFIX,cszlks.com 33 | DOMAIN-SUFFIX,cudaojia.com 34 | DOMAIN-SUFFIX,dafapromo.com 35 | DOMAIN-SUFFIX,daitdai.com 36 | DOMAIN-SUFFIX,dsaeerf.com 37 | DOMAIN-SUFFIX,dugesheying.com 38 | DOMAIN-SUFFIX,dv8c1t.cn 39 | DOMAIN-SUFFIX,echatu.com 40 | DOMAIN-SUFFIX,erdoscs.com 41 | DOMAIN-SUFFIX,fan-yong.com 42 | DOMAIN-SUFFIX,feih.com.cn 43 | DOMAIN-SUFFIX,fjlqqc.com 44 | DOMAIN-SUFFIX,fkku194.com 45 | DOMAIN-SUFFIX,freedrive.cn 46 | DOMAIN-SUFFIX,gclick.cn 47 | DOMAIN-SUFFIX,goufanli100.com 48 | DOMAIN-SUFFIX,goupaoerdai.com 49 | DOMAIN-SUFFIX,gouwubang.com 50 | DOMAIN-SUFFIX,gscxs.cn 51 | DOMAIN-SUFFIX,gzxnlk.com 52 | DOMAIN-SUFFIX,haoshengtoys.com 53 | DOMAIN-SUFFIX,hbssjd.cn 54 | DOMAIN-SUFFIX,hyunke.com 55 | DOMAIN-SUFFIX,ichaosheng.com 56 | DOMAIN-SUFFIX,ishop789.com 57 | DOMAIN-SUFFIX,jdkic.com 58 | DOMAIN-SUFFIX,jiubuhua.com 59 | DOMAIN-SUFFIX,jsncke.com 60 | DOMAIN-SUFFIX,junkucm.com 61 | DOMAIN-SUFFIX,jwg365.cn 62 | DOMAIN-SUFFIX,kawo77.com 63 | DOMAIN-SUFFIX,kualianyingxiao.cn 64 | DOMAIN-SUFFIX,kumihua.com 65 | DOMAIN-SUFFIX,ltheanine.cn 66 | DOMAIN-SUFFIX,lvehaisen.com 67 | DOMAIN-SUFFIX,maipinshangmao.com 68 | DOMAIN-SUFFIX,minisplat.cn 69 | DOMAIN-SUFFIX,mkitgfs.com 70 | DOMAIN-SUFFIX,mlnbike.com 71 | DOMAIN-SUFFIX,mobjump.com 72 | DOMAIN-SUFFIX,nbkbgd.cn 73 | DOMAIN-SUFFIX,newapi.com 74 | DOMAIN-SUFFIX,pinzhitmall.com 75 | DOMAIN-SUFFIX,poppyta.com 76 | DOMAIN-SUFFIX,qianchuanghr.com 77 | DOMAIN-SUFFIX,qichexin.com 78 | DOMAIN-SUFFIX,qinchugudao.com 79 | DOMAIN-SUFFIX,quanliyouxi.cn 80 | DOMAIN-SUFFIX,qutaobi.com 81 | DOMAIN-SUFFIX,ry51w.cn 82 | DOMAIN-SUFFIX,sg536.cn 83 | DOMAIN-SUFFIX,sifubo.cn 84 | DOMAIN-SUFFIX,sifuce.cn 85 | DOMAIN-SUFFIX,sifuda.cn 86 | DOMAIN-SUFFIX,sifufu.cn 87 | DOMAIN-SUFFIX,sifuge.cn 88 | DOMAIN-SUFFIX,sifugu.cn 89 | DOMAIN-SUFFIX,sifuhe.cn 90 | DOMAIN-SUFFIX,sifuhu.cn 91 | DOMAIN-SUFFIX,sifuji.cn 92 | DOMAIN-SUFFIX,sifuka.cn 93 | DOMAIN-SUFFIX,smgru.net 94 | DOMAIN-SUFFIX,taoggou.com 95 | DOMAIN-SUFFIX,tcxshop.com 96 | DOMAIN-SUFFIX,tjqonline.cn 97 | DOMAIN-SUFFIX,topitme.com 98 | DOMAIN-SUFFIX,tt114.net 99 | DOMAIN-SUFFIX,tt3sm4.cn 100 | DOMAIN-SUFFIX,tuia.cn 101 | DOMAIN-SUFFIX,tuipenguin.com 102 | DOMAIN-SUFFIX,tuitiger.com 103 | DOMAIN-SUFFIX,urlaw.cn 104 | DOMAIN-SUFFIX,urlet.cn 105 | DOMAIN-SUFFIX,websd8.com 106 | DOMAIN-SUFFIX,wsgblw.com 107 | DOMAIN-SUFFIX,wx16999.com 108 | DOMAIN-SUFFIX,xchmai.com 109 | DOMAIN-SUFFIX,xiaohuau.xyz 110 | DOMAIN-SUFFIX,ygyzx.cn 111 | DOMAIN-SUFFIX,yinmong.com 112 | DOMAIN-SUFFIX,yitaopt.com 113 | DOMAIN-SUFFIX,yjqiqi.com 114 | DOMAIN-SUFFIX,yukhj.com 115 | DOMAIN-SUFFIX,zhaozecheng.cn 116 | DOMAIN-SUFFIX,zhenxinet.com 117 | DOMAIN-SUFFIX,zlne800.com 118 | DOMAIN-SUFFIX,zmlled.cn 119 | DOMAIN-SUFFIX,zunmi.cn 120 | DOMAIN-SUFFIX,zzd6.com 121 | IP-CIDR,39.107.15.115/32,no-resolve 122 | IP-CIDR,47.89.59.182/32,no-resolve 123 | IP-CIDR,103.49.209.27/32,no-resolve 124 | IP-CIDR,123.56.152.96/32,no-resolve 125 | # > ChinaTelecom 126 | IP-CIDR,61.160.200.223/32,no-resolve 127 | IP-CIDR,61.160.200.242/32,no-resolve 128 | IP-CIDR,61.160.200.252/32,no-resolve 129 | IP-CIDR,61.174.50.214/32,no-resolve 130 | IP-CIDR,111.175.220.163/32,no-resolve 131 | IP-CIDR,111.175.220.164/32,no-resolve 132 | IP-CIDR,122.229.8.47/32,no-resolve 133 | IP-CIDR,122.229.29.89/32,no-resolve 134 | IP-CIDR,124.232.160.178/32,no-resolve 135 | IP-CIDR,175.6.223.15/32,no-resolve 136 | IP-CIDR,183.59.53.237/32,no-resolve 137 | IP-CIDR,218.93.127.37/32,no-resolve 138 | IP-CIDR,221.228.17.152/32,no-resolve 139 | IP-CIDR,221.231.6.79/32,no-resolve 140 | IP-CIDR,222.186.61.91/32,no-resolve 141 | IP-CIDR,222.186.61.95/32,no-resolve 142 | IP-CIDR,222.186.61.96/32,no-resolve 143 | IP-CIDR,222.186.61.97/32,no-resolve 144 | # > ChinaUnicom 145 | IP-CIDR,106.75.231.48/32,no-resolve 146 | IP-CIDR,119.4.249.166/32,no-resolve 147 | IP-CIDR,220.196.52.141/32,no-resolve 148 | IP-CIDR,221.6.4.148/32,no-resolve 149 | # > ChinaMobile 150 | IP-CIDR,114.247.28.96/32,no-resolve 151 | IP-CIDR,120.240.95.37/32,no-resolve 152 | IP-CIDR,221.179.131.72/32,no-resolve 153 | IP-CIDR,221.179.140.145/32,no-resolve 154 | # > Dr.Peng 155 | # IP-CIDR,10.72.25.0/24,no-resolve 156 | IP-CIDR,115.182.16.79/32,no-resolve 157 | IP-CIDR,118.144.88.126/32,no-resolve 158 | IP-CIDR,118.144.88.215/32,no-resolve 159 | IP-CIDR,118.144.88.216/32,no-resolve 160 | IP-CIDR,120.76.189.132/32,no-resolve 161 | IP-CIDR,124.14.21.147/32,no-resolve 162 | IP-CIDR,124.14.21.151/32,no-resolve 163 | IP-CIDR,180.166.52.24/32,no-resolve 164 | IP-CIDR,211.161.101.106/32,no-resolve 165 | IP-CIDR,211.161.101.110/32,no-resolve 166 | IP-CIDR,220.115.251.25/32,no-resolve 167 | IP-CIDR,222.73.156.235/32,no-resolve 168 | 169 | # Malware 170 | # > Huawei AspiegelBot 171 | IP-CIDR,114.119.160.0/21,no-resolve 172 | # > KuaiZip 173 | # https://zhuanlan.zhihu.com/p/39534279 174 | DOMAIN-SUFFIX,kuaizip.com 175 | # > MacKeeper 176 | # https://www.lizhi.io/blog/40002904 177 | DOMAIN-SUFFIX,mackeeper.com 178 | DOMAIN-SUFFIX,zryydi.com 179 | # > Adobe Flash China Special Edition 180 | # https://www.zhihu.com/question/281163698/answer/441388130 181 | DOMAIN-SUFFIX,flash.cn 182 | DOMAIN,geo2.adobe.com 183 | # > C&J Marketing 184 | # https://www.zhihu.com/question/46746200 185 | DOMAIN-SUFFIX,4009997658.com 186 | DOMAIN-SUFFIX,abbyychina.com 187 | DOMAIN-SUFFIX,alienskins.cn 188 | DOMAIN-SUFFIX,anydeskchina.cn 189 | DOMAIN-SUFFIX,bartender.cc 190 | DOMAIN-SUFFIX,betterzip.net 191 | DOMAIN-SUFFIX,betterzipcn.com 192 | DOMAIN-SUFFIX,beyondcompare.cc 193 | DOMAIN-SUFFIX,bingdianhuanyuan.cn 194 | DOMAIN-SUFFIX,chemdraw.com.cn 195 | DOMAIN-SUFFIX,cjmakeding.com 196 | DOMAIN-SUFFIX,cjmkt.com 197 | DOMAIN-SUFFIX,codesoftchina.com 198 | DOMAIN-SUFFIX,coreldrawchina.com 199 | DOMAIN-SUFFIX,crossoverchina.com 200 | DOMAIN-SUFFIX,dongmansoft.com 201 | DOMAIN-SUFFIX,earmasterchina.cn 202 | DOMAIN-SUFFIX,easyrecoverychina.com 203 | DOMAIN-SUFFIX,ediuschina.com 204 | DOMAIN-SUFFIX,flstudiochina.com 205 | DOMAIN-SUFFIX,folxchina.cn 206 | DOMAIN-SUFFIX,formysql.com 207 | DOMAIN-SUFFIX,guitarpro.cc 208 | DOMAIN-SUFFIX,huishenghuiying.com.cn 209 | DOMAIN-SUFFIX,hypeapp.cn 210 | DOMAIN-SUFFIX,hypersnap.net 211 | DOMAIN-SUFFIX,iconworkshop.cn 212 | DOMAIN-SUFFIX,idmchina.net 213 | DOMAIN-SUFFIX,imazingchina.com 214 | DOMAIN-SUFFIX,imindmap.cc 215 | DOMAIN-SUFFIX,jihehuaban.com.cn 216 | DOMAIN-SUFFIX,keyshot.cc 217 | DOMAIN-SUFFIX,kingdeecn.cn 218 | DOMAIN-SUFFIX,logoshejishi.com 219 | DOMAIN-SUFFIX,luping.net.cn 220 | DOMAIN-SUFFIX,mairuan.cn 221 | DOMAIN-SUFFIX,mairuan.com 222 | DOMAIN-SUFFIX,mairuan.com.cn 223 | DOMAIN-SUFFIX,mairuan.net 224 | DOMAIN-SUFFIX,mairuanwang.com 225 | DOMAIN-SUFFIX,makeding.com 226 | DOMAIN-SUFFIX,mathtype.cn 227 | DOMAIN-SUFFIX,mindmanager.cc 228 | DOMAIN-SUFFIX,mindmanager.cn 229 | DOMAIN-SUFFIX,mindmapper.cc 230 | DOMAIN-SUFFIX,mycleanmymac.com 231 | DOMAIN-SUFFIX,nicelabel.cc 232 | DOMAIN-SUFFIX,ntfsformac.cc 233 | DOMAIN-SUFFIX,ntfsformac.cn 234 | DOMAIN-SUFFIX,officesoftcn.com 235 | DOMAIN-SUFFIX,overturechina.com 236 | DOMAIN-SUFFIX,passwordrecovery.cn 237 | DOMAIN-SUFFIX,pdfexpert.cc 238 | DOMAIN-SUFFIX,photozoomchina.com 239 | DOMAIN-SUFFIX,shankejingling.com 240 | DOMAIN-SUFFIX,ultraiso.net 241 | DOMAIN-SUFFIX,vegaschina.cn 242 | DOMAIN-SUFFIX,xitongqingli.com 243 | DOMAIN-SUFFIX,xmindchina.net 244 | DOMAIN-SUFFIX,xshellcn.com 245 | DOMAIN-SUFFIX,yihuifu.cn 246 | DOMAIN-SUFFIX,yuanchengxiezuo.com 247 | DOMAIN-SUFFIX,zbrushcn.com 248 | DOMAIN-SUFFIX,zhzzx.com 249 | -------------------------------------------------------------------------------- /AdBlock/Tieba/Tieba.js: -------------------------------------------------------------------------------- 1 | const url = $request.url; 2 | const method = $request.method; 3 | const postMethod = "POST"; 4 | const notifyTitle = "贴吧json脚本错误"; 5 | console.log(`贴吧json-2023.02.21`); 6 | 7 | let body = JSON.parse($response.body); 8 | // 直接全局搜索 @Modify( 9 | if (url.includes("tiebaads/commonbatch") && method === postMethod) { 10 | // 看图模式下的广告 11 | let adCmd = getUrlParamValue(url, "adcmd"); 12 | if (!adCmd) { 13 | console.log(`url:${url}`); 14 | $notification.post(notifyTitle, "贴吧-tiebaads/commonbatch", "adCmd参数不存在"); 15 | } else { 16 | console.log(`commonbatch:${adCmd}`); 17 | if (body.error_code === 0) { 18 | if (!body.res.ad?.length) { 19 | console.log('ad字段为空'); 20 | } else { 21 | body.res.ad = []; 22 | // 即使ad有内容 也不一定显示广告 23 | // 因为如果服务器下发的数据少了一些字段同样是无广告的 24 | console.log('成功'); 25 | } 26 | } else { 27 | console.log('error_code不为0:' + body.error_code); 28 | } 29 | } 30 | } else if (url.includes('c/f/pb/picpage')) { 31 | console.log(`picpage`); 32 | const liveLength = body.recom_live_list?.length; 33 | if (liveLength) { 34 | console.log(`去除直播:${liveLength}`); 35 | body.recom_live_list = []; 36 | } 37 | } else if (url.includes('c/s/sync')) { 38 | // get post(贴吧使用了post)均可访问 39 | console.log('贴吧-sync'); 40 | if ('floating_icon' in body) { 41 | console.log('右下角悬浮icon'); 42 | if (body.floating_icon) { 43 | if (body.floating_icon.homepage?.icon_url) { 44 | console.log('homepage悬浮去除'); 45 | } else { 46 | console.log('无需去除homepage悬浮'); 47 | } 48 | if (body.floating_icon.pb?.icon_url) { 49 | console.log('pb悬浮去除'); 50 | } else { 51 | console.log('无需去除pb悬浮'); 52 | } 53 | body.floating_icon = null; 54 | } else { 55 | console.log('无需修改floating_icon字段值'); 56 | } 57 | } else { 58 | console.log(`body:${$response.body}`); 59 | $notification.post(notifyTitle, "贴吧-sync", "无floating_icon字段"); 60 | } 61 | 62 | // 回帖栏的广告 63 | if ('advertisement_config' in body) { 64 | if (!body.advertisement_config?.advertisement_str) { 65 | console.log('无需处理advertisement_config'); 66 | } else { 67 | console.log(`advertisement_str:${body.advertisement_config.advertisement_str}`); 68 | body.advertisement_config = null; 69 | } 70 | } else { 71 | console.log(`body:${$response.body}`); 72 | $notification.post(notifyTitle, "贴吧-sync", "无advertisement_config字段"); 73 | } 74 | 75 | if ('config' in body) { 76 | if (body.config?.switch) { 77 | for (const item of body.config.switch) { 78 | if (['platform_csj_init', 'platform_ks_init', 'platform_gdt_init'].includes(item.name)) { 79 | item.type = '0'; 80 | // 禁止初始化穿山甲/广点通/快手 81 | console.log(`禁止初始化${item.name}`); 82 | } 83 | } 84 | } 85 | } else { 86 | console.log(`body:${$response.body}`); 87 | $notification.post(notifyTitle, "贴吧-sync", "无config字段"); 88 | } 89 | 90 | if ('screen_fill_data_result' in body) { 91 | if (body.screen_fill_data_result.screen_fill_advertisement_bear_switch === "1") { 92 | body.screen_fill_data_result.screen_fill_advertisement_bear_switch = '0'; 93 | console.log('开屏不展示小熊广告'); 94 | } else { 95 | console.log('无需修改screen_fill_advertisement_bear_switch'); 96 | } 97 | if (body.screen_fill_data_result.screen_fill_advertisement_plj_cpc_switch === "1") { 98 | body.screen_fill_data_result.screen_fill_advertisement_plj_cpc_switch = '0'; 99 | console.log('开屏不展示序章CPC'); 100 | } else { 101 | console.log('无需修改screen_fill_advertisement_plj_cpc_switch'); 102 | } 103 | if (body.screen_fill_data_result.screen_fill_advertisement_plj_switch === "1") { 104 | body.screen_fill_data_result.screen_fill_advertisement_plj_switch = '0'; 105 | console.log('开屏不展示序章'); 106 | } else { 107 | console.log('无需修改screen_fill_advertisement_plj_switch'); 108 | } 109 | } else { 110 | console.log(`body:${$response.body}`); 111 | $notification.post(notifyTitle, "贴吧-sync", "无screen_fill_data_result字段"); 112 | } 113 | 114 | if ('ad_stlog_switch' in body) { 115 | if (body.ad_stlog_switch === '1') { 116 | body.ad_stlog_switch = '0'; 117 | console.log('修改ad_stlog_switch'); 118 | } else { 119 | console.log('无需修改ad_stlog_switch'); 120 | } 121 | } else { 122 | console.log(`body:${$response.body}`); 123 | $notification.post(notifyTitle, "贴吧-sync", "无ad_stlog_switch字段"); 124 | } 125 | 126 | if ('lcs_strategy' in body) { 127 | // 控制长连接开关 开启时帖子会走socket 128 | if (body.lcs_strategy.conn_conf === '0') { 129 | // 关闭 130 | body.lcs_strategy.conn_conf = '1'; 131 | console.log('修改conn_conf'); 132 | } else { 133 | console.log('无需修改conn_conf'); 134 | } 135 | } else { 136 | console.log(`body:${$response.body}`); 137 | $notification.post(notifyTitle, "贴吧-sync", "无lcs_strategy字段"); 138 | } 139 | } else if (url.includes("c/f/frs/page")) { 140 | console.log('贴吧-FrsPage'); 141 | if (body.live_fuse_forum?.length) { 142 | body.live_fuse_forum = []; 143 | console.log(`去除吧头直播`); 144 | } else { 145 | console.log(`无需处理吧头直播`); 146 | } 147 | 148 | if (body.activityhead?.is_ad) { 149 | body.activityhead = {}; 150 | console.log('去除吧内header图片广告'); 151 | } else { 152 | console.log('无需处理activityhead'); 153 | } 154 | body.thread_list = removeLive(body.thread_list); 155 | removeGoodsInfo(body.forum?.banner_list?.app); 156 | } else if (url.includes("c/f/frs/threadlist")) { 157 | console.log('贴吧-threadlist'); 158 | // TODO 159 | } else if (url.includes("c/f/pb/page")) { 160 | console.log('贴吧-PbPage'); 161 | if (body.recom_ala_info?.live_id) { 162 | console.log('帖子详情页推荐的直播广告去除'); 163 | body.recom_ala_info = null; 164 | } else { 165 | console.log('帖子详情页无直播广告'); 166 | } 167 | 168 | if (body.post_list?.length) { 169 | for (const post of body.post_list) { 170 | if (post.outer_item) { 171 | console.log('outer_item去除'); 172 | post.outer_item = null; 173 | } 174 | } 175 | } else { 176 | console.log('无需处理postList中的outer_item'); 177 | } 178 | removeGoodsInfo(body.banner_list?.app); 179 | const bannerGoodsInfoLength = body.banner_list?.pb_banner_ad?.goods_info?.length; 180 | if (bannerGoodsInfoLength) { 181 | console.log(`去除pb_banner_ad的goods_info:${bannerGoodsInfoLength}`) 182 | body.banner_list.pb_banner_ad.goods_info = [] 183 | } 184 | } else if (url.includes("c/f/excellent/personalized")) { 185 | console.log('贴吧-personalized'); 186 | removeGoodsInfo(body.banner_list?.app); 187 | body.thread_list = removeLive(body.thread_list); 188 | } else if (url.includes("c/f/frs/generalTabList")) { 189 | console.log('贴吧-generalTabList'); 190 | // TODO 191 | } else { 192 | $notification.post(notifyTitle, "路径/请求方法匹配错误:", method + "," + url); 193 | } 194 | 195 | body = JSON.stringify(body); 196 | 197 | $done({ 198 | body 199 | }); 200 | 201 | 202 | function getUrlParamValue(url, queryName) { 203 | return Object.fromEntries(url.substring(url.indexOf("?") + 1) 204 | .split("&") 205 | .map(pair => pair.split("=")) 206 | )[queryName]; 207 | } 208 | 209 | function removeGoodsInfo(app) { 210 | if (app?.length) { 211 | let goodsInfoSize = 0; 212 | app.forEach(item => { 213 | if (item.goods_info?.length) { 214 | goodsInfoSize++; 215 | item.goods_info = []; 216 | } 217 | }) 218 | if (goodsInfoSize) { 219 | console.log(`去除goods_info:${goodsInfoSize}`); 220 | } else { 221 | console.log(`app内无goods_info`) 222 | } 223 | 224 | } else { 225 | console.log(`app为空,无需处理`); 226 | } 227 | } 228 | 229 | function removeLive(threadList) { 230 | let newThreadList = threadList; 231 | const beforeLength = threadList?.length; 232 | if (beforeLength) { 233 | newThreadList = threadList.filter(item => { 234 | if (item.ala_info) { 235 | console.log('去除推荐的直播帖子'); 236 | return false; 237 | } 238 | return true; 239 | }); 240 | if (beforeLength === newThreadList.length) { 241 | console.log("无推荐的直播帖子"); 242 | } 243 | } else { 244 | console.log('无需处理threadList'); 245 | } 246 | return newThreadList; 247 | } 248 | -------------------------------------------------------------------------------- /rule/Anti-hijacking.list: -------------------------------------------------------------------------------- 1 | # 原链接https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/QuantumultX/Hijacking/Hijacking.list 2 | # NAME: 反运营劫持 3 | # HOST: 1 4 | # HOST-SUFFIX: 185 5 | # IP-CIDR: 42 6 | # TOTAL: 228 7 | HOST,geo2.adobe.com,Hijacking 8 | HOST-SUFFIX,17gouwuba.com,Hijacking 9 | HOST-SUFFIX,186078.com,Hijacking 10 | HOST-SUFFIX,189key.com,Hijacking 11 | HOST-SUFFIX,189zj.cn,Hijacking 12 | HOST-SUFFIX,285680.com,Hijacking 13 | HOST-SUFFIX,3721zh.com,Hijacking 14 | HOST-SUFFIX,4009997658.com,Hijacking 15 | HOST-SUFFIX,4336wang.cn,Hijacking 16 | HOST-SUFFIX,51chumoping.com,Hijacking 17 | HOST-SUFFIX,51mld.cn,Hijacking 18 | HOST-SUFFIX,51mypc.cn,Hijacking 19 | HOST-SUFFIX,58mingri.cn,Hijacking 20 | HOST-SUFFIX,58mingtian.cn,Hijacking 21 | HOST-SUFFIX,5vl58stm.com,Hijacking 22 | HOST-SUFFIX,6d63d3.com,Hijacking 23 | HOST-SUFFIX,7gg.cc,Hijacking 24 | HOST-SUFFIX,91veg.com,Hijacking 25 | HOST-SUFFIX,9s6q.cn,Hijacking 26 | HOST-SUFFIX,abbyychina.com,Hijacking 27 | HOST-SUFFIX,adsame.com,Hijacking 28 | HOST-SUFFIX,akuai.top,Hijacking 29 | HOST-SUFFIX,alienskins.cn,Hijacking 30 | HOST-SUFFIX,anydeskchina.cn,Hijacking 31 | HOST-SUFFIX,atplay.cn,Hijacking 32 | HOST-SUFFIX,baiwanchuangyi.com,Hijacking 33 | HOST-SUFFIX,bartender.cc,Hijacking 34 | HOST-SUFFIX,beerto.cn,Hijacking 35 | HOST-SUFFIX,beilamusi.com,Hijacking 36 | HOST-SUFFIX,benshiw.net,Hijacking 37 | HOST-SUFFIX,betterzip.net,Hijacking 38 | HOST-SUFFIX,betterzipcn.com,Hijacking 39 | HOST-SUFFIX,beyondcompare.cc,Hijacking 40 | HOST-SUFFIX,bianxianmao.com,Hijacking 41 | HOST-SUFFIX,bingdianhuanyuan.cn,Hijacking 42 | HOST-SUFFIX,bkyhq.cn,Hijacking 43 | HOST-SUFFIX,bryonypie.com,Hijacking 44 | HOST-SUFFIX,chemdraw.com.cn,Hijacking 45 | HOST-SUFFIX,cishantao.com,Hijacking 46 | HOST-SUFFIX,cjmakeding.com,Hijacking 47 | HOST-SUFFIX,cjmkt.com,Hijacking 48 | HOST-SUFFIX,codesoftchina.com,Hijacking 49 | HOST-SUFFIX,coreldrawchina.com,Hijacking 50 | HOST-SUFFIX,crossoverchina.com,Hijacking 51 | HOST-SUFFIX,cszlks.com,Hijacking 52 | HOST-SUFFIX,cudaojia.com,Hijacking 53 | HOST-SUFFIX,dafapromo.com,Hijacking 54 | HOST-SUFFIX,daitdai.com,Hijacking 55 | HOST-SUFFIX,dongmansoft.com,Hijacking 56 | HOST-SUFFIX,dsaeerf.com,Hijacking 57 | HOST-SUFFIX,dugesheying.com,Hijacking 58 | HOST-SUFFIX,dv8c1t.cn,Hijacking 59 | HOST-SUFFIX,earmasterchina.cn,Hijacking 60 | HOST-SUFFIX,easyrecoverychina.com,Hijacking 61 | HOST-SUFFIX,echatu.com,Hijacking 62 | HOST-SUFFIX,ediuschina.com,Hijacking 63 | HOST-SUFFIX,erdoscs.com,Hijacking 64 | HOST-SUFFIX,fan-yong.com,Hijacking 65 | HOST-SUFFIX,feih.com.cn,Hijacking 66 | HOST-SUFFIX,fjlqqc.com,Hijacking 67 | HOST-SUFFIX,fkku194.com,Hijacking 68 | HOST-SUFFIX,flash.cn,Hijacking 69 | HOST-SUFFIX,flstudiochina.com,Hijacking 70 | HOST-SUFFIX,folxchina.cn,Hijacking 71 | HOST-SUFFIX,formysql.com,Hijacking 72 | HOST-SUFFIX,freedrive.cn,Hijacking 73 | HOST-SUFFIX,gclick.cn,Hijacking 74 | HOST-SUFFIX,goufanli100.com,Hijacking 75 | HOST-SUFFIX,goupaoerdai.com,Hijacking 76 | HOST-SUFFIX,gouwubang.com,Hijacking 77 | HOST-SUFFIX,gscxs.cn,Hijacking 78 | HOST-SUFFIX,guitarpro.cc,Hijacking 79 | HOST-SUFFIX,gzxnlk.com,Hijacking 80 | HOST-SUFFIX,haoshengtoys.com,Hijacking 81 | HOST-SUFFIX,hbssjd.cn,Hijacking 82 | HOST-SUFFIX,huishenghuiying.com.cn,Hijacking 83 | HOST-SUFFIX,hypeapp.cn,Hijacking 84 | HOST-SUFFIX,hypersnap.net,Hijacking 85 | HOST-SUFFIX,hyunke.com,Hijacking 86 | HOST-SUFFIX,ichaosheng.com,Hijacking 87 | HOST-SUFFIX,iconworkshop.cn,Hijacking 88 | HOST-SUFFIX,idmchina.net,Hijacking 89 | HOST-SUFFIX,imazingchina.com,Hijacking 90 | HOST-SUFFIX,imindmap.cc,Hijacking 91 | HOST-SUFFIX,ishop789.com,Hijacking 92 | HOST-SUFFIX,jdkic.com,Hijacking 93 | HOST-SUFFIX,jihehuaban.com.cn,Hijacking 94 | HOST-SUFFIX,jiubuhua.com,Hijacking 95 | HOST-SUFFIX,jsncke.com,Hijacking 96 | HOST-SUFFIX,junkucm.com,Hijacking 97 | HOST-SUFFIX,jwg365.cn,Hijacking 98 | HOST-SUFFIX,kawo77.com,Hijacking 99 | HOST-SUFFIX,keyshot.cc,Hijacking 100 | HOST-SUFFIX,kingdeecn.cn,Hijacking 101 | HOST-SUFFIX,kuaizip.com,Hijacking 102 | HOST-SUFFIX,kualianyingxiao.cn,Hijacking 103 | HOST-SUFFIX,kumihua.com,Hijacking 104 | HOST-SUFFIX,logoshejishi.com,Hijacking 105 | HOST-SUFFIX,ltheanine.cn,Hijacking 106 | HOST-SUFFIX,luping.net.cn,Hijacking 107 | HOST-SUFFIX,lvehaisen.com,Hijacking 108 | HOST-SUFFIX,mackeeper.com,Hijacking 109 | HOST-SUFFIX,maipinshangmao.com,Hijacking 110 | HOST-SUFFIX,mairuan.cn,Hijacking 111 | HOST-SUFFIX,mairuan.com,Hijacking 112 | HOST-SUFFIX,mairuan.com.cn,Hijacking 113 | HOST-SUFFIX,mairuan.net,Hijacking 114 | HOST-SUFFIX,mairuanwang.com,Hijacking 115 | HOST-SUFFIX,makeding.com,Hijacking 116 | HOST-SUFFIX,mathtype.cn,Hijacking 117 | HOST-SUFFIX,mindmanager.cc,Hijacking 118 | HOST-SUFFIX,mindmanager.cn,Hijacking 119 | HOST-SUFFIX,mindmapper.cc,Hijacking 120 | HOST-SUFFIX,minisplat.cn,Hijacking 121 | HOST-SUFFIX,mkitgfs.com,Hijacking 122 | HOST-SUFFIX,mlnbike.com,Hijacking 123 | HOST-SUFFIX,mobjump.com,Hijacking 124 | HOST-SUFFIX,mycleanmymac.com,Hijacking 125 | HOST-SUFFIX,nbkbgd.cn,Hijacking 126 | HOST-SUFFIX,newapi.com,Hijacking 127 | HOST-SUFFIX,nicelabel.cc,Hijacking 128 | HOST-SUFFIX,ntfsformac.cc,Hijacking 129 | HOST-SUFFIX,ntfsformac.cn,Hijacking 130 | HOST-SUFFIX,officesoftcn.com,Hijacking 131 | HOST-SUFFIX,overturechina.com,Hijacking 132 | HOST-SUFFIX,passwordrecovery.cn,Hijacking 133 | HOST-SUFFIX,pdfexpert.cc,Hijacking 134 | HOST-SUFFIX,photozoomchina.com,Hijacking 135 | HOST-SUFFIX,pinzhitmall.com,Hijacking 136 | HOST-SUFFIX,poppyta.com,Hijacking 137 | HOST-SUFFIX,qianchuanghr.com,Hijacking 138 | HOST-SUFFIX,qichexin.com,Hijacking 139 | HOST-SUFFIX,qinchugudao.com,Hijacking 140 | HOST-SUFFIX,quanliyouxi.cn,Hijacking 141 | HOST-SUFFIX,qutaobi.com,Hijacking 142 | HOST-SUFFIX,ry51w.cn,Hijacking 143 | HOST-SUFFIX,sg536.cn,Hijacking 144 | HOST-SUFFIX,shankejingling.com,Hijacking 145 | HOST-SUFFIX,sifubo.cn,Hijacking 146 | HOST-SUFFIX,sifuce.cn,Hijacking 147 | HOST-SUFFIX,sifuda.cn,Hijacking 148 | HOST-SUFFIX,sifufu.cn,Hijacking 149 | HOST-SUFFIX,sifuge.cn,Hijacking 150 | HOST-SUFFIX,sifugu.cn,Hijacking 151 | HOST-SUFFIX,sifuhe.cn,Hijacking 152 | HOST-SUFFIX,sifuhu.cn,Hijacking 153 | HOST-SUFFIX,sifuji.cn,Hijacking 154 | HOST-SUFFIX,sifuka.cn,Hijacking 155 | HOST-SUFFIX,smgru.net,Hijacking 156 | HOST-SUFFIX,taoggou.com,Hijacking 157 | HOST-SUFFIX,tcxshop.com,Hijacking 158 | HOST-SUFFIX,tjqonline.cn,Hijacking 159 | HOST-SUFFIX,topitme.com,Hijacking 160 | HOST-SUFFIX,tt114.net,Hijacking 161 | HOST-SUFFIX,tt3sm4.cn,Hijacking 162 | HOST-SUFFIX,tuia.cn,Hijacking 163 | HOST-SUFFIX,tuipenguin.com,Hijacking 164 | HOST-SUFFIX,tuitiger.com,Hijacking 165 | HOST-SUFFIX,ultraiso.net,Hijacking 166 | HOST-SUFFIX,urlaw.cn,Hijacking 167 | HOST-SUFFIX,urlet.cn,Hijacking 168 | HOST-SUFFIX,vegaschina.cn,Hijacking 169 | HOST-SUFFIX,websd8.com,Hijacking 170 | HOST-SUFFIX,wsgblw.com,Hijacking 171 | HOST-SUFFIX,wx16999.com,Hijacking 172 | HOST-SUFFIX,xchmai.com,Hijacking 173 | HOST-SUFFIX,xiaohuau.xyz,Hijacking 174 | HOST-SUFFIX,xitongqingli.com,Hijacking 175 | HOST-SUFFIX,xmindchina.net,Hijacking 176 | HOST-SUFFIX,xshellcn.com,Hijacking 177 | HOST-SUFFIX,ygyzx.cn,Hijacking 178 | HOST-SUFFIX,yihuifu.cn,Hijacking 179 | HOST-SUFFIX,yinmong.com,Hijacking 180 | HOST-SUFFIX,yitaopt.com,Hijacking 181 | HOST-SUFFIX,yjqiqi.com,Hijacking 182 | HOST-SUFFIX,yuanchengxiezuo.com,Hijacking 183 | HOST-SUFFIX,yukhj.com,Hijacking 184 | HOST-SUFFIX,zbrushcn.com,Hijacking 185 | HOST-SUFFIX,zhaozecheng.cn,Hijacking 186 | HOST-SUFFIX,zhenxinet.com,Hijacking 187 | HOST-SUFFIX,zhzzx.com,Hijacking 188 | HOST-SUFFIX,zlne800.com,Hijacking 189 | HOST-SUFFIX,zmlled.cn,Hijacking 190 | HOST-SUFFIX,zryydi.com,Hijacking 191 | HOST-SUFFIX,zunmi.cn,Hijacking 192 | HOST-SUFFIX,zzd6.com,Hijacking 193 | IP-CIDR,103.49.209.27/32,Hijacking 194 | IP-CIDR,106.75.231.48/32,Hijacking 195 | IP-CIDR,111.175.220.163/32,Hijacking 196 | IP-CIDR,111.175.220.164/32,Hijacking 197 | IP-CIDR,114.119.160.0/21,Hijacking 198 | IP-CIDR,114.247.28.96/32,Hijacking 199 | IP-CIDR,115.182.16.79/32,Hijacking 200 | IP-CIDR,118.144.88.126/32,Hijacking 201 | IP-CIDR,118.144.88.215/32,Hijacking 202 | IP-CIDR,118.144.88.216/32,Hijacking 203 | IP-CIDR,119.4.249.166/32,Hijacking 204 | IP-CIDR,120.240.95.37/32,Hijacking 205 | IP-CIDR,120.76.189.132/32,Hijacking 206 | IP-CIDR,122.229.29.89/32,Hijacking 207 | IP-CIDR,122.229.8.47/32,Hijacking 208 | IP-CIDR,123.56.152.96/32,Hijacking 209 | IP-CIDR,124.14.21.147/32,Hijacking 210 | IP-CIDR,124.14.21.151/32,Hijacking 211 | IP-CIDR,124.232.160.178/32,Hijacking 212 | IP-CIDR,175.6.223.15/32,Hijacking 213 | IP-CIDR,180.166.52.24/32,Hijacking 214 | IP-CIDR,183.59.53.237/32,Hijacking 215 | IP-CIDR,211.161.101.106/32,Hijacking 216 | IP-CIDR,211.161.101.110/32,Hijacking 217 | IP-CIDR,218.93.127.37/32,Hijacking 218 | IP-CIDR,220.115.251.25/32,Hijacking 219 | IP-CIDR,220.196.52.141/32,Hijacking 220 | IP-CIDR,221.179.131.72/32,Hijacking 221 | IP-CIDR,221.179.140.145/32,Hijacking 222 | IP-CIDR,221.228.17.152/32,Hijacking 223 | IP-CIDR,221.231.6.79/32,Hijacking 224 | IP-CIDR,221.6.4.148/32,Hijacking 225 | IP-CIDR,222.186.61.91/32,Hijacking 226 | IP-CIDR,222.186.61.95/32,Hijacking 227 | IP-CIDR,222.186.61.96/31,Hijacking 228 | IP-CIDR,222.73.156.235/32,Hijacking 229 | IP-CIDR,39.107.15.115/32,Hijacking 230 | IP-CIDR,47.89.59.182/32,Hijacking 231 | IP-CIDR,61.160.200.223/32,Hijacking 232 | IP-CIDR,61.160.200.242/32,Hijacking 233 | IP-CIDR,61.160.200.252/32,Hijacking 234 | IP-CIDR,61.174.50.214/32,Hijacking 235 | -------------------------------------------------------------------------------- /icon/Policy/tubiao.json: -------------------------------------------------------------------------------- 1 | { 2 | "name":"Policy Icon", 3 | "description":"QuantumultX Policy Icon", 4 | "icons": 5 | [ 6 | {"name":"AdBlack", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/AdBlack.png"}, 7 | {"name":"Advertising", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Advertising.png"}, 8 | {"name":"AdWhite", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/AdWhite.png"}, 9 | {"name":"App_Store", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/App_Store.png"}, 10 | {"name":"Apple", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Apple.png"}, 11 | {"name":"Apple_Fitness", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Apple_Fitness.png"}, 12 | {"name":"Apple_Music", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Apple_Music.png"}, 13 | {"name":"Apple_Update", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Apple_Update.png"}, 14 | {"name":"Auto", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Auto.png"}, 15 | {"name":"Available", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Available.png"}, 16 | {"name":"Available_1", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Available_1.png"}, 17 | {"name":"Cellular", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Cellular.png"}, 18 | {"name":"China_Map", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/China_Map.png"}, 19 | {"name":"Download", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Download.png"}, 20 | {"name":"Emby", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Emby.png"}, 21 | {"name":"Final", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Final.png"}, 22 | {"name":"Final_1", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Final_1.png"}, 23 | {"name":"Find_My", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Find_My.png"}, 24 | {"name":"Game", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Game.png"}, 25 | {"name":"GitHub", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/GitHub.png"}, 26 | {"name":"GitHub_Letter", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/GitHub_Letter.png"}, 27 | {"name":"Global", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Global.png"}, 28 | {"name":"Gmail", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Gmail.png"}, 29 | {"name":"Google", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Google.png"}, 30 | {"name":"Google_Drive", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Google_Drive.png"}, 31 | {"name":"Google_Search", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Google_Search.png"}, 32 | {"name":"Heart", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Heart.png"}, 33 | {"name":"Hijacking", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Hijacking.png"}, 34 | {"name":"iCloud", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/iCloud.png"}, 35 | {"name":"Lab", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Lab.png"}, 36 | {"name":"Magic", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Magic.png"}, 37 | {"name":"Mail", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Mail.png"}, 38 | {"name":"Media", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Media.png"}, 39 | {"name":"Microsoft", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Microsoft.png"}, 40 | {"name":"Netease_Music", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Netease_Music.png"}, 41 | {"name":"Netease_Music_Unlock", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Netease_Music_Unlock.png"}, 42 | {"name":"Nintendo", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Nintendo.png"}, 43 | {"name":"QQ", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/QQ.png"}, 44 | {"name":"Quantumult_X", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Quantumult_X.png"}, 45 | {"name":"Qure", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Qure.png"}, 46 | {"name":"Rainbow", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Rainbow.png"}, 47 | {"name":"Ring", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Ring.png"}, 48 | {"name":"Rocket", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Rocket.png"}, 49 | {"name":"Round_Robin", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Round_Robin.png"}, 50 | {"name":"Speedtest", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Speedtest.png"}, 51 | {"name":"SSID", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/SSID.png"}, 52 | {"name":"SSID_1", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/SSID_1.png"}, 53 | {"name":"Telegram", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Telegram.png"}, 54 | {"name":"TestFlight", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/TestFlight.png"}, 55 | {"name":"TestFlight_1", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/TestFlight_1.png"}, 56 | {"name":"TestFlight_2", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/TestFlight_2.png"}, 57 | {"name":"TikTok", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/TikTok.png"}, 58 | {"name":"TikTok_1", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/TikTok_1.png"}, 59 | {"name":"TikTok_2", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/TikTok_2.png"}, 60 | {"name":"TVB", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/TVB.png"}, 61 | {"name":"ULB_1", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/ULB_1.png"}, 62 | {"name":"Unlock", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Unlock.png"}, 63 | {"name":"VIP", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/VIP.png"}, 64 | {"name":"WiFi", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/WiFi.png"}, 65 | {"name":"YouTube", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/YouTube.png"}, 66 | {"name":"YouTube_Letter", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/YouTube_Letter.png"}, 67 | {"name":"YouTube_Music", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/YouTube_Music.png"}, 68 | {"name":"China", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/China.png"}, 69 | {"name":"Hong_Kong", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Hong_Kong.png"}, 70 | {"name":"Taiwan", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Taiwan.png"}, 71 | {"name":"Japan", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Japan.png"}, 72 | {"name":"Singapore", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Singapore.png"}, 73 | {"name":"United_States", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/United_States.png"}, 74 | {"name":"United_Nations", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/United_Nations.png"}, 75 | {"name":"Rainbow_1", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Rainbow_1.png"}, 76 | {"name":"Pirate_Nation", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/Pirate_Nation.png"}, 77 | {"name":"European_Union", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/European_Union.png"}, 78 | {"name":"CN", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/CN.png"}, 79 | {"name":"HK", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/HK.png"}, 80 | {"name":"TW", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/TW.png"}, 81 | {"name":"JP", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/JP.png"}, 82 | {"name":"SG", "url":"https://raw.githubusercontent.com/Softlyx/QuantumultX/main/icon/Policy/SG.png"} 83 | ] 84 | } 85 | -------------------------------------------------------------------------------- /AdBlock/WebAd.conf: -------------------------------------------------------------------------------- 1 | # 2023-03-25 16:55 2 | 3 | # ======= 普通网页 ====== # 4 | ## 百度 //boxer.baidu.com, m.baidu.com, www.baidu.com, zhidao.baidu.com 5 | ## 知道搜索广告 6 | ^https:\/\/zhidao\.baidu\.com\/(question|index|\?fr|\?word) url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/webpage/baidu-zhidao.js 7 | ## 搜索首页广告 8 | ^https:\/\/(www|m)\.baidu\.com(\/$|\/\?(ref|from).*) url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/webpage/baidu-index.js 9 | ## 搜索结果广告 10 | ^https:\/\/(www|m)\.baidu\.com\/.*word=.* url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/webpage/baidu.js 11 | ## 百度防跳转 12 | ^https:\/\/boxer\.baidu\.com\/scheme\?scheme url script-response-header https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/baidu/baiduNoRedirect.js 13 | # 桌面端请使用 https://google.com/ncr 14 | # 谷歌服务重定向 //*.google.cn 15 | ^https:\/\/www\.google\.cn url 302 https://www.google.com 16 | ^https:\/\/translate\.google\.cn url 302 https://translate.google.com 17 | # 内容农场(bing) //www.bing.com 18 | ^https:\/\/(www\.bing)(\.\w{2,4}){1,2}\/(search\?.*|\?sa=|\?FORM)(?!.*?(apps=)).* url script-response-body https://raw.githubusercontent.com/RuCu6/QuanX/main/Scripts/limbo/Adblock4limboQX.js 19 | # RARBG (https://rarbgmirror.org/) //dyncdn.me 20 | ^https:\/\/dyncdn\.me\/static\/\d{0,2}\/js\/expla\d{0,4}\.js$ url reject-200 21 | ^https:\/\/dyncdn\.me\/static\/\d{0,2}\/js\/showads\.js$ url response-body true response-body false 22 | 23 | # ======= 影视网站 ====== # 24 | # 奈飞鸭 (https://yanetflix.com) //*netflix* 25 | ^https?:\/\/(yanetflix|netflixya|netflix)\.(com|wang|mom)\/($|[0-9a-zA-Z=_/-]+\.html$) url response-body response-body 26 | # 天天视频 (http://www.ttsp.tv/) //www.ttsp.tv 27 | ^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 28 | # 低端影视 (https://ddys.tv/) //ddrk.me, ddys.tv, ddys2.me 29 | ^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 30 | # 大师兄影视 (https://dsxys.com/) //dsxys.com 31 | ^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 32 | # 哔嘀影视 (https://www.bdys01.com/) //*bdys* 33 | ^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 34 | ^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 35 | # 茶杯狐 (https://cupfox.app/) //cupfox.app 36 | ^https?:/\/cupfox\.app\/($|(search|list).*$) url response-body response-body 37 | # Cokemv (https://cokemv.me/) //cokemv.me 38 | ^https?:/\/cokemv\.me\/($|vod.*$) url response-body response-body 39 | # 555 影视 (https://555yy6.com/) //*5yy* 40 | ^https?:\/\/.*5yy.*\/($|[0-9a-zA-Z=_/-]+\.html$) url response-body response-body 41 | # 剧迷网 (https://gimytv.app/) //*gimytv* 42 | ^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 43 | # 天空影视 (https://www.tkys.vip/) //*tkznp* 44 | ^https?:\/\/.*tkznp.*com\/($|[0-9a-zA-Z=_/-]+\.html$) url response-body response-body 45 | # 厂长电影 (https://www.czspp.com/) //*czspp* 46 | ^https?:/\/.*czspp.*com\/($|\?btwaf=\w+$|[0-9a-zA-Z=_/-]+\.html) url response-body response-body 47 | # 真不卡影院 (https://www.ikandy.fun/) //*ikandy* 48 | ^https?:\/\/.*ikandy.*fun\/($|(vod|top).*$) url response-body response-body 49 | # 梨播 libvio (https://www.iioo.me/) //www.libvio.fun 50 | ^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 51 | 52 | # ======= ooxx ====== # 53 | # PornHub (https://cn.pornhub.com/) //*.pornhub.com 54 | ^https:\/\/(cn|www)\.pornhub\.com\/_xa\/ads.* url reject-dict 55 | ^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 56 | # 禁漫天堂 (https://18comic.org/) //18comic.org, 18comic.vip 57 | ^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 58 | ^https?:\/\/18comic\.(org|vip)\/templates\/frontend\/airav\/js\/jquery.avs.*?\.js.* url reject 59 | # 绅士漫画 (http://www.wnacg.com/) //www.wnacg.com, www.wnacg.org 60 | ^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 61 | # Javmost (https://www.javmost.cx/) //www.javmost.cx 62 | ^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 63 | ^https:\/\/suzihaza\.com\/asset\/jquery\/slim-3\.2\.min\.js.* url reject 64 | # JavBus (https://www.javbus.com/) //www.javbus.com 65 | ^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 66 | # Avple (https://avple.tv/) //avple.tv 67 | ^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 68 | # Avple 弹窗跳转 69 | ^https?:\/\/assert\.avple\.tv\/file\/avple-images\/ad\.js url reject 70 | # Jable (https://jable.tv/) //jable.tv 71 | ^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 72 | # missav 播放页弹窗 (https://missav.com/) //missav.com 73 | ^https?:\/\/[0-9a-zA-Z]{10,16}\.cloudfront\.net\/\?[a-z]{3,7}=\d{4,8} url reject 74 | ^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 75 | # 4hu.tv (https://4hu.tv/) //4hu.tv 76 | ^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 77 | # 91porn (http://www.91porn.com/) //91porn.com 78 | ^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 79 | # 肉漫屋 (https://rou.pub/dizhi) //rouman5.com 80 | https?:\/\/rouman5\.com\/cover\/.* url reject-img 81 | 82 | hostname = boxer.baidu.com, m.baidu.com, www.baidu.com, zhidao.baidu.com, *.google.cn, www.bing.com, dyncdn.me, *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 83 | -------------------------------------------------------------------------------- /rule/GlobalMedia.list: -------------------------------------------------------------------------------- 1 | # 原链接https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/StreamingMedia/Streaming.list 2 | # Streaming Media 3 | # 国际媒体 4 | 5 | # (Live) 6 | # > Twitch 7 | DOMAIN-SUFFIX,ext-twitch.tv 8 | DOMAIN-SUFFIX,jtvnw.net 9 | DOMAIN-SUFFIX,ttvnw.net 10 | DOMAIN-SUFFIX,twitch.tv 11 | DOMAIN-SUFFIX,twitchcdn.net 12 | DOMAIN-SUFFIX,twitch-ext.rootonline.de 13 | 14 | # (Music) 15 | # > Deezer 16 | USER-AGENT,Deezer* 17 | DOMAIN-SUFFIX,deezer.com 18 | DOMAIN-SUFFIX,dzcdn.net 19 | # > JOOX 20 | USER-AGENT,JOOX* 21 | USER-AGENT,WeMusic* 22 | DOMAIN-SUFFIX,joox.com 23 | DOMAIN-KEYWORD,jooxweb-api 24 | # > KKBOX 25 | DOMAIN-SUFFIX,kkbox.com 26 | DOMAIN-SUFFIX,kkbox.com.tw 27 | DOMAIN-SUFFIX,kfs.io 28 | # > Pandora 29 | USER-AGENT,Pandora* 30 | DOMAIN-SUFFIX,pandora.com 31 | # > SoundCloud 32 | USER-AGENT,SoundCloud* 33 | DOMAIN-SUFFIX,p-cdn.us 34 | DOMAIN-SUFFIX,sndcdn.com 35 | DOMAIN-SUFFIX,soundcloud.com 36 | # > Spotify 37 | USER-AGENT,Spotify* 38 | DOMAIN-SUFFIX,pscdn.co 39 | DOMAIN-SUFFIX,scdn.co 40 | DOMAIN-SUFFIX,spotify.com 41 | DOMAIN-SUFFIX,spoti.fi 42 | DOMAIN-KEYWORD,spotify.com 43 | DOMAIN-KEYWORD,-spotify-com 44 | # > TIDAL 45 | USER-AGENT,TIDAL* 46 | DOMAIN-SUFFIX,tidal.com 47 | # > YouTubeMusic 48 | USER-AGENT,com.google.ios.youtubemusic* 49 | USER-AGENT,YouTubeMusic* 50 | 51 | # (Podcast) 52 | # > Himalaya 53 | USER-AGENT,Himalaya* 54 | DOMAIN-SUFFIX,himalaya.com 55 | # > Overcast 56 | USER-AGENT,Overcast* 57 | DOMAIN-SUFFIX,overcast.fm 58 | 59 | # (Video) 60 | # > AbemaTV 61 | USER-AGENT,AbemaTV* 62 | DOMAIN-SUFFIX,abema.io 63 | DOMAIN-SUFFIX,abema.tv 64 | DOMAIN-SUFFIX,ameba.jp 65 | DOMAIN-SUFFIX,hayabusa.io 66 | DOMAIN-KEYWORD,abematv.akamaized.net 67 | # > All 4 68 | USER-AGENT,All4* 69 | DOMAIN-SUFFIX,c4assets.com 70 | DOMAIN-SUFFIX,channel4.com 71 | # > Amazon Prime Video 72 | USER-AGENT,InstantVideo.US* 73 | USER-AGENT,Prime%20Video* 74 | DOMAIN-SUFFIX,aiv-cdn.net 75 | DOMAIN-SUFFIX,aiv-delivery.net 76 | DOMAIN-SUFFIX,amazonvideo.com 77 | DOMAIN-SUFFIX,media-amazon.com 78 | DOMAIN-SUFFIX,primevideo.com 79 | DOMAIN-SUFFIX,pv-cdn.net 80 | DOMAIN,atv-ps.amazon.com 81 | DOMAIN,fls-na.amazon.com 82 | DOMAIN,avodmp4s3ww-a.akamaihd.net 83 | DOMAIN,d25xi40x97liuc.cloudfront.net 84 | DOMAIN,dmqdd6hw24ucf.cloudfront.net 85 | DOMAIN,dmqdd6hw24ucf.cloudfront.net 86 | DOMAIN,d22qjgkvxw22r6.cloudfront.net 87 | DOMAIN,d1v5ir2lpwr8os.cloudfront.net 88 | DOMAIN,d27xxe7juh1us6.cloudfront.net 89 | # DOMAIN,www.amazon.com 90 | DOMAIN-KEYWORD,avoddashs 91 | # > Apple Music TV 92 | DOMAIN,tv.applemusic.com 93 | # > Apple TV 94 | DOMAIN,linear.tv.apple.com 95 | DOMAIN,play-edge.itunes.apple.com 96 | DOMAIN,uts-api.itunes.apple.com 97 | # > Bahamut 98 | USER-AGENT,Anime* 99 | DOMAIN-SUFFIX,bahamut.com.tw 100 | DOMAIN-SUFFIX,gamer.com.tw 101 | DOMAIN,bahamut.akamaized.net 102 | DOMAIN,gamer-cds.cdn.hinet.net 103 | DOMAIN,gamer2-cds.cdn.hinet.net 104 | # > BBC iPlayer 105 | USER-AGENT,BBCiPlayer* 106 | DOMAIN-SUFFIX,bbc.co.uk 107 | DOMAIN-SUFFIX,bbci.co.uk 108 | DOMAIN-KEYWORD,bbcfmt 109 | DOMAIN-KEYWORD,uk-live 110 | # > bilibili Intl 111 | DOMAIN-SUFFIX,biliintl.com 112 | DOMAIN,apm-misaka.biliapi.net 113 | DOMAIN,p.bstarstatic.com 114 | DOMAIN,p-bstarstatic.akamaized.net 115 | DOMAIN,upos-bstar-mirrorakam.akamaized.net 116 | DOMAIN,upos-bstar1-mirrorakam.akamaized.net 117 | # > DAZN 118 | USER-AGENT,DAZN* 119 | DOMAIN-SUFFIX,dazn.com 120 | DOMAIN-SUFFIX,dazn-api.com 121 | DOMAIN-SUFFIX,dazndn.com 122 | DOMAIN-SUFFIX,indazn.com 123 | DOMAIN,d151l6v8er5bdm.cloudfront.net 124 | DOMAIN-KEYWORD,voddazn 125 | # > discovery+ 126 | USER-AGENT,DPlus* 127 | USER-AGENT,discovery+* 128 | DOMAIN-SUFFIX,disco-api.com 129 | DOMAIN-SUFFIX,discoveryplus.co.uk 130 | DOMAIN-SUFFIX,discoveryplus.com 131 | DOMAIN-SUFFIX,discoveryplus.in 132 | DOMAIN-SUFFIX,dnitv.com 133 | # DOMAIN,go-prod-vz.akamaized.net 134 | DOMAIN,x-default-stgec.uplynk.com 135 | DOMAIN-KEYWORD,discovery.uplynk.com 136 | # > Disney+ 137 | USER-AGENT,Disney+* 138 | DOMAIN-SUFFIX,bamgrid.com 139 | DOMAIN-SUFFIX,disneyplus.com 140 | DOMAIN-SUFFIX,disney-plus.net 141 | DOMAIN-SUFFIX,disneystreaming.com 142 | DOMAIN-SUFFIX,dssott.com 143 | DOMAIN,cdn.registerdisney.go.com 144 | # > DMM 145 | DOMAIN-SUFFIX,dmm.co.jp 146 | DOMAIN-SUFFIX,dmm.com 147 | DOMAIN-SUFFIX,dmm-extension.com 148 | # > encoreTVB 149 | USER-AGENT,encoreTVB* 150 | DOMAIN-SUFFIX,encoretvb.com 151 | DOMAIN,edge.api.brightcove.com 152 | DOMAIN,bcbolt446c5271-a.akamaihd.net 153 | # > HBO NOW & Max 154 | USER-AGENT,HBO%20NOW* 155 | DOMAIN-SUFFIX,hbo.com 156 | DOMAIN-SUFFIX,hbogo.com 157 | DOMAIN-SUFFIX,hbonow.com 158 | USER-AGENT,HBOMAX* 159 | DOMAIN-SUFFIX,hbomax.com 160 | DOMAIN-SUFFIX,hbomaxcdn.com 161 | # > HBO Asia 162 | USER-AGENT,HBO%20GO%20PROD* 163 | DOMAIN-SUFFIX,hbogoasia.com 164 | DOMAIN-SUFFIX,hbogoasia.hk 165 | DOMAIN-KEYWORD,.hbogoasia. 166 | DOMAIN,44wilhpljf.execute-api.ap-southeast-1.amazonaws.com 167 | DOMAIN,bcbolthboa-a.akamaihd.net 168 | DOMAIN,cf-images.ap-southeast-1.prod.boltdns.net 169 | DOMAIN,dai3fd1oh325y.cloudfront.net 170 | DOMAIN,hboasia1-i.akamaihd.net 171 | DOMAIN,hboasia2-i.akamaihd.net 172 | DOMAIN,hboasia3-i.akamaihd.net 173 | DOMAIN,hboasia4-i.akamaihd.net 174 | DOMAIN,hboasia5-i.akamaihd.net 175 | DOMAIN,hboasialive.akamaized.net 176 | DOMAIN,hbogoprod-vod.akamaized.net 177 | DOMAIN,hbolb.onwardsmg.com 178 | DOMAIN,hbounify-prod.evergent.com 179 | DOMAIN,players.brightcove.net 180 | DOMAIN,s3-ap-southeast-1.amazonaws.com 181 | # > 华文电视 182 | USER-AGENT,HWTVMobile* 183 | DOMAIN-SUFFIX,5itv.tv 184 | DOMAIN-SUFFIX,ocnttv.com 185 | # > Hulu 186 | DOMAIN-SUFFIX,hulu.com 187 | DOMAIN-SUFFIX,huluim.com 188 | DOMAIN-SUFFIX,hulustream.com 189 | # > Hulu / フールー 190 | DOMAIN-SUFFIX,happyon.jp 191 | DOMAIN-SUFFIX,hjholdings.jp 192 | DOMAIN-SUFFIX,hulu.jp 193 | # > ITV 194 | USER-AGENT,ITV_Player* 195 | DOMAIN-SUFFIX,itv.com 196 | DOMAIN-SUFFIX,itvstatic.com 197 | DOMAIN,itvpnpmobile-a.akamaihd.net 198 | # > iQIYI 199 | DOMAIN-SUFFIX,iq.com 200 | DOMAIN,intl.iqiyi.com 201 | DOMAIN,intl-rcd.iqiyi.com 202 | DOMAIN,intl-subscription.iqiyi.com 203 | IP-CIDR,23.53.32.88/32,no-resolve 204 | IP-CIDR,23.211.15.99/32,no-resolve 205 | IP-CIDR,103.5.34.153/32,no-resolve 206 | IP-CIDR,104.109.129.153/32,no-resolve 207 | IP-CIDR,110.238.107.47/32,no-resolve 208 | IP-CIDR,118.26.32.178/32,no-resolve 209 | IP-CIDR,203.74.95.131/32,no-resolve 210 | IP-CIDR,203.74.95.139/32,no-resolve 211 | IP-CIDR,203.74.95.153/32,no-resolve 212 | IP-CIDR,203.211.4.169/32,no-resolve 213 | IP-CIDR,203.211.4.193/32,no-resolve 214 | IP-CIDR,210.71.227.200/32,no-resolve 215 | IP-CIDR,210.71.227.202/32,no-resolve 216 | IP-CIDR,210.201.32.8/32,no-resolve 217 | IP-CIDR,210.201.32.11/32,no-resolve 218 | # > KKTV 219 | USER-AGENT,KKTV* 220 | USER-AGENT,com.kktv.ios.kktv* 221 | DOMAIN-SUFFIX,kktv.com.tw 222 | DOMAIN-SUFFIX,kktv.me 223 | DOMAIN,kktv-theater.kk.stream 224 | # > LINE TV 225 | USER-AGENT,LINE%20TV* 226 | DOMAIN-SUFFIX,linetv.tw 227 | DOMAIN,d3c7rimkq79yfu.cloudfront.net 228 | # > LiTV 229 | DOMAIN-SUFFIX,litv.tv 230 | DOMAIN,litvfreemobile-hichannel.cdn.hinet.net 231 | # > My5 232 | USER-AGENT,My5* 233 | DOMAIN-SUFFIX,channel5.com 234 | DOMAIN-SUFFIX,my5.tv 235 | DOMAIN,d349g9zuie06uo.cloudfront.net 236 | # > myTV SUPER 237 | USER-AGENT,mytv* 238 | DOMAIN-SUFFIX,mytvsuper.com 239 | DOMAIN-SUFFIX,tvb.com 240 | # > Naver TV 241 | USER-AGENT,Naver%20TV* 242 | DOMAIN-SUFFIX,naver.com 243 | DOMAIN-SUFFIX,smartmediarep.com 244 | # > Netflix 245 | USER-AGENT,Argo* 246 | DOMAIN-SUFFIX,netflix.com 247 | DOMAIN-SUFFIX,netflix.net 248 | DOMAIN-SUFFIX,nflxext.com 249 | DOMAIN-SUFFIX,nflximg.com 250 | DOMAIN-SUFFIX,nflximg.net 251 | DOMAIN-SUFFIX,nflxso.net 252 | DOMAIN-SUFFIX,nflxvideo.net 253 | DOMAIN-KEYWORD,netflixdnstest 254 | DOMAIN-KEYWORD,apiproxy-device-prod-nlb- 255 | DOMAIN-KEYWORD,dualstack.apiproxy- 256 | # GEOIP,NETFLIX,no-resolve 257 | # > niconico 258 | USER-AGENT,Niconico* 259 | DOMAIN-SUFFIX,dmc.nico 260 | DOMAIN-SUFFIX,nicovideo.jp 261 | DOMAIN-SUFFIX,nimg.jp 262 | # > Now E 263 | DOMAIN-SUFFIX,nowe.com 264 | DOMAIN-SUFFIX,nowestatic.com 265 | # > Paramount+ 266 | USER-AGENT,PPlus* 267 | DOMAIN-SUFFIX,cbsi.com 268 | DOMAIN-SUFFIX,cbsaavideo.com 269 | DOMAIN-SUFFIX,cbsivideo.com 270 | DOMAIN-SUFFIX,paramountplus.com 271 | DOMAIN-SUFFIX,pplusstatic.com 272 | DOMAIN,cbsi.live.ott.irdeto.com 273 | DOMAIN,cbsplaylistserver.aws.syncbak.com 274 | DOMAIN,cbsservice.aws.syncbak.com 275 | DOMAIN,link.theplatform.com 276 | # > PBS 277 | USER-AGENT,PBS* 278 | DOMAIN-SUFFIX,pbs.org 279 | # > Peacock 280 | USER-AGENT,PeacockMobile* 281 | DOMAIN-SUFFIX,peacocktv.com 282 | # > Pornhub 283 | DOMAIN-SUFFIX,phncdn.com 284 | DOMAIN-SUFFIX,phprcdn.com 285 | DOMAIN-SUFFIX,pornhub.com 286 | DOMAIN-SUFFIX,pornhubpremium.com 287 | # > 台湾好 288 | USER-AGENT,TaiwanGood* 289 | DOMAIN-SUFFIX,skyking.com.tw 290 | DOMAIN,hamifans.emome.net 291 | # > TikTok 292 | USER-AGENT,TikTok* 293 | DOMAIN-SUFFIX,byteoversea.com 294 | DOMAIN-SUFFIX,ibytedtos.com 295 | DOMAIN-SUFFIX,muscdn.com 296 | DOMAIN-SUFFIX,musical.ly 297 | DOMAIN-SUFFIX,tiktok.com 298 | DOMAIN-SUFFIX,tik-tokapi.com 299 | DOMAIN-SUFFIX,tiktokcdn.com 300 | DOMAIN-SUFFIX,tiktokv.com 301 | DOMAIN-KEYWORD,tiktokcdn- 302 | # > TVer 303 | USER-AGENT,TVer-Release* 304 | DOMAIN-SUFFIX,tver.jp 305 | DOMAIN,edge.api.brightcove.com 306 | # > ViuTV 307 | USER-AGENT,Viu* 308 | DOMAIN-SUFFIX,viu.com 309 | DOMAIN-SUFFIX,viu.tv 310 | DOMAIN,api.viu.now.com 311 | DOMAIN,d1k2us671qcoau.cloudfront.net 312 | DOMAIN,d2anahhhmp1ffz.cloudfront.net 313 | DOMAIN,dfp6rglgjqszk.cloudfront.net 314 | # > WeTV 315 | USER-AGENT,WeTV* 316 | DOMAIN-SUFFIX,wetv.vip 317 | DOMAIN-SUFFIX,wetvinfo.com 318 | IP-CIDR,150.109.28.51/32,no-resolve 319 | # > YouTube 320 | USER-AGENT,com.google.ios.youtube* 321 | USER-AGENT,YouTube* 322 | DOMAIN-SUFFIX,googlevideo.com 323 | DOMAIN-SUFFIX,withyoutube.com 324 | DOMAIN-SUFFIX,youtu.be 325 | DOMAIN-SUFFIX,youtube.com 326 | DOMAIN-SUFFIX,youtubeeducation.com 327 | DOMAIN-SUFFIX,youtubegaming.com 328 | DOMAIN-SUFFIX,youtubekids.com 329 | DOMAIN-SUFFIX,youtube-nocookie.com 330 | DOMAIN-SUFFIX,yt.be 331 | DOMAIN-SUFFIX,ytimg.com 332 | DOMAIN,youtubei.googleapis.com 333 | DOMAIN,yt3.ggpht.com 334 | -------------------------------------------------------------------------------- /rewrite/MeiTuanMaiCai.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @author: @JoJoJotarou 3 | * @description: 方式1:美团APP -> 美团买菜 -> 我的 -> 买菜币 -> 去使用 -> 在退回上一级,QX提示成功即可 4 | * @description: 方式2:美团APP -> 美团买菜 -> 我的 -> 买菜币 -> 左滑一半做推出手势再松手(不要真的左滑退出) -> QX提示成功即可 5 | * 6 | */ 7 | const $ = Env('美团买菜Token'); 8 | const generalQueryParams = ['tenantId', 'poiId', 'poi', 'bizId', 'utm_medium', 'utm_term', 'uuid', 'app_tag', 'userid']; 9 | 10 | !(async () => { 11 | const cookie = $request.headers['Cookie'] || $request.headers['cookie']; 12 | const queryStr = $request.url 13 | .match(/queryTaskListInfoV.\?(.*)/)[1] 14 | .split('&') 15 | .filter((param) => generalQueryParams.includes(param.split('=')[0])) 16 | .join('&'); 17 | const xuuid = 18 | $request.url 19 | .match(/queryTaskListInfoV.\?(.*)/)[1] 20 | .split('&') 21 | .filter((param) => 'xuuid' === param.split('=')[0])[0] || ''; 22 | 23 | if (cookie.toLocaleLowerCase().indexOf('token=') !== -1) { 24 | $.setdata( 25 | JSON.stringify({ 26 | queryStr: queryStr, 27 | xuuid: xuuid, 28 | headers: { 29 | 'X-Titans-User': $request.headers['X-Titans-User'], 30 | t: $request.headers['t'], 31 | Cookie: cookie, 32 | 'User-Agent': $request.headers['User-Agent'], 33 | }, 34 | }), 35 | 'jojo_mall_meituan' 36 | ); 37 | $.subt = '🟢 获取会话成功'; 38 | } else { 39 | throw '无法获取token信息'; 40 | } 41 | })() 42 | .catch((e) => { 43 | $.subt = '🔴 获取会话失败'; 44 | $.log(`🔴 获取会话失败: ${e}`); 45 | }) 46 | .finally(() => { 47 | $.msg($.name, $.subt, ''); 48 | $.done(); 49 | }); 50 | 51 | // prettier-ignore 52 | function Env(t, e) { 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.encoding = "utf-8", this.startTime = (new Date).getTime(), Object.assign(this, e), this.log("", `\ud83d\udd14${this.name}, \u5f00\u59cb!`) } 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 } isShadowrocket() { return "undefined" != typeof $rocket } isStash() { return "undefined" != typeof $environment && $environment["stash-version"] } 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 = (() => { })) { if (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) }); else if (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)); else if (this.isNode()) { let s = require("iconv-lite"); 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: i, statusCode: r, headers: o, rawBody: h } = t; e(null, { status: i, statusCode: r, headers: o, rawBody: h }, s.decode(h, this.encoding)) }, t => { const { message: i, response: r } = t; e(i, r, r && s.decode(r.rawBody, this.encoding)) }) } } post(t, e = (() => { })) { const s = t.method ? t.method.toLocaleLowerCase() : "post"; 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[s](t, (t, s, i) => { !t && s && (s.body = i, s.statusCode = s.status), e(t, s, i) }); else if (this.isQuanX()) t.method = s, 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()) { let i = require("iconv-lite"); this.initGotEnv(t); const { url: r, ...o } = t; this.got[s](r, o).then(t => { const { statusCode: s, statusCode: r, headers: o, rawBody: h } = t; e(null, { status: s, statusCode: r, headers: o, rawBody: h }, i.decode(h, this.encoding)) }, t => { const { message: s, response: r } = t; e(s, r, r && i.decode(r.rawBody, this.encoding)) }) } } 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, i = t["update-pasteboard"] || t.updatePasteboard; return { "open-url": e, "media-url": s, "update-pasteboard": i } } 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 = ["", "==============\ud83d\udce3\u7cfb\u7edf\u901a\u77e5\ud83d\udce3=============="]; 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("", `\u2757\ufe0f${this.name}, \u9519\u8bef!`, t.stack) : this.log("", `\u2757\ufe0f${this.name}, \u9519\u8bef!`, t) } wait(t) { return new Promise(e => setTimeout(e, t)) } done(t = {}) { const e = (new Date).getTime(), s = (e - this.startTime) / 1e3; this.log("", `\ud83d\udd14${this.name}, \u7ed3\u675f! \ud83d\udd5b ${s} \u79d2`), this.log(), (this.isSurge() || this.isQuanX() || this.isLoon()) && $done(t) } }(t, e) } 53 | -------------------------------------------------------------------------------- /Scripts/switch-check-google.js: -------------------------------------------------------------------------------- 1 | # 送中查询 2 | # 原链接https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/switch-check-google.js 3 | 4 | /*** 5 | 6 | For Quantumult-X 598+ ONLY!! 7 | 8 | [task_local] 9 | 10 | // UI 入口切换版本 11 | event-interaction https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/switch-check-google.js, tag=Google Sifter, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Google_Search.png, enabled=true 12 | 13 | // Cron 定时切换版本 14 | 0 8 * * * https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/switch-check-google.js#policy=你的策略组名, tag=Google 送中定时切换, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Google_Search.png, enabled=true 15 | 16 | 17 | ps. 简单粗暴的 UI-Interaction 版本。无数据持久化、粗暴延迟等待。完美主义建议使用 Helge大佬的boxjs版本 https://t.me/QuanXNews/193 18 | 19 | @XIAO_KOP 20 | 21 | **/ 22 | 23 | //var policy = $environment.params 24 | var cronsign = $environment.executeType == 0 || $environment.executeType == "0" || $environment.executeType == "-1"? "Y" : "N" 25 | var policy = $environment.executeType == 0 || $environment.executeType == "0" || $environment.executeType == "-1"? GetPolicy($environment.sourcePath) : $environment.params 26 | console.log(JSON.stringify($environment)) 27 | console.log("策略组:"+policy) 28 | 29 | function GetPolicy(cnt) { 30 | if (cnt && cnt.indexOf("#policy=") !=-1) { 31 | return decodeURIComponent(cnt.split("#policy=")[1].trim()) 32 | }else { 33 | return "" 34 | } 35 | } 36 | 37 | const message = { 38 | action: "get_customized_policy", 39 | content: policy 40 | 41 | }; 42 | 43 | var output=[] 44 | var OKList=[] 45 | var NoList=["已被送中节点 ➟ "] 46 | var ErrorList=["检测出错节点 ➟ "] 47 | var pflag=1 //是否是策略,或者简单节点 48 | var sign=0 //是否停止 49 | 50 | $configuration.sendMessage(message).then(resolve => { 51 | if (resolve.error) { 52 | console.log(resolve.error); 53 | $done() 54 | } 55 | if (resolve.ret) { 56 | //console.log(JSON.stringify(resolve.ret)) 57 | output=JSON.stringify(resolve.ret[message.content])? JSON.parse(JSON.stringify(resolve.ret[message.content]["candidates"])) : [policy] 58 | pflag = JSON.stringify(resolve.ret[message.content])? pflag:0 59 | console.log("Google 送中检测 检测") 60 | console.log("节点or策略组:"+pflag) 61 | 62 | if (pflag==1) { 63 | console.log("节点数量:"+resolve.ret[policy]["candidates"].length) 64 | 65 | if(resolve.ret[policy]["candidates"].length==0) { 66 | $done({"title":"Google 送中检测","htmlMessage":`


😭 无有效节点`}); 67 | } 68 | } 69 | 70 | //$notify(typeof(output),output) 71 | Check() 72 | //$done({"title":"策略内容","message":output}) 73 | } 74 | }, reject => { 75 | // Normally will never happen. 76 | $done(); 77 | }); 78 | 79 | function Len(cnt) { 80 | return cnt.length-1 81 | } 82 | 83 | function Check() { 84 | var relay = 2000; 85 | for ( var i=0;i < output.length;i++) { 86 | testGoogle(output[i]) 87 | } 88 | if (output.length<=5) { 89 | relay = 2000 90 | } else if (output.length<10) { 91 | relay =4000 92 | } else if (output.length<15) { 93 | relay =6000 94 | } else if (output.length<20) { 95 | relay =8000 96 | } else { 97 | relay =10000 98 | } 99 | console.log(output.length+":"+relay) 100 | setTimeout(() => { 101 | console.log("⛳️ 共计 "+OKList.length+" 个:未送中节点 ➟ "+ OKList) 102 | console.log("🏠 共计 "+Len(NoList)+" 个:"+NoList) 103 | console.log("🕹 共计 "+Len(ErrorList)+" 个:"+ErrorList) 104 | sign=1 105 | if (OKList[0] && pflag==1) { //有支持节点、且为策略组才操作 106 | ReOrder(OKList) 107 | } else if (!OKList[0]){ //不支持 108 | content =pflag==0 ? `


😭 该节点已被 Google 送中

👇

-------------------------
⟦ `+policy+` ⟧
-------------------------
`: `

` + "
⟦ "+policy+ " ⟧ ⚠️ 切换失败

该策略组内未找到未被 Google 送中 的节点" + "

-----------------------------
检测详情请查看JS脚本记录
-----------------------------
"+`

` 109 | //为节点且检测超时/出错 110 | content = pflag==0 && Len(NoList)==0 ? content = `


⚠️ 该节点 Google 送中检测失败

👇

-------------------------
⟦ `+policy+` ⟧
-------------------------
`: content 111 | $done({"title":"Google 送中检测&切换", "htmlMessage": content}) 112 | } else if (OKList[0]){ //支持, 但为节点 113 | content = `


🎉 该节点未被 Google 送中

👇

-------------------------
⟦ `+policy+` ⟧
-------------------------
` 114 | $done({"title":"Google 送中检测&切换", "htmlMessage": content}) 115 | } 116 | }, relay) 117 | 118 | } 119 | 120 | //选择最优延迟节点 121 | function ReOrder(cnt) { 122 | const array = cnt; 123 | const messageURL = { 124 | action: "url_latency_benchmark", 125 | content: array 126 | }; 127 | $configuration.sendMessage(messageURL).then(resolve => { 128 | if (resolve.error) { 129 | console.log(resolve.error); 130 | } 131 | if (resolve.ret) { 132 | let output=JSON.stringify(resolve.ret); 133 | console.log("节点延迟:"+output); 134 | //排序 135 | console.log("排序前: "+ array) 136 | if(array){ 137 | try { 138 | array.sort(function (a,b) { 139 | //console.log(a+" VS "+b) 140 | return (resolve.ret[a][1]!=-1 && resolve.ret[b][1] !=-1)? resolve.ret[a][1]-resolve.ret[b][1] : resolve.ret[b][1] 141 | }) 142 | } catch (err) { 143 | console.log(err) 144 | } 145 | } 146 | console.log("排序后: "+array) 147 | let Ping =resolve.ret[array[0]] 148 | const dict = { [policy] : array[0]}; 149 | if(array[0]) { 150 | console.log("选定未被送中节点:"+array[0]+"延迟数据为 👉"+Ping) 151 | Ping = " ⚡️ 节点延迟 ➟ 「 "+Ping + " 」 " 152 | } 153 | const mes1 = { 154 | action: "set_policy_state", 155 | content: dict 156 | }; 157 | $configuration.sendMessage(mes1).then(resolve => { 158 | if (resolve.error) { 159 | console.log(resolve.error); 160 | content =pflag==0 && array[0]? `


🎉 该节点未被 Google 送中

👇

-------------------------
⟦ `+policy+` ⟧
-------------------------
` : `


😭 该节点已被 Google 送中

👇

-------------------------
⟦ `+policy+` ⟧
-------------------------
` 161 | content = pflag!=0 && !array[0]? `

` + "
⟦ "+policy+ " ⟧ ⚠️ 切换失败

该策略组内未找到未被 Google 送中 的节点" + "

-----------------------------
检测详情请查看JS脚本记录
-----------------------------
"+`

` : content 162 | $done({"title":"Google 送中检测&切换", "htmlMessage": content}) 163 | } 164 | if (resolve.ret) { 165 | console.log("已经切换至未被 Google 送中 的路线中延迟最优节点 ➟ "+array[0]) 166 | if (cronsign == "Y") { $notify("🐸 Google 定时送中检测&切换", "🎉 已切换至未被送中的最优延迟线路👇", array[0] +"\n 👉 "+Ping)} 167 | content = `

` + "
⟦ "+policy+ " ⟧ 已切换至未被Google 送中延迟最优路线

👇

⟦ "+array[0]+ " ⟧" + "

"+Ping+"
-----------------------------
检测详情请查看JS脚本记录
-----------------------------
"+`

` 168 | $done({"title":"Google 送中检测&切换", "htmlMessage": content }) 169 | } 170 | }, reject => { 171 | $done(); 172 | }); 173 | 174 | } 175 | //$done(); 176 | }, reject => { 177 | // Normally will never happen. 178 | $done(); 179 | }); 180 | } 181 | 182 | 183 | function testGoogle(pname) { 184 | return new Promise((resolve, reject) => { 185 | const url = `https://www.google.com/maps/timeline`; 186 | let opts = { policy : pname } 187 | const method = `GET`; 188 | const headers = { 189 | 'Accept-Encoding' : `gzip, deflate, br`, 190 | 'Connection' : `keep-alive`, 191 | 'Accept' : `text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8`, 192 | 'Host' : `www.google.com`, 193 | 'User-Agent' : `Mozilla/5.0 (iPhone; CPU iPhone OS 15_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Mobile/15E148 Safari/604.1`, 194 | 'Accept-Language' : `zh-CN,zh-Hans;q=0.9` 195 | }; 196 | const body = ``; 197 | const myRequest = { 198 | url: url, 199 | method: method, 200 | headers: headers, 201 | body: body, 202 | opts: opts, 203 | //timeout: 3000 204 | }; 205 | 206 | $task.fetch(myRequest).then(response => { 207 | let sCode = response.statusCode 208 | hmessage = "该节点未被送中" 209 | //console.log(pname+sCode); 210 | if (sign==0) { 211 | if (sCode == 400) { 212 | NoList.push(pname) 213 | console.log(pname + ": 该节点已被送中 ->" +sCode) 214 | resolve("YES") 215 | return 216 | } else { 217 | OKList.push(pname)//结束前推送 218 | console.log(pname + ": 该节点未被送中 ->" +sCode) 219 | resolve("No") 220 | return 221 | } 222 | } else { 223 | return 224 | } 225 | }, reason => { 226 | if (sign==0) { 227 | ErrorList.push(pname) 228 | console.log(pname + ": 该节点检测失败") 229 | reject("Error") 230 | } 231 | return 232 | }); 233 | }) 234 | } 235 | 236 | --------------------------------------------------------------------------------