forked from WeiGiegie/666
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxmck.js
49 lines (34 loc) · 5.89 KB
/
xmck.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
*
*
脚本功能:喜马拉雅,会员.大师课,音效&音质,去广告,界面优化+++
软件版本:9.2.42
下载地址:
脚本作者:**
更新时间:2024-7.21
电报频道:https://t.me/GieGie777
问题反馈:
注意事项:
使用声明:⚠️此脚本仅供学习与交流,请在下载使用24小时内删除!请勿在中国大陆转载与贩卖!⚠️⚠️⚠️
*******************************
[rewrite_local]
# > 喜马拉雅,会员.大师课,音效&音质,去广告,界面优化+++
^https?:\/\/.+((ximalaya)|(xmcdn)).+(mobile-user\/v2|mobile-web|queryCategoryPageData|discovery-feed\/v4|vip\/v1\/recommand|product\/detail\/v1|mobile\/v1\/album|playpage|album\/price\/ts|mobile\/user\/member).*$ url script-response-body https://raw.githubusercontent.com/WeiGiegie/666/main/xmly.js
^https?:\/\/.+((ximalaya)|(xmcdn)).+\/[a-z]{6}\-[a-z]{8}\/track\/(v[0-9])\/[a-zA-Z]+\/ts.*$ url script-request-header https://raw.githubusercontent.com/WeiGiegie/666/main/xmck.js
# > 去广告,
^https?:\/\/openapi\.mysteel\.com\/v5\/getAdv\.htm url reject
^https?:\/\/ulogs\.umeng\.com\/unify_logs url reject
^https?:\/\/adse\.ximalaya\.com\/ url reject
^https?:\/\/gslbali\.ximalaya\.com url reject
^https?:\/\/www\.taobao\.com\/help\/getip\.php url reject
^https?:\/\/.+location\.ximalaya\.com url reject
^https?:\/\/.+dbehavior\.ximalaya\.com url reject
^https?:\/\/ad\.ximalaya\.com url reject
^https?:\/\/.+audid-api\.taobao.com url reject
^https?:\/\/passport\.ximalaya\.com\/user-http-app\/v1\/token\/refresh url reject
[mitm]
hostname = 43.159.71.*,ulogs.umeng.com,www.taobao.com,43.132.81.*,101.33.27.*,114*0.*,61.172.1*.*,43.141.11.*,114.80.99.86,180.153.255.*,114.80.99.*,*.mysteel.*,61.172.194.196,180.153.*.*,*xima*,*xmcdn*,*.ximalaya.com,*.xmcdn.com,180.153.255.*,180.153.140.*,180.153.250.*,114.80.99.*,114.80.139.237,114.80.161.29,1.62.62.64,51*.com,1.194.255.171, 23.236.99.89, 36.99.200.135, 42.81.4.198, 42.81.26.128, 42.81.120.58, 43.132.80.77, 43.132.83.175, 43.132.84.11, 43.152.24.12, 43.152.24.18, 43.152.25.127, 43.152.29.38, 43.175.16.34, 43.175.22.25, 43.175.44.15, 49.7.69.197, 49.51.224.95, 101.33.11.32, 101.33.11.106, 101.33.20.34, 101.33.29.110, 103.105.60.99, 114.80.99.90, 114.80.99.70, 114.80.99.71, 114.80.99.89, 114.80.99.91, 114.80.99.88, 114.80.99.87, 140.249.84.135, 140.249.85.189, 150.109.90.80, 150.109.91.35, 150.138.47.94, 150.138.136.145, 203.205.136.87, 203.205.136.100, 203.205.136.102, 203.205.136.159, 203.205.137.27, 203.205.137.87, 203.205.137.241, 203.205.250.111, 203.205.250.113, 211.152.137.25,ulogs.umeng.com,passport.ximalaya.com
*
*
*/
const ObjectKeys2LowerCase=_0x5f5243=>Object["\u0066\u0072\u006f\u006d\u0045\u006e\u0074\u0072\u0069\u0065\u0073"](Object["\u0065\u006e\u0074\u0072\u0069\u0065\u0073"](_0x5f5243)["\u006d\u0061\u0070"](([_0x1985ce,_0x5c85a0])=>[_0x1985ce["\u0074\u006f\u004c\u006f\u0077\u0065\u0072\u0043\u0061\u0073\u0065"](),_0x5c85a0]));const Hour=new Date()["\u0067\u0065\u0074\u0048\u006f\u0075\u0072\u0073"]();const headers=ObjectKeys2LowerCase($request["\u0068\u0065\u0061\u0064\u0065\u0072\u0073"]);let t={};if(Hour>(0x7419f^0x7419f)&&Hour<(0xc3006^0xc300e)){t={"\u0075\u0073\u0065\u0072\u002d\u0061\u0067\u0065\u006e\u0074":'ting_v9.2.13_c5(CFNetwork,\x20iOS\x2014.6.1,\x20iPhone10,3)',"\u0063\u006f\u006f\u006b\u0069\u0065":'channel=ios-b1;\x201&_device=iPhone&075201B3-4A5F-487E-AAFF-0AC3E6597039&9.2.31;\x20net-mode=WIFI;1&_token=514973565&EA2A950E-4525-4364-A03D-788E96C6980B;\x20device_model=Telegram:https://t.me/GieGie777'};}else if(Hour>(0xbf1cd^0xbf1c5)&&Hour<(0x25e30^0x25e3c)){t={"\u0075\u0073\u0065\u0072\u002d\u0061\u0067\u0065\u006e\u0074":'ting_v9.2.13_c5(CFNetwork,\x20iOS\x2012.19,\x20iPhone10,3)',"\u0063\u006f\u006f\u006b\u0069\u0065":'channel=ios-b1;\x201&_device=iPhone&075201B3-4A5F-487E-AAFF-0AC3E6621041&9.2.31;\x20net-mode=WIFI;1&_token=514973596&355F6899-CE02-4070-A8F7-EFD830D34A7B;\x20device_model=Telegram:https://t.me/GieGie777'};}else if(Hour>(0x2c913^0x2c91f)&&Hour<(0x9ddb2^0x9ddbd)){t={"\u0075\u0073\u0065\u0072\u002d\u0061\u0067\u0065\u006e\u0074":'ting_v9.2.13_c5(CFNetwork,\x20iOS\x2012.19,\x20iPhone10,3)',"\u0063\u006f\u006f\u006b\u0069\u0065":'channel=ios-b1;\x201&_device=iPhone&075201B3-4A5F-487E-AAFF-0AC3E6457247&9.2.31;\x20net-mode=WIFI;1&_token=514973617&7376CE30-6DD5-4818-A38D-982150346D7C;\x20device_model=Telegram:https://t.me/GieGie777'};}else if(Hour>(0xc78cd^0xc78c2)&&Hour<(0x94623^0x94631)){t={'user-agent':'ting_v9.2.13_c5(CFNetwork,\x20iOS\x2012.19,\x20iPhone10,3)',"\u0063\u006f\u006f\u006b\u0069\u0065":'channel=ios-b1;\x201&_device=iPhone&075201B3-4A5F-487E-AAFF-0AC3E6817656&9.2.31;\x20net-mode=WIFI;1&_token=514973639&B8C0FE9A-D08B-4CD9-BDFA-EEDA868ABC56;\x20device_model=Telegram:https://t.me/GieGie777'};}else if(Hour>(0x2fa97^0x2fa85)&&Hour<(0xa0e8a^0xa0e9e)){t={"\u0075\u0073\u0065\u0072\u002d\u0061\u0067\u0065\u006e\u0074":'ting_v9.2.13_c5(CFNetwork,\x20iOS\x2012.19,\x20iPhone10,3)','cookie':'channel=ios-b1;\x201&_device=iPhone&075201B3-4A5F-487E-AAFF-0AC3E6963930&9.2.31;\x20net-mode=WIFI;1&_token=514973682&6566D9F3-DB61-4B95-9831-F8A1C009E565;\x20device_model=Telegram:https://t.me/GieGie777'};}else if(Hour>(0xb61e2^0xb61f6)&&Hour<(0xbb908^0xbb91e)){t={"\u0075\u0073\u0065\u0072\u002d\u0061\u0067\u0065\u006e\u0074":'ting_v9.2.13_c5(CFNetwork,\x20iOS\x2012.19,\x20iPhone10,3)','cookie':'channel=ios-b1;\x201&_device=iPhone&075201B3-4A5F-487E-AAFF-0AC3E6994899&9.2.31;\x20net-mode=WIFI;1&_token=514973732&488B4A25-A759-4F95-89B2-95CF55D7B820;\x20device_model=Telegram:https://t.me/GieGie777'};}else{t={"\u0075\u0073\u0065\u0072\u002d\u0061\u0067\u0065\u006e\u0074":'ting_v9.2.13_c5(CFNetwork,\x20iOS\x2019.24,\x20iPhone10,3)','cookie':'channel=ios-b1;\x201&_device=iPhone&075201B3-4A5F-487E-AAFF-0AC3E6596714&9.2.31;\x20net-mode=WIFI;1&_token=514973769&915D0C43-7F56-441B-8983-A01AAA3D1F8C;\x20device_model=Telegram:https://t.me/GieGie777'};}Object['assign'](headers,{...t});$done({"\u0068\u0065\u0061\u0064\u0065\u0072\u0073":headers});