Skip to content

Commit 026cb60

Browse files
committed
暂停[网易严选]: 签到脚本可能会导致账号异常, 请暂停使用
1 parent e52484e commit 026cb60

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

yanxuan/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
55
> 2020.1.11 QuanX 在`190`版本开始, 获取 Cookie 方式需要从`script-response-body`改为`script-request-header`
66
7+
> 2020.1.22 签到脚本会导致账号异常, 请停止使用
8+
79
## 配置 (Surge)
810

911
```properties

yanxuan/yanxuan.js

+7
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ let tokenVal = chavy.getdata(tokenKey)
88
sign()
99

1010
function sign() {
11+
const title = `${cookieName}`
12+
const subTitle = `签到脚本可能会导致账号异常, 请暂停使用`
13+
const detail = ``
14+
chavy.msg(title, subTitle, detail)
15+
}
16+
17+
function _sign() {
1118
const token = JSON.parse(tokenVal)
1219
let url = { url: `https://m.you.163.com/xhr/points/sign.json?csrf_token=${token.csrf_token}`, headers: { Cookie: cookieVal } }
1320
url.headers['Accept'] = `application/json, text/javascript, */*; q=0.01`

0 commit comments

Comments
 (0)