
//
//
//
//
//
//
//
//
//
//
软件Tags:
京东双十一红包插件2019乃是一款旨在让全民共享红包的绝妙工具,助您在双十一期间轻松抢夺亿万红包。此插件可自动完成各类任务:浏览商品、逛店铺、趣味互动、观看视频直播以及精彩会场活动,让您事半功倍,以最小的投入获取最大的回报,愿大家在双十一到来之际,满载而归,收获丰厚!
使用此插件之前,请务必提前登录京东:
http://www.jd.com
登录完成后,请访问养红包活动的专属链接:
https://happy.m.jd.com/babelDiy/GZWVJFLMXBQVEBDQZWMY/XJf8bH6oXDWSgS91daDJzXh9bU7/index.html
脚本将自动运行,完成任务后只需关闭页面即可。
完成任务后,您可以打开手机京东首页或其他页面,前往养红包查看任务成果。
若您是首次接触油猴的朋友,可能会对如何运行感到困惑,首先需要安装油猴插件,具体可搜索:tampermonkey,然后在油猴中添加本插件即可。
关于手机版本的运行问题,目前经过一些友人的实践,证实安卓手机是可以顺利使用的。
针对友人们所提及的跳转至App的问题,实际上访问该链接即可,无需跳转至App。若遇到官方限制提示,请使用电脑浏览器根据上述方式运行本插件。
祝愿大家度过一个愉快的双十一,插件信息请见底部。
let productList = [], shopList = [], url = "https://api.m.jd.com/client.ion";
function autoPost(id, type) {
fetch(`${url}?timestamp=${new Date().getTime()}`, { method: "POST", mode: "cors", credentials: "include", headers: { "Content-Type": "application/x-www-form-urlencoded" }, body: `functionId=raisepacket_collectScore&body={"type":${type},"ext":"${id}","appsign":1,"msgsign":2}&client=wh5` })
.then(function(response) { return response.json() })
.then(function(res) {
Toast(res.data.biz_msg);
});
}
function start() {
fetch(`${url}?${new Date().getTime()}`, { method: "POST", mode: "cors", credentials: "include", headers: { "Content-Type": "application/x-www-form-urlencoded" }, body: 'functionId=raisepacket_getShopAndProductList&body=&client=wh5' })
.then(function(response) { return response.json() })
.then(function(res) {
productList = res.data.result.productList;
shopList = res.data.result.shopList;
Toast(`获取到任务, 商品:${productList.length} 商铺:${shopList.length}`);
autoProductTask();
});
}
//逛商品
function autoProductTask() {
for (let i = 0, leng = productList.length; i < leng; i++) {
(function(index) {
setTimeout(() => {
let item = productList[index];
autoPost(item['id'], 4);
Toast(`商品总任务数:${leng} 当前任务数:${index + 1}`);
if (leng - 1 == index) {
autoShopTask();
}
}, index * 1500)
})(i)
}
}
//逛店铺
function autoShopTask() {
for (let i = 0, leng = shopList.length; i < leng; i++) {
(function(index) {
setTimeout(() => {
let item = shopList[index];
autoPost(item['id'], 2);
Toast(`商铺总任务数:${leng} 当前任务数:${index + 1}`);
if (leng - 1 == index) {
autoPlay();
}
}, index * 1500)
})(i)
}
}
//好玩互动
function autoPlay() {
for (let i = 0, leng = 4; i < leng; i++) {
(function(index) {
setTimeout(() => {
autoPost(0, 5);
Toast(`好玩互动:${leng} 当前任务数:${index + 1}`);
if (leng - 1 == index) {
autoInteract();
}
}, index * 1000)
})(i)
}
}
//视频直播
function autoInteract() {
for (let i = 0, leng = 4; i < leng; i++) {
(function(index) {
setTimeout(() => {
autoPost(0, 10);
Toast(`视频直播:${leng} 当前任务数:${index + 1}`);
if (leng - 1 == index) {
autoShopping();
}
}, index * 1000)
})(i)
}
}
//精彩
function autoShopping() {
for (let i = 0, leng = 3; i < leng; i++) {
(function(index) {
setTimeout(() => {
autoPost(0, 3);
Toast(`精彩会场:${leng} 当前任务数:${index + 1}`);
}, index * 1000)
})(i)
}
}
