From 89c5002f33dfa7e8959a7b6fe60a016f2696cd16 Mon Sep 17 00:00:00 2001 From: lxk0301 <778732665@qq.com> Date: Mon, 23 Nov 2020 10:03:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=87=AA=E5=AE=9A=E4=B9=89UA?= =?UTF-8?q?=E3=80=82=E6=9B=B4=E6=96=B0=E7=8E=AF=E5=A2=83=E5=8F=98=E9=87=8F?= =?UTF-8?q?/secrets=E9=9B=86=E5=90=88=EF=BC=8C=E6=B7=BB=E5=8A=A0=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89UA=E3=80=82BoxJs=E6=96=B0=E5=A2=9EUA=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- githubAction.md | 1 + lxk0301.boxjs.json | 89 ++++++++++++---------------------------------- 2 files changed, 24 insertions(+), 66 deletions(-) diff --git a/githubAction.md b/githubAction.md index 2b8f97fe..ea59e4ac 100644 --- a/githubAction.md +++ b/githubAction.md @@ -77,6 +77,7 @@ | Name | 归属 | 属性 | 说明 | | :---------------------: | :----------: | --------- | ------------------------------------------------------------ | | `JD_COOKIE` | 京东 | 必须 | 京东cookie,多个账号的cookie使用`&`隔开或者换行。具体获取参考[浏览器获取京东cookie教程](https://github.com/lxk0301/jd_scripts/blob/master/backUp/GetJdCookie.md) 或者 [插件获取京东cookie教程](https://github.com/lxk0301/jd_scripts/blob/master/backUp/GetJdCookie2.md) | +| `JD_USER_AGENT` | 京东 | 非必须 | 自定义此库里京东系列脚本的UserAgent,不懂不知不会UserAgent的请不要随意填写内容。具体获取参考此[issue](https://github.com/lxk0301/jd_scripts/issues/127) | | `JD_BEAN_STOP` | 京东 | 非必须 | 自定义延迟签到,单位毫秒. 默认分批并发无延迟. 延迟作用于每个签到接口, 如填入延迟则切换顺序签到(耗时较长),如需填写建议输入数字`1` | | `JD_BEAN_SIGN_STOP_NOTIFY`| 京东 | 非必须 | `jd_bean_sign.js`脚本运行后不推送签到结果通知,默认推送,填`true`表示不发送通知 | | `JD_BEAN_SIGN_NOTIFY_SIMPLE`| 京东 | 非必须 | `jd_bean_sign.js`脚本运行后推送签到结果简洁版通知,默认推送全部签到结果,填`true`表示推送简洁通知,[效果图](./icon/bean_sign_simple.jpg) | diff --git a/lxk0301.boxjs.json b/lxk0301.boxjs.json index 545cb2dc..f1b244d8 100644 --- a/lxk0301.boxjs.json +++ b/lxk0301.boxjs.json @@ -33,6 +33,28 @@ "repo": "https://github.com/dompling/Script", "script": "https://raw.githubusercontent.com/dompling/Script/master/jd/JD_extra.js" }, + { + "id": "JD_UA", + "name": "自定义京东脚本的UserAgent", + "keys": [ + "JDUA" + ], + "settings": [ + { + "id": "JDUA", + "name": "自定义京东脚本的UserAgent", + "val": "", + "type": "text", + "desc": "不懂不知不会UserAgent的请不要随意填写内容" + } + ], + "author": "@lxk0301", + "repo": "https://github.com/lxk0301/jd_scripts", + "icons": [ + "https://raw.githubusercontent.com/Orz-3/mini/master/jd.png", + "https://raw.githubusercontent.com/Orz-3/task/master/jd.png" + ] + }, { "id": "jd_fruit", "name": "东东农场", @@ -631,16 +653,7 @@ { "id": "jd_SuperMarket", "name": "京小超", - "keys": [ - "jd_supermarket_name", - "jd_supermarket1", - "jd_supermarket2", - "jd_supermarket3", - "j2_supermarket_name", - "jd2_supermarket1", - "jd2_supermarket2", - "jd2_supermarket3" - ], + "keys": [], "settings": [ { "id": "jdSuperMarketNotify", @@ -669,62 +682,6 @@ "val": false, "type": "boolean", "desc": "运行脚本消耗金币进行抽奖,默认抽奖" - }, - { - "id": "jd_supermarket_name", - "name": "京东账号一昵称", - "val": "", - "type": "text", - "desc": "京东账号昵称,用于区分自己的京东账号(非必填,建议多个京东账号使用)" - }, - { - "id": "jd_supermarket1", - "name": "京东账号一互助码1", - "val": "", - "type": "text", - "desc": "京小超商圈互助码" - }, - { - "id": "jd_supermarket2", - "name": "京东账号一互助码2", - "val": "", - "type": "text", - "desc": "京小超商圈互助码" - }, - { - "id": "jd_supermarket3", - "name": "京东账号一互助码3", - "val": "", - "type": "text", - "desc": "京小超商圈互助码" - }, - { - "id": "jd2_supermarket_name", - "name": "京东账号二昵称", - "val": "", - "type": "text", - "desc": "京东账号昵称,用于区分自己的京东账号(非必填,建议多个京东账号使用)" - }, - { - "id": "jd2_supermarket1", - "name": "京东账号二互助码1", - "val": "", - "type": "text", - "desc": "京小超商圈互助码" - }, - { - "id": "jd2_supermarket2", - "name": "京东账号二互助码2", - "val": "", - "type": "text", - "desc": "京小超商圈互助码" - }, - { - "id": "jd2_supermarket3", - "name": "京东账号二互助码3", - "val": "", - "type": "text", - "desc": "京小超商圈互助码" } ], "author": "@lxk0301",