Skip to content

FaithAluten/Scriptable

 
 

Repository files navigation

Scriptable

电报群https://t.me/Scriptable_JS

中国联通

中国联通 图片

推荐使用Boxjs代理缓存:

cookie获取方法:

QuanX:

[mitm]
hostname = act.10010.com, m.client.10010.com

[rewrite_local]
# 获取联通cookie
^https:\/\/m\.client\.10010\.com\/serviceimportantbusiness\/smart\/smartwisdomCommonNew  url script-request-header https://raw.githubusercontent.com/dompling/Script/master/10010/index.js

Surge:

  • 手动添加:
[MITM]
hostname = act.10010.com, m.client.10010.com

[Script]
Rewrite: 获取联通cookie = type=http-request,pattern=^https:\/\/m\.client\.10010\.com\/serviceimportantbusiness\/smart\/smartwisdomCommonNew,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获取方法:

QuanX:

[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

Surge:

[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的教程):

QuanX:

[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

Surge:

[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

JD_in_one

JD_in_one 图片 JD_in_one 图片

赞赏码

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%