京東雙十一紅包插件2019是一款京東全民養紅包搶1億現金紅包油猴插件,雙十一自動做任務:逛商品,逛店鋪,好玩互動,視頻直播,精彩會場,一勞永逸。花最小的代價獲得最高的實惠,希望大家雙十一都能滿載而歸!
使用說明
使用插件前請提前登錄京東:
http://www.jd.com
登錄完了之后打開養紅包活動地址:
https://happy.m.jd.com/babelDiy/GZWVJFLMXBQVEBDQZWMY/XJf8bH6oXDWSgS91daDJzXh9bU7/index.html
腳本自動執行,做完任務后關閉頁面就可以了。
做完任務,可以打開手機京東首頁,或者其他地方,進入養紅包查看任務結果。
一些朋友可能是剛接觸油猴,可能不知道如何運行,首先要安裝好瀏覽器的油猴插件,具體可以搜索:tampermonk,然后再在油猴里面裝本插件就可以了。
特別說明
關于手機版運行的問題,目前安卓手機經過一些群友的實踐證明是可以在手機用的。
關于群友反應的要跳轉app的問題,實際上打開這個鏈接就可以了,不用跳轉app的,不排除官方出限制,如果提示跳轉app,請用電腦瀏覽器按照上面的方式來運行本插件。
祝大家有個愉快的雙十一,插件在底部。
插件代碼
let productList = [], shopList = [], url = "https://api.m.jd.com/client.action";
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)
}
}




