电报群:https://t.me/Scriptable_JS
推荐使用Boxjs代理缓存:
cookie获取方法:
[mitm]
hostname = act.10010.com, m.client.10010.com
[rewrite_local]
# 获取联通cookie
^https:\/\/m\.client\.10010\.com\/mobileserviceimportant\/smart\/smartwisdomCommon url script-request-header https://raw.githubusercontent.com/dompling/Script/master/10010/index.js
[MITM]
hostname = act.10010.com, m.client.10010.com
[Script]
Rewrite: 获取联通cookie = type=http-request,pattern=^https:\/\/m\.client\.10010\.com\/mobileserviceimportant\/smart\/smartwisdomCommon,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/dompling/Script/master/10010/index.js,script-update-interval=0
Boxjs添加YaYa美女订阅链接(感谢YaYa辛苦付出~): https://raw.githubusercontent.com/dompling/Script/master/dompling.boxjs.json
打开中国联通app --> 首页的流量查询获取Cookie;
运行脚本,点击基础设置-->BoxJS域名,设置为你自己的BoxJS域名,再次运行脚本,选择代理缓存,获取缓存cookie;
推荐使用Boxjs代理缓存:
cookie获取方法:
[mitm]
hostname = clientaccess.10086.cn
[rewrite_local]
^https:\/\/clientaccess.10086.cn\/biz-orange\/LN\/uamrandcodelogin\/autoLogin url script-request-body https://raw.githubusercontent.com/chavyleung/scripts/master/10086/10086.fee.cookie.js
^https:\/\/clientaccess.10086.cn\/biz-orange\/BN\/realFeeQuery\/getRealFee url script-request-body https://raw.githubusercontent.com/chavyleung/scripts/master/10086/10086.fee.cookie.js
[mitm]
hostname = clientaccess.10086.cn
[Script]
Rewrite: CMCC = type=http-request,pattern=^https:\/\/clientaccess.10086.cn\/biz-orange\/LN\/uamrandcodelogin\/autoLogin,script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/10086/10086.fee.cookie.js,requires-body=true,debug=true
Rewrite: CMCC = type=http-request,pattern=^https:\/\/clientaccess.10086.cn\/biz-orange\/BN\/realFeeQuery\/getRealFee,script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/10086/10086.fee.cookie.js,requires-body=true,debug=true
Boxjs添加chavy大佬订阅链接: https://raw.githubusercontent.com/chavyleung/scripts/master/box/chavy.boxjs.json
打开中国移动APP(非10086),获取一次cookie,点击话费余额再获取一次cookie,若打开app时没有提示获取会话,请在 “我的” --> “设置” --> “登陆设置” 中关闭指纹/faceID登陆,打开自动登录,登陆以后关闭后台,重新打开app获取cookie(注:中国移动app以短信验证码方式登录,本机一键登录可能获取不到cookie);
运行脚本,点击基础设置-->BoxJS域名,设置为你自己的BoxJS域名,再次运行脚本,选择代理缓存,获取缓存cookie
推荐使用Boxjs代理缓存:
cookie获取方法(也可以参考作者Sunert的教程):
[mitm]
hostname = e.189.cn, mkt.21cn.com
[rewrite_local]
^https?:\/\/e\.189\.cn\/store\/user\/package_detail\.do url script-request-header https://raw.githubusercontent.com/Sunert/Script/master/Task/telecomSky.js
https:\/\/mkt\.21cn\.com\/mkt\/api\/user\/queryActivityInfo\.do\?activityId=\d+ url script-request-header https://raw.githubusercontent.com/Sunert/Script/master/Task/telecomSky.js
[mitm]
hostname = e.189.cn, mkt.21cn.com
[Script]
电信天翼套餐 = type=http-request,pattern=https:\/\/mkt\.21cn\.com\/mkt\/api\/user\/queryActivityInfo\.do\?activityId=\d+,script-path=https://raw.githubusercontent.com/Sunert/Script/master/Task/telecomSky.js
电信天翼套餐 = type=http-request,pattern=^https?:\/\/e\.189\.cn\/store\/user\/package_detail\.do,script-path=https://raw.githubusercontent.com/Sunert/Script/master/Task/telecomSky.js
Boxjs添加Sunert大佬订阅链接: https://raw.githubusercontent.com/Sunert/Script/master/Task/sunert.boxjs.json
打开天翼账号中心,获取cookie;
运行脚本,点击基础设置-->BoxJS域名,设置为你自己的BoxJS域名,再次运行脚本,选择代理缓存,获取缓存cookie;
无代理缓存的,请使用Stream类抓包APP进行手动抓包,获取cookie后填入脚本内注释位置或运行脚本——>账户设置——>手动输入;
脚本内提供网站登录获取cookie,无代理缓存的可尝试网站登录获取cookie