【备战618】苏宁秒券&云钻抢兑脚本分享

领券地址格式:

  1. https://quan.suning.com/couponcenter_1__【优惠券id】_【优惠券key】.htm


参考活动:【母婴199-100】

  1. https://quan.suning.com/couponcenter_1__201905200010431117_xKbV6x3fHir6ra0mYcfoL2Ee.htm

优惠券秒券脚本:

  1. javascript:(function(){var timeNum = Number($(‘.coupon-time i’).html().substring(11,13));var getHour = timeNum === 0 ? 23 : timeNum -1;var startTime = +(getHour.toString() + `5959`);var timestamp,n,t1,t2,t3,postCnt=0;t1 = setInterval(function (){$.ajax({url: ‘//quan.suning.com/getSysTime.do’,type: ‘get’,dataType: ‘json’,async: false,success: function (res) {timestamp=res.sysTime1;n = Number(timestamp.substring(8));$(‘.shop-name’).html(`当前服务器时间:${res.sysTime2}`);}});},1000);function exchange(){if(n>=startTime){postCnt++;t3 = window.setInterval(receiveCoupon(independenceActId ,independenceActKey ,’3′,’10005′), 500);}if(postCnt>=6){clearInterval(t2);clearInterval(t3);}};t2 = setInterval(exchange,500);})();

脚本使用效果:

============云钻兑券==============
领券地址格式:

  1. https://yzdh.suning.com/yzdh-web/exchange/voucher【优惠券编号】.htm


使用地址参考:暂无参考活动
云钻抢兑脚本:javascript:(function() {var exportId;var voucherStr = getVoucherStateByAuth.toString();var exportFn = `var voucherFn =`+voucherStr.substring(0,voucherStr.length-1)+`exportId = voucherId;}`;eval(exportFn);voucherFn();var timeNum = +$(“.p04”).html().substring(11,13);var getHour = timeNum === 0 ? 23 : timeNum -1;var startTime = +(getHour.toString() + `5959`);var timestamp,n,t1,t2,t3,postCnt=0,flag = false;t1 = setInterval(function (){$.ajax({url: “//quan.suning.com/getSysTime.do”,type: “get”,dataType: “json”,async: false,success: function (res) {timestamp=res.sysTime1;n = Number(timestamp.substring(8));$(“.shop-name”).html(`voucherId:${exportId} 开抢时间:${startTime}`);$(“.time”).html(`当前服务器时间:${res.sysTime2}`);}});},1000);function coupon() {var url=`https://yzdh.suning.com/yzdh-web/voucher/sendVoucher.do?callback=callbackSendVoucherFun&voucherId=${exportId}&voucherType=1&couponGetSource=VIP&detect=${encodeURIComponent(bd.rst())}`,result =`<iframe width=”150″ height=”150″ style=”border:1px solid #666666;” src=”${url}”></iframe>`;$(“body”).prepend(result);postCnt++;}function exchange(){if(n>=startTime&&!flag){flag = true;clearInterval(t1);t3 = window.setInterval(coupon, 500);}if(postCnt>=6&&flag){clearInterval(t2);clearInterval(t3);}}t2 = setInterval(exchange,500);})()脚本使用效果:

原创文章,作者:智享谷,如若转载,请注明出处:http://www.weilaigu.cn/318.html

发表评论

电子邮件地址不会被公开。 必填项已用*标注

联系我们

400-800-8888

在线咨询:点击这里给我发消息

邮件:admin@weilaigu.cn

工作时间:周一至周五,9:30-18:30,节假日休息

QR code