chavyleung / scripts

BoxJs
https://docs.boxjs.app
GNU General Public License v3.0
5.14k stars 1.14k forks source link

loon无法获取移动查话费的cookie #165

Closed ghost closed 4 years ago

ghost commented 4 years ago

在loon上关闭移动查话费获取cookie的脚本,移动app能够正常自动登录用户且各种功能正常,打开cookie脚本不仅用户需要重新登录,而且即使登陆了用户也无法打开话费余额窗口,会显示加载失败。不过这个cookie脚本在quantumultX上能够正常使用。

IMG_7883 IMG_7884

Loon0x00 commented 4 years ago

10086.fee.cookie.js 1、脚本运行方式为http-request 2、.finally(() => $.done() 应该为.finally(() => $.done({}),$.done()传参为null,表示为打断请求,传{}表示继续请求

chavyleung commented 4 years ago

更新下 10086.fee.cookie.js 试试 https://github.com/chavyleung/scripts/commit/bc8909e441ab4890c848d400f1db1a82464d5cd5

ghost commented 4 years ago

更新下 10086.fee.cookie.js 试试 bc8909e

移动界面载入正常了,但是cookie获取成功后,查话费脚本仍然无法使用

IMG_7887

chavyleung commented 4 years ago

跑错脚本了吧,你应该执行10086.fee.js, 不是10086.fee.cookie.js

ghost commented 4 years ago

跑错脚本了吧,你应该执行10086.fee.js, 不是10086.fee.cookie.js

是跑错了,用的是nzw的订阅脚本,估计他弄错了,多谢大佬

ghost commented 4 years ago

跑错脚本了吧,你应该执行10086.fee.js, 不是10086.fee.cookie.js

https://github.com/chavyleung/scripts/blob/master/10086/10086.fee.cookie.js 里的注释错了,loon那段写的是10086.fee.cookie.js

chavyleung commented 4 years ago

我的锅,已处理