diff --git a/QuantumultX/File/91.js b/QuantumultX/File/91.js index 94d1c8a..93d11ce 100644 --- a/QuantumultX/File/91.js +++ b/QuantumultX/File/91.js @@ -1,23 +1,24 @@ /* -91 short video unlock vip -This script is special, please dont like the video in the 91 app -app download link : http://i91.porn +91短视频 解锁部分限制 +http://download.91porn.love/ -QX1.0.0: -^https?:\/\/.+\.(my10api|(.*91.*))\.(com|tips|app|xyz)(:\d{2,5})?\/api.php$ url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/91.js +*************************** +QuantumultX: -Surge4.0: -http-response ^https?:\/\/.+\.(my10api|(.*91.*))\.(com|tips|app|xyz)(:\d{2,5})?\/api.php$ requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/91ShortVideo.js +[rewrite_local] +^https?:\/\/.+?\.(my10api|(.*91.*))\.(com|tips|app|xyz)(:\d{2,5}|)\/api.php$ url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/91.js -*/ +*************************** +Surge4 or Loon: -let key = "FCA27C420C9BC230C86627D052F62E5E04CC1B51BF986A7C60673DC92F82697E9EB8C7BFB5AA267AC87399CDF8DBD1B1B25FEA57E27F38D0FCFB0CA5CFD8ED7B809FBCF3372C4DBB22083C4BC85A039512735A83834D7450EFD24EA2712FF841050BE99B7A4A31BBFCBE28BD3522227838BABE6E372874533E51A59A81CBFCB9C943C5C9646091E408D3B68BF6122DA929D558290D186EFBA2BE8019B86E35CB174626952650A959CA1A116ADCF1B14773DB033A8055E56F673682219629775138CDF3C653A0179232C8B653FDEB45D704140F8CA0C7716A02E5F7ED7CB41A68A247E9ECC0B744318534B0501865FBDF68AA1E7167663B59EDD8C56114E4A52B52A2020CA89B0F06F9D626BE3446ED5BF64E2FEE7AEA815CC047DBF3AE0F07DF1B4856070430ECF72AA542E22AF59861F2E48099C6E2CF2C1E3DD938196CB40FEE135A61AC76AAE6011C5A126CF9477AA0FDB76BE94279B66063E93E0FC8CFD802D0E2326B462EE26BF073E22B19A60F8BAF74C891DC57B18C8EFA091C9C66B6E94468E9A7165403A0CD2A3D45B23B2A0A43CEEF16FAF704866B6AC10686C8B6C65FB43DFDA9F531576815E7337E640C22870D8E9E4F1AEB6B5386BA48B264FBE302B2D0724C8D8FE9A147397BF8046114C06A99DF953E43ADBBBD3EBC538AEFC02091156B2782C482F17792D4D9FADBA46FB1BA8491146EC2393AB5C26C33CF0B61854D5492D2171A09AA147ACD9FD75798F43154E70624740A08F49507EF296B9B6FC54680C4A8AC265CF7717C8FA646207BF97A0B8241736FAA61EFB1F828545F515940F7873B20E6A1ABE055746F72F03EF49AAACA30A9C2EEF8E5CDE41BE80B1E5B66F485062F70B36A3ACE30116E062B06F95B404291398337E9449C919C096DE09DDF772CBC7373678AE532AB190C02414F2E0777C62679E5B6790D40FB17D832B4A27308D48D53B2A2302F0616BA6ECDD78947205456B0C063EF1EFE54125131F6755971C4DC84087135A89AFBC9BEC74C530BE9A22067A503DC535F0BF9DA16EE2BE41AF891C1A1A55F7B8522A6CA3D7044740316CAA2A25DE5DE1E67DA72E60FE46B5E49029852C859F2ACDDC57233F47AB3C4290E67B851A55B7C834D4A5DFE3E0E16344D0AF027E70ED05E269DBC955AAC496F0A9F794DD8E5059FA73D6A1A249B9E91921A48FE2CC639B29D97073FD936993E9B4634EAE4F805E1F5F65001FA81EE94FF142FE48C6D25CCE206F8731FFE321611ED0C9D95511B3AD30E43F668409A32742C0383A6B3B43663FAEF31F334C83EC641CC451D2FCBA2287E825206A7A2E980E53C2B6D3F39D4581E96719632425518F8CF04FEA775F6F828B75E7EF3C0F36D952DCA728955DADB3D501FFEA09E21D272912DFA4C5DE82B02A459E94100B522A86BA27D841B26754179606DC9C3A25968A915EB070431DA31E76C8C3F8F689957ECE7CB4644EAA545A8EBC151466554120767BC4353B0D252C566A535182AF6B53247A2C024DAA12E9EEDE31F6988804444E40157429F832BA8A959B9A62449ED822D1532BD52870B46BDA1509C1C9619F1EFDF4EA5BC9C1A49B3EF91B0FF3548C78905D248FD5195843A447F4BAFF13965303A0B9B719327698E2D679B43D4D25A8F4CDB316CD21E6C88E21A98187930C82EB616ABE917E1C2B5C045D97CDD41FA65E999F9B7FFEDAAE0F9B735A9BAC94533A2A14B3D4413E4723D947D23CA48E52A67A6506B647810F45B92AB1703C068E67EF1ECA8C3D3BF2149AEC9C0CD623850338445088C3AFA3CC08D30BF12CFA448A10C4E3C4AA5108F9DC1C7D223A0E1A89B01B1C64DB2DFEFBABC32C4F3EAEA6EA39587D44512E9A3F579844974974EEDDC125EA3A56F3821C9FE387CEA62C37160633E14E99A33FC0CB68D19F58EB6A93380476C01A7A0E9631412BEAD87FDCE17DECA4E475A47B0D6DD82D7EDBCC677D487220B172FED1E26AAA00A1771B11A281F6CC3E9582862331765E162033025DBCD8FC9CC3E50A27C72940A5E0C7692E5B474D132FB11D017706D9D653E1731E5EFC1337A964EB9F0C1865FE475421816ADC7ADACE6FAFA6BA0D8B7FECF766B640D5944254BC9DD638BAB91313DF77C91A8FB74012873AFCB3EACF18CA8D1C67EE16F6F83CA22D59F5D577F5B0844D4FFBC1A6D9C37F5848CB672E32AA48445A1B6D6837CCF98E4D4FE49B5F62186940F868473BA71F2C68C62687D9E5BB4B01E5E079A040275D86E66559025E6253D1759559B1FA60F48B7AC130F0070D21C0E38CDCF63DD755CD790FD3990109A3B856422E8118C5075D6EDFB58EFF8AA4401871036ADB9F766F9FC895F317A9D9DF38BD6E0D3E671BBE79F2C4BC8811F5E94A878D0E922FBAC4C86"; +[Script] +http-response ^https?:\/\/.+?\.(my10api|(.*91.*))\.(com|tips|app|xyz)(:\d{2,5}|)\/api.php$ requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/91.js +**************************/ let obj = JSON.parse($response.body); - -if (obj.data.match(/^[A-Z0-9]{1000,40000}$/)) { - obj.data = key; -} -$done({ - body: JSON.stringify(obj) -}); \ No newline at end of file +if (obj.data && obj.data.match(/^[A-Z0-9]{1000,40000}$/)) { + obj.data = "FCA27C420C9BC230C86627D052F62E5E04CC1B51BF986A7C60673DC92F82697E9EB8C7BFB5AA267AC87399CDF8DBD1B1B25FEA57E27F38D0FCFB0CA5CFD8ED7B809FBCF3372C4DBB22083C4BC85A039512735A83834D7450EFD24EA2712FF841050BE99B7A4A31BBFCBE28BD3522227838BABE6E372874533E51A59A81CBFCB9C943C5C9646091E408D3B68BF6122DA929D558290D186EFBA2BE8019B86E35CB174626952650A959CA1A116ADCF1B14773DB033A8055E56F673682219629775138CDF3C653A0179232C8B653FDEB45D704140F8CA0C7716A02E5F7ED7CB41A68A247E9ECC0B744318534B0501865FBDF68AA1E7167663B59EDD8C56114E4A52B52A2020CA89B0F06F9D626BE3446ED5BF64E2FEE7AEA815CC047DBF3AE0F07DF1B4856070430ECF72AA542E22AF59861F2E48099C6E2CF2C1E3DD938196CB40FEE135A61AC76AAE6011C5A126CF9477AA0FDB76BE94279B66063E93E0FC8CFD802D0E2326B462EE26BF073E22B19A60F8BAF74C891DC57B18C8EFA091C9C66B6E94468E9A7165403A0CD2A3D45B23B2A0A43CEEF16FAF704866B6AC10686C8B6C65FB43DFDA9F531576815E7337E640C22870D8E9E4F1AEB6B5386BA48B264FBE302B2D0724C8D8FE9A147397BF8046114C06A99DF953E43ADBBBD3EBC538AEFC02091156B2782C482F17792D4D9FADBA46FB1BA8491146EC2393AB5C26C33CF0B61854D5492D2171A09AA147ACD9FD75798F43154E70624740A08F49507EF296B9B6FC54680C4A8AC265CF7717C8FA646207BF97A0B8241736FAA61EFB1F828545F515940F7873B20E6A1ABE055746F72F03EF49AAACA30A9C2EEF8E5CDE41BE80B1E5B66F485062F70B36A3ACE30116E062B06F95B404291398337E9449C919C096DE09DDF772CBC7373678AE532AB190C02414F2E0777C62679E5B6790D40FB17D832B4A27308D48D53B2A2302F0616BA6ECDD78947205456B0C063EF1EFE54125131F6755971C4DC84087135A89AFBC9BEC74C530BE9A22067A503DC535F0BF9DA16EE2BE41AF891C1A1A55F7B8522A6CA3D7044740316CAA2A25DE5DE1E67DA72E60FE46B5E49029852C859F2ACDDC57233F47AB3C4290E67B851A55B7C834D4A5DFE3E0E16344D0AF027E70ED05E269DBC955AAC496F0A9F794DD8E5059FA73D6A1A249B9E91921A48FE2CC639B29D97073FD936993E9B4634EAE4F805E1F5F65001FA81EE94FF142FE48C6D25CCE206F8731FFE321611ED0C9D95511B3AD30E43F668409A32742C0383A6B3B43663FAEF31F334C83EC641CC451D2FCBA2287E825206A7A2E980E53C2B6D3F39D4581E96719632425518F8CF04FEA775F6F828B75E7EF3C0F36D952DCA728955DADB3D501FFEA09E21D272912DFA4C5DE82B02A459E94100B522A86BA27D841B26754179606DC9C3A25968A915EB070431DA31E76C8C3F8F689957ECE7CB4644EAA545A8EBC151466554120767BC4353B0D252C566A535182AF6B53247A2C024DAA12E9EEDE31F6988804444E40157429F832BA8A959B9A62449ED822D1532BD52870B46BDA1509C1C9619F1EFDF4EA5BC9C1A49B3EF91B0FF3548C78905D248FD5195843A447F4BAFF13965303A0B9B719327698E2D679B43D4D25A8F4CDB316CD21E6C88E21A98187930C82EB616ABE917E1C2B5C045D97CDD41FA65E999F9B7FFEDAAE0F9B735A9BAC94533A2A14B3D4413E4723D947D23CA48E52A67A6506B647810F45B92AB1703C068E67EF1ECA8C3D3BF2149AEC9C0CD623850338445088C3AFA3CC08D30BF12CFA448A10C4E3C4AA5108F9DC1C7D223A0E1A89B01B1C64DB2DFEFBABC32C4F3EAEA6EA39587D44512E9A3F579844974974EEDDC125EA3A56F3821C9FE387CEA62C37160633E14E99A33FC0CB68D19F58EB6A93380476C01A7A0E9631412BEAD87FDCE17DECA4E475A47B0D6DD82D7EDBCC677D487220B172FED1E26AAA00A1771B11A281F6CC3E9582862331765E162033025DBCD8FC9CC3E50A27C72940A5E0C7692E5B474D132FB11D017706D9D653E1731E5EFC1337A964EB9F0C1865FE475421816ADC7ADACE6FAFA6BA0D8B7FECF766B640D5944254BC9DD638BAB91313DF77C91A8FB74012873AFCB3EACF18CA8D1C67EE16F6F83CA22D59F5D577F5B0844D4FFBC1A6D9C37F5848CB672E32AA48445A1B6D6837CCF98E4D4FE49B5F62186940F868473BA71F2C68C62687D9E5BB4B01E5E079A040275D86E66559025E6253D1759559B1FA60F48B7AC130F0070D21C0E38CDCF63DD755CD790FD3990109A3B856422E8118C5075D6EDFB58EFF8AA4401871036ADB9F766F9FC895F317A9D9DF38BD6E0D3E671BBE79F2C4BC8811F5E94A878D0E922FBAC4C86"; + $done({body: JSON.stringify(obj)}); + } else { + $done({}) + } \ No newline at end of file diff --git a/QuantumultX/File/Wechat.js b/QuantumultX/File/Wechat.js index c5248cb..4300424 100644 --- a/QuantumultX/File/Wechat.js +++ b/QuantumultX/File/Wechat.js @@ -1,14 +1,25 @@ /* -Remove the WeChat public account bottom ad -by Choler -QX: +微信 去除公众号文章底部广告 + +*************************** +QuantumultX: + +[rewrite_local] ^https?:\/\/mp\.weixin\.qq\.com\/mp\/getappmsgad url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/Wechat.js -Surge4: +[mitm] +hostname = mp.weixin.qq.com + +*************************** +Surge4 or Loon: + +[Script] http-response ^https?:\/\/mp\.weixin\.qq\.com\/mp\/getappmsgad requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/Wechat.js -Surge & QX MITM = mp.weixin.qq.com, -*/ +[MITM] +hostname = mp.weixin.qq.com + +**************************/ var obj = JSON.parse($response.body); obj.advertisement_num = 0; diff --git a/QuantumultX/File/Zymh.js b/QuantumultX/File/Zymh.js index 9f0547b..60ea25b 100644 --- a/QuantumultX/File/Zymh.js +++ b/QuantumultX/File/Zymh.js @@ -1,43 +1,28 @@ /* -知音漫客 unlock vip -by mieqq -QX: -^https://getuserinfo-globalapi.zymk.cn/app_api/v5/(getuserinfo|coin_account|getuserinfo_ticket|getcomicinfo)/ url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/Zymh.js +解锁知音漫客付费章节 (需登录) -Surge4: -http-response ^https://getuserinfo-globalapi.zymk.cn/app_api/v5/(getuserinfo|coin_account|getuserinfo_ticket|getcomicinfo)/ requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/Zymh.js +*************************** +QuantumultX: -Surge & QX MITM = getuserinfo-globalapi.zymk.cn -*/ +[rewrite_local] +^https:\/\/(userpurchased|user-api)\.zymk\.cn\/v\d\/(userpurchased\/paychapters|getuserinfo)\/ url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/Zymh.js -let url = $request.url; -let body = JSON.parse($response.body); +[mitm] +hostname = user*.zymk.cn -let user = '/app_api/v5/getuserinfo/'; -let coin = '/app_api/v5/coin_account/'; -let ticket = '/app_api/v5/getuserinfo_ticket/'; -let free = '/app_api/v5/getcomicinfo/'; +*************************** +Surge4 or Loon: -if (url.indexOf(user) != -1) { - body.data.coins = 6666; - body.data.isvip = 1; - body.data.recommend = 6666; - body.data.Cticket = 6666; - body.data.Cgold = 6666; -} -else if (url.indexOf(coin) != -1) { - body.data.coins = 6666; - body.data.golds = 6666; -} -else if (url.indexOf(ticket) != -1) { - body.data.Cticket = 6666; -} +[Script] +http-response ^https:\/\/(userpurchased|user-api)\.zymk\.cn\/v\d\/(userpurchased\/paychapters|getuserinfo)\/ requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/Zymh.js -else if (url.indexOf(free) != -1) { - body.data.price = 0; - body.data.download_price = 0; -} +[MITM] +hostname = user*.zymk.cn +**************************/ - body = JSON.stringify(body); - -$done({body}); \ No newline at end of file +var obj = JSON.parse($response.body); +obj.status = 0; +obj.data.isvip = 1; +obj.data.coins = 6666; +obj.data.Cgold = 6666; +$done({body: JSON.stringify(obj)}); \ No newline at end of file diff --git a/QuantumultX/File/aimeiju.js b/QuantumultX/File/aimeiju.js index 808056b..7ae00cc 100644 --- a/QuantumultX/File/aimeiju.js +++ b/QuantumultX/File/aimeiju.js @@ -1,42 +1,52 @@ /* -爱美剧 unlock vip(官网:xmj.app) -Made by huihui -QX : +爱美剧 解锁部分功能 +官网: https://www.mjapp.cc +脚本原作者: 灰灰 + +可自行添加启动广告/弹窗规则, REGEX: +^https?://api.bjxkhc.com/index.php/app/ios/ads/index +^https?://api.bjxkhc.com/index.php/app/ios/ver/index_ios$ +^https?://api.bjxkhc.com/index.php/app/ios/pay/ok$ + +*************************** +QuantumultX: + +[rewrite_local] ^https?:\/\/api.bjxkhc.com\/index\.php\/app\/ios\/(vod\/show|(user|vod|topic|type)\/index) url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/aimeiju.js -Surge4: -http-response ^https?:\/\/api.bjxkhc.com\/index\.php\/app\/ios\/(vod\/show|(user|vod|topic|type)\/index) requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/aimeiju.js - +[mitm] hostname = api.bjxkhc.com -#启动广告/弹窗 -^https?://api.bjxkhc.com/index.php/app/ios/ads/index url reject-dict -^https?://api.bjxkhc.com/index.php/app/ios/ver/index_ios$ url reject -^https?://api.bjxkhc.com/index.php/app/ios/pay/ok$ url reject-dict -*/ -var body = $response.body; +*************************** +Surge4 or Loon: + +[Script] +http-response ^https?:\/\/api.bjxkhc.com\/index\.php\/app\/ios\/(vod\/show|(user|vod|topic|type)\/index) requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/aimeiju.js + +[MITM] +hostname = api.bjxkhc.com + +**************************/ + var url = $request.url; +var obj = JSON.parse($response.body || '{}'); const user = "/index.php/app/ios/user/index"; //用户信息 const show = "/index.php/app/ios/vod/show"; //视频播放页面 const banner = "/index.php/app/ios/vod/index";//首页轮播广告 const topic = "/index.php/app/ios/topic/index";//豆瓣热榜中间广告 const type = "/index.php/app/ios/type/index"//综合专区,美剧专区中间广告 -if (url.indexOf(user) != -1){ - let obj = JSON.parse(body); - obj.data.user.viptime = "2088-08-08 08:08:08"; - obj.data.user.cion = "88888"; - obj.data.user.vip = "1"; - body = JSON.stringify(obj); +if (obj.data && obj.data.user && url.indexOf(user) != -1) { + obj.data.user.viptime = "2088-08-08 08:08:08"; + obj.data.user.cion = "88888"; + obj.data.user.vip = "1"; } -if (url.indexOf(show) != -1) { - let obj = JSON.parse(body); +if (obj.data && url.indexOf(show) != -1) { obj.data.looktime = -1; obj.data.vip = "4"; - //obj.data.advertising = {}; delete obj.data.advertising;//视频下方轮播,删掉也不能清除广告占位 - obj.data.CT_App_Show_Pic1 = "";//联系客服图片 + obj.data.CT_App_Show_Pic1 = "";//联系客服图片 obj.data.CT_App_Show_Url1 = "";//联系客服链接 obj.data.CT_App_Show_Vod1 = "https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=1519044039,3175177225&fm=26&gp=0.jpg";//片头广告,留空的话不会自动播放 obj.data.CT_App_Show_Vod_Time1 = "0";//片头广告显示时间(0秒也短暂显示) @@ -45,30 +55,23 @@ if (url.indexOf(show) != -1) { obj.data.CT_App_Show_Vod_must_Time1 = "0";//片头联系客服图片显示时间,前面改VIP这里自动变0 obj.data.CT_Pic_url1_pause = "";//暂停联系客服图片 obj.data.CT_Pic_url1_pause_skip = "";//暂停联系客服链接 - body = JSON.stringify(obj); } -if (url.indexOf(banner) != -1) { - let obj = JSON.parse(body); - let data = obj.data - for (var i = data.length - 1 ; i >= 0 ; i--) { - if (data[i].ad == 1) { - data.splice(i, 1) +if (obj.data && url.indexOf(banner) != -1) { + for (var i = obj.data.length - 1; i >= 0; i--) { + if (obj.data[i].ad == 1) { + obj.data.splice(i, 1) } } - body = JSON.stringify(obj); } -if (url.indexOf(topic) != -1||url.indexOf(type) != -1) { - let obj = JSON.parse(body); - let data = obj.data - for (var i = data.length - 1 ; i >= 0 ; i--) { - if (data[i].ad == 1) { - data[i].ad = 0; - data[i].pic = ""; - delete data[i].url +if (obj.data && (url.indexOf(topic) != -1 || url.indexOf(type) != -1)) { + for (var i = obj.data.length - 1; i >= 0; i--) { + if (obj.data[i].ad == 1) { + obj.data[i].ad = 0; + obj.data[i].pic = ""; + delete obj.data[i].url } } - body = JSON.stringify(obj); } -$done({body}); \ No newline at end of file +$done({ body: JSON.stringify(obj) }); \ No newline at end of file diff --git a/QuantumultX/File/dapian.js b/QuantumultX/File/dapian.js index 0c8e1c0..c066da7 100644 --- a/QuantumultX/File/dapian.js +++ b/QuantumultX/File/dapian.js @@ -1,31 +1,32 @@ /* -大片 unlock vip +Bigshot 解锁高级特权(需登录) -QX: -^https?:\/\/api\.vnision\.com\/v1\/(users\/|banners) url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/dapian.js +*************************** +QuantumultX: -Surge4: -http-response ^https?:\/\/api\.vnision\.com\/v1\/(users\/|banners) requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/dapian.js +[rewrite_local] +^https:\/\/vni\.kwaiying\.com\/api\/v1\/user\/profile url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/dapian.js -Surge & QX MITM = api.vnision.com -*/ +[mitm] +hostname = vni.kwaiying.com -var body = $response.body; -var url = $request.url; +*************************** +Surge4 or Loon: -const vip = '/v1/users/'; -const ad = '/v1/banners'; +[Script] +http-response ^https:\/\/vni\.kwaiying\.com\/api\/v1\/user\/profile requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/dapian.js -if (url.indexOf(vip) != -1) { - let obj = JSON.parse(body); - obj.user.is_member = 1; - body = JSON.stringify(obj); - } +[MITM] +hostname = vni.kwaiying.com +**************************/ -if (url.indexOf(ad) != -1) { - let obj = JSON.parse(body); - delete obj.banners - body = JSON.stringify(obj); - } +var obj = JSON.parse($response.body); -$done({body}); \ No newline at end of file +if (obj.data && obj.data.userInfo) { + obj.data.userInfo.isVip = 1; + obj.data.userInfo.memberId = 666 + obj.data.userInfo.vipStartTime = 1591430766000; + obj.data.userInfo.vipEndTime = 3043037166000; +} + +$done({ body: JSON.stringify(obj) }); \ No newline at end of file diff --git a/QuantumultX/File/vsco.js b/QuantumultX/File/vsco.js index 9ab80cd..d02b787 100644 --- a/QuantumultX/File/vsco.js +++ b/QuantumultX/File/vsco.js @@ -1,15 +1,25 @@ /* -VSCO unlock vip -This script is compatible with new and old versions +VSCO 解锁高级特权 -QX: +*************************** +QuantumultX: + +[rewrite_local] ^https:\/\/(api\.revenuecat\.com\/v\d\/subscribers|vsco\.co\/api\/subscriptions\/\d\.\d\/user-subscriptions)\/ url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/vsco.js -Surge4: +[mitm] +hostname = vsco.co, api.revenuecat.com + +*************************** +Surge4 or Loon: + +[Script] http-response ^https:\/\/(api\.revenuecat\.com\/v\d\/subscribers|vsco\.co\/api\/subscriptions\/\d\.\d\/user-subscriptions)\/ requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/vsco.js -Surge & QX MITM = vsco.co, api.revenuecat.com -*/ +[MITM] +hostname = vsco.co, api.revenuecat.com + +**************************/ let obj = JSON.parse($response.body || '{}'); diff --git a/QuantumultX/File/wnyd.js b/QuantumultX/File/wnyd.js index ebf8531..c40f1c7 100644 --- a/QuantumultX/File/wnyd.js +++ b/QuantumultX/File/wnyd.js @@ -1,15 +1,26 @@ /* -Netease snail reading unlock vip -By yxiaocai & JO2EY -QX: +网易蜗牛读书 解锁特权 +原作者: yxiaocai & JO2EY + +*************************** +QuantumultX: + +[rewrite_local] ^https?:\/\/p\.du\.163\.com\/gain\/readtime\/info\.json url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/wnyd.js -Surge4: +[mitm] +hostname = p.du.163.com + +*************************** +Surge4 or Loon: + +[Script] http-response ^https?:\/\/p\.du\.163\.com\/gain\/readtime\/info\.json requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/wnyd.js -Surge & QX MITM = p.du.163.com -*/ +[MITM] +hostname = p.du.163.com +**************************/ var body = $response.body; var obj = JSON.parse(body); diff --git a/QuantumultX/File/xjsp.js b/QuantumultX/File/xjsp.js index 626dc9f..b5c8f35 100644 --- a/QuantumultX/File/xjsp.js +++ b/QuantumultX/File/xjsp.js @@ -1,35 +1,55 @@ /* -Banana video unlock vip -app download link : http://tinyurl.com/y57j6hjg +香蕉视频 解锁部分观看限制 +官网: https://www.aa2.app -QX 1.0.0: -^https?:\/\/.*\.(fuli|xiang(jiao|xiang))apps\.com\/(ucp\/index|getGlobalData|.+\/reqplay\/) url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/xjsp.js +*************************** +QuantumultX: -Surge 4.0: -http-response https?:\/\/.*\.(fuli|xiang(jiao|xiang))apps\.com\/(ucp\/index|getGlobalData|.+\/reqplay\/) requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/xjsp.js +[rewrite_local] +^https?:\/\/.+?\.(pipi|fuli|xiang(jiao|xiang))apps\.com\/(ucp\/index|getGlobalData|(\/|)vod\/reqplay\/) url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/xjsp.js -Surge & QX MITM = ios.fuliapps.com, apple.fuliapps.com, ios.xiangjiaoapps.com, apple.xiangjiaoapps.com, *.xiangxiangapps.com -*/ +[mitm] +hostname = ios.fuliapps.com, apple.fuliapps.com, ios.xiangjiaoapps.com, apple.xiangjiaoapps.com, *.xiangxiangapps.com, *.pipiapps.com -var obj = JSON.parse($response.body); -if ($request.url.indexOf("/ucp/index") != -1){ - obj.data.uinfo.down_daily_remainders = "666"; - obj.data.uinfo.play_daily_remainders = "666"; - obj.data.uinfo["next_upgrade_need"] = "0"; - obj.data.user.isvip = "1"; - obj.data.user.gicon = "V5"; - obj.data.user.gid = "5"; -} -if ($request.url.indexOf("/getGlobalData") != -1){ - obj.data.app_launch_times_adshow = "0"; - obj.data.adgroups = ""; - obj.data.iOS_adgroups =""; -} -if ($request.url.indexOf("/reqplay/") != -1){ - obj.retcode = "0"; - if(obj.data.hasOwnProperty("httpurl_preview")){ - var playurl = obj.data["httpurl_preview"]; - obj.data["httpurl"] = playurl; - }; -} -$done({body: JSON.stringify(obj)}); \ No newline at end of file +*************************** +Surge4 or Loon: + +[Script] +http-response https?:\/\/.+?\.(pipi|fuli|xiang(jiao|xiang))apps\.com\/(ucp\/index|getGlobalData|(\/|)vod\/reqplay\/) requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/xjsp.js + +[MITM] +hostname = ios.fuliapps.com, apple.fuliapps.com, ios.xiangjiaoapps.com, apple.xiangjiaoapps.com, *.xiangxiangapps.com, *.pipiapps.com + +**************************/ + +var body = $response.body; +var url = $request.url; + +if (body) { + var obj = JSON.parse($response.body); + if (/\/ucp\/index/.test(url) && obj.data) { + obj.data.uinfo.minivod_play_daily_remainders = "666"; + obj.data.uinfo.minivod_down_daily_remainders = "666"; + obj.data.uinfo.down_daily_remainders = "666"; + obj.data.uinfo.play_daily_remainders = "666"; + obj.data.uinfo["next_upgrade_need"] = "0"; + obj.data.user.isvip = "1"; + obj.data.user.gicon = "V5"; + obj.data.user.gid = "5"; + } + if (/\/getGlobalData/.test(url) && obj.data) { + obj.data.app_launch_times_adshow = "0"; + obj.data.adgroups = ""; + obj.data.iOS_adgroups = ""; + } + if (/\/reqplay\//.test(url) && obj.data) { + obj.retcode = "0"; + if (obj.data.hasOwnProperty("httpurl_preview")) { + var playurl = obj.data["httpurl_preview"]; + obj.data["httpurl"] = playurl; + }; + } + $done({ body: JSON.stringify(obj) }); +} else { + $done({}) +} \ No newline at end of file diff --git a/QuantumultX/Js.conf b/QuantumultX/Js.conf index db69a54..4eb6686 100644 --- a/QuantumultX/Js.conf +++ b/QuantumultX/Js.conf @@ -1,41 +1,10 @@ -hostname = api.weibo.cn, mapi.weibo.com, *.uve.weibo.com, mp.weixin.qq.com, api.bilibili.com, app.bilibili.com, www.zhihu.com, api.zhihu.com, link.zhihu.com, aweme*.snssdk.com, *.kuwo.cn, *.xiaoxiao*.com, *.amemv.com, p.du.163.com, getuserinfo.321mh.com, getuserinfo-globalapi.zymk.cn, ios.fuliapps.com, vsco.co, api.vnision.com, *.my10api.com, apple.fuliapps.com, newdrugs.dxy.cn, app101.avictown.cc, api.hlo.xyz, api.ijo.xyz, www.luqijianggushi.com, account.wps.cn, u.kanghuayun.com, api1.dobenge.cn, api.mvmtv.com, mitaoapp.yeduapp.com, origin-prod-phoenix.jibjab.com, www.3ivf.com, pay.guoing.com, api.bjxkhc.com, viva.v21xy.com, biz.caiyunapp.com, ap*.intsig.net, mp.bybutter.com, api.vuevideo.net, api.picsart.c*, api.meiease.c*, ios.xiangjiaoapps.com, apple.xiangjiaoapps.com, *.xiangxiangapps.com, trade-acs.m.taobao.com, api.m.jd.com, ios*.prod.ftl.netflix.com, api.revenuecat.com - - -# 去微博应用内广告 (By yichahucha) -^https?://(sdk|wb)app.uve.weibo.com(/interface/sdk/sdkad.php|/wbapplua/wbpullad.lua) url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/wb_launch.js -^https?://m?api.weibo.c(n|om)/2/(statuses/(unread|extend|positives/get|(friends|video)(/|_)(mix)?timeline)|stories/(video_stream|home_list)|(groups|fangle)/timeline|profile/statuses|comments/build_comments|photo/recommend_list|service/picfeed|searchall|cardlist|page|!/photos/pic_recommend_status|video/tiny_stream_video_list) url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/wb_ad.js +hostname = api.weibo.cn, mapi.weibo.com, *.uve.weibo.com, mp.weixin.qq.com, www.zhihu.com, api.zhihu.com, link.zhihu.com, vip1.kuwo.cn, p.du.163.com, vsco.co, user*.zymk.cn, vni.kwaiying.com, *.my10api.com, www.luqijianggushi.com, account.wps.cn, origin-prod-phoenix.jibjab.com, api.bjxkhc.com, xy-viva.kakalili.com, ap*.intsig.net, m*.bybutter.com, api.vuevideo.net, api.picsart.c*, ios.fuliapps.com, apple.fuliapps.com, *.pipiapps.com, ios.xiangjiaoapps.com, apple.xiangjiaoapps.com, *.xiangxiangapps.com, api.meiease.c*, trade-acs.m.taobao.com, api.m.jd.com, ios*.prod.ftl.netflix.com, api.revenuecat.com # 去微信公众号广告 (By Choler) ^https?:\/\/mp\.weixin\.qq\.com\/mp\/getappmsgad url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/Wechat.js -# 知乎去广告 (By onewayticket255) -https://api.zhihu.com/(ad|drama|fringe|commercial|market/popover|search/(top|preset|tab)|.*featured-comment-ad) url reject-200 -https://api.zhihu.com/people/ url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20zhihu%20people.js -https://api.zhihu.com/moments/recommend url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20zhihu%20feed.js -https://api.zhihu.com/topstory/recommend url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20zhihu%20recommend.js -https://api.zhihu.com/v4/questions url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20zhihu%20answer.js - -# 哔哩哔哩动画去广告 (By onewayticket255) -https://app.bilibili.com/x/v2/(splash|search/(defaultword|square)) url reject-200 -https://api.bilibili.com/x/v2/dm/ad url reject-200 -#https://app.bilibili.com/x/v2/space\?access_key url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20bilibili%20space.js -https://app.bilibili.com/x/resource/show/tab\?access_key url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20bilibili%20tab.js -https://app.bilibili.com/x/v2/feed/index\?access_key url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20bilibili%20feed.js -https://app.bilibili.com/x/v2/account/mine\?access_key url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20bilibili%20account.js -https://app.bilibili.com/x/v2/view\?access_key url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20bilibili%20view%20relate.js -https://api.bilibili.com/x/v2/reply/main\?access_key url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20bilibili%20reply.js -https://api.live.bilibili.com/xlive/app-room/v1/index/getInfoByRoom\?access_key url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20bilibili%20live.js - -# 抖音去广告去水印 (By Choler) -#^https?:\/\/.+?\.amemv\.com\/aweme\/v\d\/(feed|aweme\/post|follow\/feed|nearby\/feed|search\/item|general\/search\/single|hot\/search\/video\/list)\/ url script-request-header https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Aweme.js -#^https?:\/\/.+?\.amemv\.com\/aweme\/v\d\/(feed|aweme\/post|follow\/feed|nearby\/feed|search\/item|general\/search\/single|hot\/search\/video\/list)\/ url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Aweme.js - # 酷我音乐SVIP (By yxiaocai) ^https?:\/\/vip1\.kuwo\.cn\/(vip\/v2\/user\/vip|vip\/spi/mservice) url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Kuwo.js -^https?:\/\/musicpay\.kuwo\.cn\/music\.pay\?uid\=\d+ url 302 http://musicpay.kuwo.cn/music.pay?uid=1 - -# 小小影视Vip (By Meeta) -https:\/\/.*\.xiaoxiao.*\.com\/(vod\/reqplay\/|ucp/index|getGlobalData) url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/xxys.js # 爱美剧Vip (by huihui)(官网:app.meiju2018.com) ^https?:\/\/api.bjxkhc.com\/index\.php\/app\/ios\/(vod\/show|(user|vod|topic|type)\/index) url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/aimeiju.js @@ -48,29 +17,20 @@ https:\/\/.*\.xiaoxiao.*\.com\/(vod\/reqplay\/|ucp/index|getGlobalData) url scri ^https?://p\.du\.163\.com/readtime/info.json url reject ^https?:\/\/p\.du\.163\.com\/gain\/readtime\/info\.json url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/wnyd.js -# 看漫画极速版vip (By HoGer) -^https?:\/\/getuserinfo\.321mh\.com\/app_api\/v5\/getuserinfo\/ url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/kmh.js - -# 知音漫客VIP (By mieqq) -^https://getuserinfo-globalapi.zymk.cn/app_api/v5/(getuserinfo|coin_account|getuserinfo_ticket|getcomicinfo)/ url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/Zymh.js - -# 哔哩哔哩番剧开启1080P+ -^https:\/\/ap(p|i)\.bilibili\.com\/((pgc\/player\/api\/playurl)|(x\/v2\/account\/myinfo\?)|(x\/v2\/account/mine\?)) url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/bilifj.js +# 知音漫客VIP +^https:\/\/(userpurchased|user-api)\.zymk\.cn\/v\d\/(userpurchased\/paychapters|getuserinfo)\/ url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/Zymh.js # VSCO滤镜VIP ^https:\/\/(api\.revenuecat\.com\/v\d\/subscribers|vsco\.co\/api\/subscriptions\/\d\.\d\/user-subscriptions)\/ url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/vsco.js -# 大片-视频编辑器 VIP -^https?:\/\/api\.vnision\.com\/v1\/(users\/|banners) url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/dapian.js +# 大片(Bigshot) 视频编辑器 VIP +^https:\/\/vni\.kwaiying\.com\/api\/v1\/user\/profile url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/dapian.js # 91短视频 -^https?:\/\/.+\.(my10api|(.*91.*))\.(com|tips|app|xyz)(:\d{2,5})?\/api.php$ url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/91.js +^https?:\/\/.+?\.(my10api|(.*91.*))\.(com|tips|app|xyz)(:\d{2,5}|)\/api.php$ url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/91.js # 香蕉视频VIP -^https?:\/\/.*\.(fuli|xiang(jiao|xiang))apps\.com\/(ucp\/index|getGlobalData|.+\/reqplay\/) url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/xjsp.js - -# 用药助手解锁专业版 (By Primovist) -^https?:\/\/(i|newdrugs)\.dxy\.cn\/(snsapi\/username\/|app\/user\/(pro\/stat\?|init\?timestamp=)) url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/yyzs.js +^https?:\/\/.+?\.(pipi|fuli|xiang(jiao|xiang))apps\.com\/(ucp\/index|getGlobalData|(\/|)vod\/reqplay\/) url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/xjsp.js # 陆琪讲故事 ^https:\/\/www\.luqijianggushi\.com\/api\/v2\/user\/get url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/luqi.js @@ -78,20 +38,11 @@ https:\/\/.*\.xiaoxiao.*\.com\/(vod\/reqplay\/|ucp/index|getGlobalData) url scri # WPS (By eHpo) ^https://account.wps.cn/api/users/ url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Wps.js -# 水印精灵 vip (By Alex0510) -^https:\/\/api1\.dobenge\.cn\/api\/user\/getuserinfo url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/syjl.js - -# 大千视界 -^https:\/\/api\.mvmtv\.com\/index\.php.*(c=user.*a=info|a=addr.*vid=.*) url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/dqsj.js - # JibJab解锁pro ^https:\/\/origin-prod-phoenix\.jibjab\.com\/v1\/user url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/jibjab.js -# 小影 解锁Vip (By @hiepkimcdtk55) -^https:\/\/viva\.v21xy\.com\/api\/rest\/u\/vip url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/vivavideo.js - -# 彩云天气 Vip -^https:\/\/biz\.caiyunapp\.com\/v2\/user\?app_name\=weather url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/ColorWeather.js +# 小影 解锁Vip +^https:\/\/xy-viva\.kakalili\.com\/api\/rest\/u\/vipVerifyReceipt url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/vivavideo.js # 扫描全能王 pro ^https:\/\/(api|api-cs)\.intsig\.net\/purchase\/cs\/query_property\? url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/CamScanner.js @@ -100,18 +51,50 @@ https:\/\/.*\.xiaoxiao.*\.com\/(vod\/reqplay\/|ucp/index|getGlobalData) url scri ^https:\/\/api\.vuevideo\.net\/api\/v1\/(users\/.+\/profile|subtitle\/prepare) url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/VUE.js # NiChi 解锁素材 -^https?:\/\/mp\.bybutter\.com\/mood\/(official-templates|privileges) url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/NiChi.js +^https?:\/\/m(p|ini-hk)\.bybutter\.com\/mood\/(official-templates|privileges) url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/NiChi.js # PicsArt美易 pro ^https:\/\/api\.(picsart|meiease)\.c(n|om)\/users\/show\/me\.json url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/PicsArt.js -# 京东比价 + +################################# +###########其他仓库引用########### +################################# + +# 去微博应用内广告 (yichahucha) +^https?://(sdk|wb)app\.uve\.weibo\.com(/interface/sdk/sdkad.php|/wbapplua/wbpullad.lua) url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/wb_launch.js +^https?://m?api\.weibo\.c(n|om)/2/(statuses/(unread|extend|positives/get|(friends|video)(/|_)(mix)?timeline)|stories/(video_stream|home_list)|(groups|fangle)/timeline|profile/statuses|comments/build_comments|photo/recommend_list|service/picfeed|searchall|cardlist|page|!/(photos/pic_recommend_status|live/media_homelist)|video/tiny_stream_video_list|photo/info|remind/unread_count) url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/wb_ad.js + +# 知乎去广告 (onewayticket255) +https://api.zhihu.com/(ad|drama|fringe|commercial|market/popover|search/(top|preset|tab)|.*featured-comment-ad) url reject-200 +https://api.zhihu.com/people/ url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20zhihu%20people.js +https://api.zhihu.com/moments/recommend url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20zhihu%20feed.js +https://api.zhihu.com/topstory/recommend url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20zhihu%20recommend.js +https://api.zhihu.com/v4/questions url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20zhihu%20answer.js + +# 哔哩哔哩动画去广告 (onewayticket255) +https://app.bilibili.com/x/v2/(splash|search/(defaultword|square)) url reject-200 +https://api.bilibili.com/x/v2/dm/ad url reject-200 +#https://app.bilibili.com/x/v2/space\?access_key url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20bilibili%20space.js +https://app.bilibili.com/x/resource/show/tab\?access_key url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20bilibili%20tab.js +https://app.bilibili.com/x/v2/feed/index\?access_key url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20bilibili%20feed.js +https://app.bilibili.com/x/v2/account/mine\?access_key url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20bilibili%20account.js +https://app.bilibili.com/x/v2/view\?access_key url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20bilibili%20view%20relate.js +https://api.bilibili.com/x/v2/reply/main\?access_key url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20bilibili%20reply.js +https://api.live.bilibili.com/xlive/app-room/v1/index/getInfoByRoom\?access_key url script-response-body https://raw.githubusercontent.com/onewayticket255/Surge-Script/master/surge%20bilibili%20live.js + +# 京东比价 (yichahucha) ^https?://api\.m\.jd\.com/client\.action\?functionId=(wareBusiness|serverConfig|basicConfig) url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/jd_price.js -# 淘宝比价 +# 淘宝比价 (yichahucha) ^http://.+/amdc/mobileDispatch url script-request-body https://raw.githubusercontent.com/yichahucha/surge/master/tb_price.js ^https?://trade-acs\.m\.taobao\.com/gw/mtop\.taobao\.detail\.getdetail url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/tb_price.js -# Netflix评分 +# Netflix评分 (yichahucha) ^https?://ios[-\w]*\.prod\.ftl\.netflix\.com/iosui/user/.+path=%5B%22videos%22%2C%\d+%22%2C%22summary%22%5D url script-request-header https://raw.githubusercontent.com/yichahucha/surge/master/nf_rating.js ^https?://ios[-\w]*\.prod\.ftl\.netflix\.com/iosui/user/.+path=%5B%22videos%22%2C%\d+%22%2C%22summary%22%5D url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/nf_rating.js + +################################# +################################# +################################# + diff --git a/Surge/JS/CamScanner.js b/Surge/JS/CamScanner.js index da1b096..84f4ade 100644 --- a/Surge/JS/CamScanner.js +++ b/Surge/JS/CamScanner.js @@ -1,18 +1,34 @@ /* -CamScanner unlocks pro, Cloud scanning is not available. +CamScanner 解锁部分高级特权 -QuanX 1.0.0: [rewrite_local] +*************************** +Quantumult X: + +[rewrite_local] ^https:\/\/(api|api-cs)\.intsig\.net\/purchase\/cs\/query_property\? url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/CamScanner.js -Quan: [REWRITE] -https:\/\/(api|api-cs)\.intsig\.net\/purchase\/cs\/query_property\? url simple-response SFRUUC8xLjEgMjAwIE9LCgp7CiAiZGF0YSI6IHsKICAicHNubF92aXBfcHJvcGVydHkiOiB7CiAgICJleHBpcnkiOiAiMTY0MzczMTIwMCIKICB9CiB9Cn0= +[mitm] +hostname = ap*.intsig.net -Surge4.0: [Script] +*************************** +Surge4 or Loon: + +[Script] http-response https:\/\/(api|api-cs)\.intsig\.net\/purchase\/cs\/query_property\? requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/CamScanner.js -QX & Q & Surge Mitm = ap*.intsig.net, -*/ +[MITM] +hostname = ap*.intsig.net +*************************** +Quantumult: + +[REWRITE] +https:\/\/(api|api-cs)\.intsig\.net\/purchase\/cs\/query_property\? url simple-response SFRUUC8xLjEgMjAwIE9LCgp7CiAiZGF0YSI6IHsKICAicHNubF92aXBfcHJvcGVydHkiOiB7CiAgICJleHBpcnkiOiAiMTY0MzczMTIwMCIKICB9CiB9Cn0= + +[MITM] +hostname = ap*.intsig.net + +**************************/ let obj = JSON.parse($response.body); obj = {"data":{"psnl_vip_property":{"expiry":"1643731200"}}}; $done({body: JSON.stringify(obj)}); \ No newline at end of file diff --git a/Surge/JS/Kuwo.js b/Surge/JS/Kuwo.js index 5345d47..175dd48 100644 --- a/Surge/JS/Kuwo.js +++ b/Surge/JS/Kuwo.js @@ -1,15 +1,25 @@ /* -KuWo music unlock vip +酷我音乐 解锁会员试听及部分功能 -QX1.0.0: +*************************** +QuantumultX: + +[rewrite_local] ^https?:\/\/vip1\.kuwo\.cn\/(vip\/v2\/user\/vip|vip\/spi/mservice) url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Kuwo.js -Surge4.0: -http-response ^https?:\/\/vip1\.kuwo\.cn\/(vip\/v2\/user\/vip|vip\/spi/mservice) requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Kuwo.js -http-request ^https?:\/\/musicpay\.kuwo.cn\/music\.pay\?uid=\d+ script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/KuWoMusicDownload.js +[mitm] +hostname = vip1.kuwo.cn -MITM = vip1.kuwo.cn -*/ +*************************** +Surge4 or Loon: + +[Script] +http-response ^https?:\/\/vip1\.kuwo\.cn\/(vip\/v2\/user\/vip|vip\/spi/mservice) requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Kuwo.js + +[MITM] +hostname = vip1.kuwo.cn + +**************************/ var body = $response.body; var url = $request.url; diff --git a/Surge/JS/NiChi.js b/Surge/JS/NiChi.js index 3623bef..b203149 100644 --- a/Surge/JS/NiChi.js +++ b/Surge/JS/NiChi.js @@ -1,16 +1,28 @@ /* -NiChi app unlocks material -Because QX limits the maximum rewrite size of the response body, So this script may not work under a certain version of QX. -If your QX version is greater than 1.0.1 (130) then it is recommended to point to the local script path and enable AlwaysOn. +NiChi 解锁素材包 -Surge4.0: -http-response https?:\/\/mp\.bybutter\.com\/mood\/(official-templates|privileges) requires-body=1,max-size=524288,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/NiChi.js +*************************** +QuantumultX: -QX 1.0.0: -^https?:\/\/mp\.bybutter\.com\/mood\/(official-templates|privileges) url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/NiChi.js +[rewrite_local] +^https?:\/\/m(p|ini-hk)\.bybutter\.com\/mood\/(official-templates|privileges) url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/NiChi.js -Surge & QX Mitm = mp.bybutter.com -*/ +[mitm] +hostname = m*.bybutter.com -body = $response.body.replace(/preview/g, "free").replace(/view/g, "unlimited").replace(/true/g, "false"); -$done({body}); \ No newline at end of file +*************************** +Surge4 or Loon: + +[Script] +http-response https?:\/\/m(p|ini-hk)\.bybutter\.com\/mood\/(official-templates|privileges) requires-body=1,max-size=524288,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/NiChi.js + +[MITM] +hostname = m*.bybutter.com + +**************************/ + +var body = $response.body + .replace(/preview/g, "free") + .replace(/view/g, "unlimited") + .replace(/true/g, "false"); +$done({ body }); \ No newline at end of file diff --git a/Surge/JS/PicsArt.js b/Surge/JS/PicsArt.js index 8c320e8..41ec9da 100644 --- a/Surge/JS/PicsArt.js +++ b/Surge/JS/PicsArt.js @@ -1,14 +1,25 @@ /* -PicsArt app unlocks pro +PicsArt 解锁高级功能 -Surge4.0: -http-response https:\/\/api\.(picsart|meiease)\.c(n|om)\/users\/show\/me\.json requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/PicsArt.js +*************************** +QuantumultX: -QX1.0.0 +[rewrite_local] ^https:\/\/api\.(picsart|meiease)\.c(n|om)\/users\/show\/me\.json url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/PicsArt.js -Surge & QX Mitm = api.picsart.c*, api.meiease.c* -*/ +[mitm] +hostname = api.picsart.c*, api.meiease.c* + +*************************** +Surge4 or Loon: + +[Script] +http-response https:\/\/api\.(picsart|meiease)\.c(n|om)\/users\/show\/me\.json requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/PicsArt.js + +[MITM] +hostname = api.picsart.c*, api.meiease.c* + +**************************/ let obj = JSON.parse($response.body); obj.subscription.granted = "true"; diff --git a/Surge/JS/Super.js b/Surge/JS/Super.js index a57f9b5..1cb1cf6 100644 --- a/Surge/JS/Super.js +++ b/Surge/JS/Super.js @@ -15,12 +15,27 @@ Detail: /cell/detail 用户评论: /user/cell_coment 用户feed: /user/cell_userfeed 用户发帖: /user/publish_list -=================================== + +************************** +QuantumultX: + +[rewrite_local] +^https?://.*\.snssdk\.com/bds/(feed/stream|comment/cell_reply|cell/cell_comment|cell/detail|ward/list|user/favorite|user/cell_coment|user/cell_userfeed|user/publish_list) url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Super.js + +[mitm] +hostname = *.snssdk.com + +************************** +Surge4 or Loon: + [Script] -http-response ^https?://.*\.snssdk\.com/bds/(feed/stream|comment/cell_reply|cell/cell_comment|cell/detail|ward/list|user/favorite|user/cell_coment|user/cell_userfeed|user/publish_list) requires-body=1,max-size=-1,script-path=https://raw.githubusercontent.com/Liquor030/Sub_Ruleset/master/Script/Super.js +http-response ^https?://.*\.snssdk\.com/bds/(feed/stream|comment/cell_reply|cell/cell_comment|cell/detail|ward/list|user/favorite|user/cell_coment|user/cell_userfeed|user/publish_list) requires-body=1,max-size=-1,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Super.js + [MITM] hostname = *.snssdk.com -*/ + +**************************/ + var body = $response.body.replace(/id\":([0-9]{15,})/g, 'id":"$1str"'); body = JSON.parse(body); if (body.data.data) { diff --git a/Surge/JS/VUE.js b/Surge/JS/VUE.js index fc6b378..07d6b46 100644 --- a/Surge/JS/VUE.js +++ b/Surge/JS/VUE.js @@ -1,14 +1,26 @@ /* -VUE Vlog app unlocks pro +VUE Vlog 解锁高级功能 (需登录) -Surge4.0: -http-response https:\/\/api\.vuevideo\.net\/api\/v1\/(users\/.+\/profile|subtitle\/prepare) requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/VUE.js +*************************** +QuantumultX: -QX 1.0.0: +[rewrite_local] ^https:\/\/api\.vuevideo\.net\/api\/v1\/(users\/.+\/profile|subtitle\/prepare) url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/VUE.js -Surge & QX Mitm = api.vuevideo.net -*/ +[mitm] +hostname = api.vuevideo.net -body = $response.body.replace(/\"isPremium\":false/, "\"isPremium\":true").replace(/\"valid\":false/, "\"valid\":true") -$done({body}); \ No newline at end of file +*************************** +Surge4 or Loon: + +[Script] +http-response https:\/\/api\.vuevideo\.net\/api\/v1\/(users\/.+\/profile|subtitle\/prepare) requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/VUE.js + +[MITM] +hostname = api.vuevideo.net + +**************************/ +var body = $response.body + .replace(/\"isPremium\":false/, "\"isPremium\":true") + .replace(/\"valid\":false/, "\"valid\":true"); +$done({ body }); \ No newline at end of file diff --git a/Surge/JS/Wps.js b/Surge/JS/Wps.js index 762b5c4..d580e15 100644 --- a/Surge/JS/Wps.js +++ b/Surge/JS/Wps.js @@ -1,48 +1,55 @@ /* -国区wps -by eHpo1 +WPS Office 解锁部分功能 + +*************************** +QuantumultX: + +[rewrite_local] +^https?:\/\/account\.wps\.cn\/api\/users url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Wps.js + +[mitm] +hostname = account.wps.cn + +*************************** +Surge4 or Loon: [Script] -http-response ^https?:\/\/account\.wps\.cn\/api\/users requires-body=1,max-size=-1,script-path=https://raw.githubusercontent.com/eHpo1/Surge/master/Script/wps.js +http-response ^https?:\/\/account\.wps\.cn\/api\/users requires-body=1,max-size=-1,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Wps.js [MITM] hostname = account.wps.cn -*/ -var obj = JSON.parse($response.body); +**************************/ -var id = obj.userid; - -obj = { +var body = JSON.parse($response.body); +var obj = { exp: 0, level: 3, privilege: [ - { spid: "data_recover", times: 0, expire_time: 1631619709 }, - { spid: "ocr", times: 0, expire_time: 1631619709 }, - { spid: "pdf2doc", times: 0, expire_time: 1631619709 }, - { spid: "pdf_merge", times: 0, expire_time: 1631619709 }, - { spid: "pdf_sign", times: 0, expire_time: 1631619709 }, - { spid: "pdf_split", times: 0, expire_time: 1631619709 } + { spid: "data_recover", times: 0, expire_time: 1846256142 }, + { spid: "ocr", times: 0, expire_time: 1846256142 }, + { spid: "pdf2doc", times: 0, expire_time: 1846256142 }, + { spid: "pdf_merge", times: 0, expire_time: 1846256142 }, + { spid: "pdf_sign", times: 0, expire_time: 1846256142 }, + { spid: "pdf_split", times: 0, expire_time: 1846256142 } ], result: "ok", total_buy: 0, total_cost: -30, - userid: 0000, + userid: body.userid, vip: { name: "超级会员", has_ad: 0, memberid: 40, - expire_time: 1631619709, + expire_time: 1846256142, enabled: [ - { memberid: 40, name: "超级会员", expire_time: 1631619709 }, - { memberid: 20, name: "WPS会员", expire_time: 1631619709 }, - { memberid: 12, name: "稻壳会员", expire_time: 1631619709 } + { memberid: 40, name: "超级会员", expire_time: 1846256142 }, + { memberid: 20, name: "WPS会员", expire_time: 1846256142 }, + { memberid: 12, name: "稻壳会员", expire_time: 1846256142 } ] }, wealth: 0, - expire_time: 1631619709 + expire_time: 1846256142 }; -obj.userid = id; - $done({ body: JSON.stringify(obj) }); \ No newline at end of file diff --git a/Surge/JS/jibjab.js b/Surge/JS/jibjab.js index bf22e64..e9cb102 100644 --- a/Surge/JS/jibjab.js +++ b/Surge/JS/jibjab.js @@ -1,14 +1,25 @@ /* -JibJab unlock +JibJab 解锁高级功能 -Surge4: -http-response https:\/\/origin-prod-phoenix\.jibjab\.com\/v1\/user requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/jibjab.js +*************************** +QuantumultX: -QX: +[rewrite_local] https:\/\/origin-prod-phoenix\.jibjab\.com\/v1\/user url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/jibjab.js -Surge & QX MITM = origin-prod-phoenix.jibjab.com -*/ +[mitm] +hostname = origin-prod-phoenix.jibjab.com + +*************************** +Surge4 or Loon: + +[Script] +http-response https:\/\/origin-prod-phoenix\.jibjab\.com\/v1\/user requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/jibjab.js + +[MITM] +hostname = origin-prod-phoenix.jibjab.com + +**************************/ let obj = JSON.parse($response.body); obj.data.attributes["is-paid"] = true; diff --git a/Surge/JS/luqi.js b/Surge/JS/luqi.js index 7255743..fc4c5dd 100644 --- a/Surge/JS/luqi.js +++ b/Surge/JS/luqi.js @@ -1,3 +1,26 @@ +/* +陆琪讲故事 解锁电台 + +*************************** +QuantumultX: + +[rewrite_local] +^https:\/\/www\.luqijianggushi\.com\/api\/v2\/user\/get url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/luqi.js + +[mitm] +hostname = www.luqijianggushi.com + +*************************** +Surge4 or Loon: + +[Script] +http-response ^https:\/\/www\.luqijianggushi\.com\/api\/v2\/user\/get requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/luqi.js + +[MITM] +hostname = www.luqijianggushi.com + +**************************/ + let obj = JSON.parse($response.body); obj.data.is_vip = 1; obj.data.vip_endtime = 1630296877; diff --git a/Surge/JS/vivavideo.js b/Surge/JS/vivavideo.js index ac99753..a52165c 100644 --- a/Surge/JS/vivavideo.js +++ b/Surge/JS/vivavideo.js @@ -1,15 +1,25 @@ /* -Vivavideo unlock vip -Script data comes from @hiepkimcdtk55 -Descriptions +小影 解锁高级功能 -Surge4: -http-response ^https:\/\/viva\.v21xy\.com\/api\/rest\/u\/vip requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/vivavideo.js -QX: -^https:\/\/viva\.v21xy\.com\/api\/rest\/u\/vip url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/vivavideo.js +*************************** +QuantumultX: -Surge & QX MITM = viva.v21xy.com -*/ +[rewrite_local] +^https:\/\/xy-viva\.kakalili\.com\/api\/rest\/u\/vipVerifyReceipt url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/vivavideo.js + +[mitm] +hostname = xy-viva.kakalili.com + +*************************** +Surge4 or Loon: + +[Script] +http-response ^https:\/\/xy-viva\.kakalili\.com\/api\/rest\/u\/vipVerifyReceipt requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/vivavideo.js + +[MITM] +hostname = xy-viva.kakalili.com + +**************************/ var obj = JSON.parse($response.body); obj = {