We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e52484e commit 026cb60Copy full SHA for 026cb60
yanxuan/README.md
@@ -4,6 +4,8 @@
4
5
> 2020.1.11 QuanX 在`190`版本开始, 获取 Cookie 方式需要从`script-response-body`改为`script-request-header`
6
7
+> 2020.1.22 签到脚本会导致账号异常, 请停止使用
8
+
9
## 配置 (Surge)
10
11
```properties
yanxuan/yanxuan.js
@@ -8,6 +8,13 @@ let tokenVal = chavy.getdata(tokenKey)
sign()
function sign() {
+ const title = `${cookieName}`
12
+ const subTitle = `签到脚本可能会导致账号异常, 请暂停使用`
13
+ const detail = ``
14
+ chavy.msg(title, subTitle, detail)
15
+}
16
17
+function _sign() {
18
const token = JSON.parse(tokenVal)
19
let url = { url: `https://m.you.163.com/xhr/points/sign.json?csrf_token=${token.csrf_token}`, headers: { Cookie: cookieVal } }
20
url.headers['Accept'] = `application/json, text/javascript, */*; q=0.01`
0 commit comments