超市198-100自动兑换js代码V0.2

admin
35052
文章
16
评论
2017年11月1日17:00:02超市198-100自动兑换js代码V0.2已关闭评论 阅读量:362 次 1854字
本文最后更新于2017年11月1日,发布已超过 1 年,活动基本已经过期失效,请到首页查看最新信息,谢谢!

早上的油猴脚本jsonp报错已下架,建议直接使用js代码
目前兑换情况:

    alreadyCount:34666haverstPercent:43key:"JBE_qzq7mq"totalCount:80000

复制代码使用地址:

    http://sale.jd.com/act/06oZCPy5QY4R8FN.html

复制代码接口请求的!不用管这个页面有没有兑换入口!
根据接口返回的兑换数量变化进行请求兑换的,提前个十几秒运行就可以了

        var nowCount=0,lastCount=0,time=500,nowPer;    time = prompt("【设置请求时间间隔(单位ms),建议设置为500】");        function jQuery9432768(data){            if(data.data.resultMsg){                    console.log(data.data.resultMsg);            }        }    var qScript = document.createElement('script');    qScript.setAttribute("class","draw");    qScript.src = '//act-jshop.jd.com/newJdBeanExchange.html?activityKey=JBE_qzq7mq&callback=jQuery9432768&_=1509466472676';    document.body.appendChild(qScript);    function jQuery3322883(data) {        lastCount = nowCount;        nowCount = data.data[0].alreadyCount;        nowPer  = data.data[0].haverstPercent;        if(nowCount == lastCount||lastCount==0){            console.log("当前还剩"+(80000-nowCount)+"张,占总比"+(100-nowPer));        }else if(nowCount != lastCount){            var pScript = document.createElement('script');            pScript.setAttribute("class","draw");            pScript.src = '//act-jshop.jd.com/newJdBeanExchange.html?activityKey=JBE_qzq7mq&callback=jQuery9432768&_=1509466472676';            document.body.appendChild(pScript);        }    };    function getCount(){        if(document.getElementsByClassName('getCount').length>=1){            document.body.removeChild(document.getElementsByClassName('getCount')[0]);        }        var oScript = document.createElement('script');        oScript.setAttribute("class","getCount");        oScript.src = '//act-jshop.jd.com/newJdBeanQuery.html?activityKeys=JBE_qzq7mq&callback=jQuery3322883&_=1509460084521';        document.body.appendChild(oScript);    };        setInterval(function(){        getCount();    },time);

复制代码使用方法:360浏览器-F12-console-黏贴代码-回车
或者参考:http://www.zuanke8.com/thread-4245962-1-1.html
【下一波20:00】

超市198-100自动兑换js代码V0.2

超市198-100自动兑换js代码V0.2

本栏目的活动均来源于各大赚客论坛和网站活动线报,未经证实,其中内容请自测;

weinxin
保存图片扫一扫关注公众号【小小招】
关注公众号查看更多玩机技巧和经验分享!
美团红包 全网查优惠券