Rules-For-Quantumult-X/Scripts/Unlock/WPS.local.js

26 lines
1.2 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
脚本功能解锁WPS本地会员
脚本作者R·E
支持版本:商店最新 11.24.0(US) 11.26.1(CN)
更新时间2022.07.10
问题反馈https://t.me/Functional_Store_Hub
使用声明:⚠️⚠️⚠️此脚本仅供学习与交流,禁止转载与贩卖!⚠️⚠️⚠️
*/
var a = '{\x22result\x22:\x22ok\x22,\x22privilege\x22:[],\x22total_cost\x22:0,\x22level\x22:88,\x22wealth\x22:0,\x22exp\x22:0,\x22vip\x22:{\x22has_ad\x22:0,\x22enabled\x22:[]},\x22total_buy\x22:0}';
var b = JSON['parse'](a);
const c = new Array('data_recover', 'ocr', 'pdf2doc', 'pdf_merge', 'pdf_sign', 'pdf_split');
const d = new Array(['超级会员', 0x28], ['WPS会员', 0x14], ['稻壳会员', 0xc]);
const e = 0x70db6800;
b['server_time'] = e;
b['userid'] = e;
b['vip']['name'] = d[0x0][0x0];
b['vip']['memberid'] = d[0x0][0x1];
b['vip']['expire_time'] = e;
for (i = 0x0; i < c['length']; i++) {
b['privilege'][i] = {'times': 0x0, 'expire_time': e, 'spid': c[i]};
}
for (o = 0x0; o < d['length']; o++) {
b['vip']['enabled'][o] = {'name': d[o][0x0], 'expire_time': e, 'memberid': d[o][0x1]};
}
console['log']('\x0aR·E\x20WPS\x20Script\x20Log:\x0aWPS已解锁到2030年\x0a😎可享受' + c['length'] + '+项会员服务');
$done({body: JSON['stringify'](b)});