diff --git a/JD_extra_cookie.js b/JD_extra_cookie.js index e0a69f1b..768de33a 100644 --- a/JD_extra_cookie.js +++ b/JD_extra_cookie.js @@ -7,7 +7,7 @@ Github: https://github.com/dompling =================== 特别说明: -1.获取多个京东cookie的脚本,不和NobyDa的京东cookie冲突。 +1.获取多个京东cookie的脚本,不和NobyDa的京东cookie冲突。注:如与NobyDa的京东cookie重复,建议在此处删除重复的cookie =================== =================== 使用方式:在代理软件配置好下方配置后,复制 https://home.m.jd.com/myJd/newhome.action 到浏览器打开 ,在个人中心自动获取 cookie, @@ -18,22 +18,15 @@ Github: https://github.com/dompling [MITM] hostname = wq.jd.com -【Surge脚本配置】: -=================== +===================Surge=================== [Script] 获取京东Cookie = type=http-request,pattern=^https:\/\/wq\.jd\.com\/user_new\/info\/GetJDUserInfoUnion,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/JD_extra_cookie.js,script-update-interval=0 -=================== -【Loon脚本配置】: -=================== +===================Loon=================== [Script] http-request https:\/\/wq\.jd\.com\/user_new\/info\/GetJDUserInfoUnion tag=获取京东Cookie, script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/JD_extra_cookie.js - -=================== -【 QX 脚本配置 】 : -=================== - +===================Quantumult X===================== [rewrite_local] https:\/\/wq\.jd\.com\/user_new\/info\/GetJDUserInfoUnion url script-request-header https://raw.githubusercontent.com/LXK9301/jd_scripts/master/JD_extra_cookie.js diff --git a/jd_joy_run.js b/jd_joy_run.js index 24e4fba0..39497677 100644 --- a/jd_joy_run.js +++ b/jd_joy_run.js @@ -12,13 +12,13 @@ token获取途径: [MITM] hostname = draw.jdfcloud.com -Surge +===========Surge================= [Script] 宠汪汪邀请助力与赛跑助力 = type=cron,cronexp="15 10 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_run.js 宠汪汪助力更新Token = type=http-response,pattern=^https:\/\/draw\.jdfcloud\.com(\/mirror)?\/\/api\/user\/addUser\?code=, requires-body=1, max-size=0, script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_run.js 宠汪汪助力获取Token = type=http-request,pattern=^https:\/\/draw\.jdfcloud\.com(\/mirror)?\/\/api\/user\/user\/detail\?openId=, requires-body=1, max-size=0, script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_run.js -圈X +===================Quantumult X===================== [task_local] # 宠汪汪邀请助力与赛跑助力 15 10 * * * https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_run.js, tag=宠汪汪邀请助力与赛跑助力, img-url=https://raw.githubusercontent.com/58xinian/icon/master/jdcww.png, enabled=true @@ -28,7 +28,7 @@ Surge # 宠汪汪助力获取Token ^https:\/\/draw\.jdfcloud\.com(\/mirror)?\/\/api\/user\/user\/detail\?openId= url script-request-header https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_run.js -*****Loon**** +=====================Loon===================== [Script] cron "15 10 * * *" script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_run.js, tag=宠汪汪邀请助力与赛跑助力 http-response ^https:\/\/draw\.jdfcloud\.com(\/mirror)?\/\/api\/user\/addUser\?code= script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_joy_run.js, requires-body=true, timeout=10, tag=宠汪汪助力更新Token diff --git a/jd_petTreasureBox.js b/jd_petTreasureBox.js index 17ac2f16..461e2059 100644 --- a/jd_petTreasureBox.js +++ b/jd_petTreasureBox.js @@ -1,6 +1,6 @@ -/** - 更新时间:2020-11-12 - 从github@Zero-S1搬的[https://github.com/Zero-S1/JD_tools/blob/master/jbp.js] +/* +更新时间:2020-11-12 +从github@Zero-S1搬的[https://github.com/Zero-S1/JD_tools/blob/master/jbp.js] 【宠汪汪聚宝盆辅助脚本】 1、进入聚宝盆,显示本轮狗粮池投入总数,方便估算 2、可能有两位数误差,影响不大 @@ -8,19 +8,19 @@ [MITM] hostname = jdjoy.jd.com,draw.jdfcloud.com -surge +==========Surge============= [Script] 聚宝盆投狗粮辅助 = type=http-response,pattern=^https:\/\/jdjoy\.jd\.com\/pet\/getPetTreasureBox|^https:\/\/draw\.jdfcloud\.com\/\/pet\/getPetTreasureBox,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_petTreasureBox.js -Qx +===================Quantumult X===================== [rewrite_local] ^https:\/\/jdjoy\.jd\.com\/pet\/getPetTreasureBox|^https:\/\/draw\.jdfcloud\.com\/\/pet\/getPetTreasureBox url script-response-body https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_petTreasureBox.js -LOON: +=====================Loon===================== [Script] http-response ^https:\/\/jdjoy\.jd\.com\/pet\/getPetTreasureBox|^https:\/\/draw\.jdfcloud\.com\/\/pet\/getPetTreasureBox script-path=https://raw.githubusercontent.com/LXK9301/jd_scripts/master/jd_petTreasureBox.js, requires-body=true, timeout=10, tag=聚宝盆投狗粮辅助 -**/ +*/ let body = $response.body body = JSON.parse(body) food = body['data']['food'] diff --git a/lxk0301.boxjs.json b/lxk0301.boxjs.json index 6eddcfeb..49741e28 100644 --- a/lxk0301.boxjs.json +++ b/lxk0301.boxjs.json @@ -13,7 +13,7 @@ "请勿随意在输入框修改内容,建议通过脚本去获取cookie,若要修改,请按照JSON 格式修改。", "脚本地址【京东多 CK获取】,并按照此脚本注释进行配置", "使用方式【个人中心】获取对应的数据Code", - "注:如与NobyDa的京东cookie出现重复,建议在此处删除重复的cookie" + "注:如与NobyDa的京东cookie重复,建议在此处删除重复的cookie" ], "settings": [ {