Giter Site home page Giter Site logo

scriptable's Introduction

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

登录功能脚本修改自 [@95du丶茅台]特别在此感谢

QuanX:

[mitm]
hostname = e.dlife.cn

[rewrite_local]
^https:\/\/e\.dlife\.cn\/user\/loginMiddle  url script-request-header https://raw.githubusercontent.com/dompling/Script/master/10000/index.js

Surge:

[MITM]
hostname = e.dlife.cn

[Script]
电信登录地址 = type=http-request,pattern=^https:\/\/e\.dlife\.cn\/user\/loginMiddle,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/dompling/Script/master/10000/index.js,script-update-interval=0

Loon:

[mitm]
hostname = e.dlife.cn

[Script]
http-request ^https:\/\/e\.dlife\.cn\/user\/loginMiddle tag=电信登录地址, script-path=https://raw.githubusercontent.com/dompling/Script/master/10000/index.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 图片

赞赏码

scriptable's People

Contributors

anker1209 avatar poetryu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scriptable's Issues

多账号 以及主适应背景色显示

研究了一会发现只能添加两个账号的 一种用网页登陆 另外一个手动填写,其他账号手动填写cookie获取的数据是前两个数据,

另外就是根据系统变换小组件上的文字颜色,暗黑模式下 小组件上的黑色文字就看不到了 希望适配一下自适应文字颜色

Sent from PPHub

移动

移动小组件什么时候可以用呀?

JD-in-one能否多账号?

1、能否像2YA一样,在parameter中设置多账号,其他设置直接在代码中填写设置(true or false)?
2、能否添加红包信息,并且增加今日过期红包?
3、能否添加今日过期京豆信息?
4、是否可以把头像、plus标识等信息去除,只保留用户名,增加上述信息,毕竟空间有限。

电信COOKIE问题

用圏X 脚本 “https://raw.githubusercontent.com/dompling/Script/master/10000/index.js”,获取了下面信息:
{"@yy_10000.china_telecom_loginUrl":"https://e.dlife.cn/user/loginMiddle.do?returnUrlMid=aHR0cHM6Ly9lLmRsaWZlLmNuL3VzZXIvaW5kZXguZG8mNTkwQ0M5NkUyMTIxRTI5MEY5MDNEQ0QzMjc1MkUwM0RBNTU5MDczNg==&appId=E_189&paras=869F93912CE59DFC0F95CACFF418D60F715A1BBD47822152811E967086C32FF7BC59B265256F546B5A0ED1E8E80D43564D56501889797CC3C34C766DA7416CC655A50C289E12E20928B8A1B4C20BF575C5E088CD20E622C01CF9FBF92E5A32889CFDDC6F50095DAB461819F8E0B64E4C264C85363D2E0060C90328A18C6980DABE7730813C704CCB20F5AF14933BB6E1042A68346A89783CB5B4556296A1D4D5AF64F5AFBF78C71E12768E6E30CDC6A3FAD4BA54DFB61E79261904304CF550339757F68BEDBB38A9B5E4111165A28111A0F489F188CB97D71B556A32DFE7DDA0D4872D9DFB304BCC52EF4ACAE3A4429FC78F2C63121E6A846B9AA8C355F9AB4B204AD09F45B0C875BFF4A3E5740535F17A35FC92979AB861CB55B7661D224F27F95C673EC828CB5E447FC364FD8F3402DD23AB77A30BDBC2DBA5389506A803052CFE68C2FCE5AC154936ECE5DCD3FC7ABA0EF3384DBA422F3F90DA775B5384E5FBAC4B030BF106D8F0DD57E3213F582B8B7BF00F3D56B9C5B06426C8E0038DCF2D63C589186C80B4571275021C689A4894EEA4F729251D6CD45C1B253BB34F677ACA782F201F058378B7EAF3E362F5E9AFE0FA61D75DF2AC2E94367E6F80221BBEBA66F70439BA202DE5C70D48B89E7EBA45D80237F498415FB9E07B2922FC6E8BE2A7169BBE4B49E18EA63E0CE75800E3F9FE734920EF17645E029F7B582C3384763A9ED5BEC86BB2466282073A16C1E96EE9790CDE4F85E65C1410E16C2FC994AB3E341DB8284C4834FC87ECD74DFBEE7D36CAA538"}

Scritable里面Cookie应该填哪段内容?

联通获取cookie的重写链接不再有效,需要更新

用原本的重写链接https:\/\/m\.client\.10010\.com\/mobileserviceimportant\/smart\/smartwisdomCommon无法在yaya的jsbox脚本内获取cookie, 我自己抓包后发现联通应该是换了新的链接 https:\/\/m\.client\.10010\.com\/serviceimportantbusiness\/smart\/smartwisdomCommonNew,自己改了一下可以用了
02FED83A-D4E9-4024-BF48-DF394CF02B30
E7DB5118-95D3-4FE0-9DB3-3B79CAB8A660

无法获取cookie

前面几步都没问题,也打开了通知,就是无法获取cookie。

手动填写CK,运行错误。

ae2e0c34c5433e6428438dd96fc2814

// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: gray; icon-glyph: magic;
// Author: 脑瓜
// 电报群: https://t.me/Scriptable_JS @anker1209
// 京豆收支采用2Ya美女的脚本 https://github.com/dompling/Scriptable/tree/master/Scripts
let widgetParam = args.widgetParameter
const files = FileManager.local()
// ######################设置####################
const cookie = 'pt_key=AAJgBmfLADDLATP3dxSKgHNYxt_8lkgHmqF1XuTBT-y3EktKHzpl-S5FEWA;pt_pin=jd_VzK**vcIvjh' // 两个引号之间输入京东cookie,只需填入pt_key和pt_pin字段即可
const userID = decodeURIComponent(cookie.match(/pt_pin=(.+?);/) && cookie.match(/pt_pin=(.+?);/)[1])
const size = {
logo: 30, // Logo大小
userImage: 70, // 用户头像大小
userStack: 103, // 左侧用户信息栏整体宽度
division: 25, // 左侧与右侧间距
chartHeight: 120 //京豆K线图高度

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.