Created
November 6, 2018 10:26
-
-
Save harryhare/e1c6e0de58c338c6fa3cdf2f33a816f1 to your computer and use it in GitHub Desktop.
传说中的抢月饼代码
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
作者:leon lee | |
链接:https://zhuanlan.zhihu.com/p/22644277 | |
来源:知乎 | |
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 | |
*/ | |
setInterval(function() { | |
if(Date.now() >= new Date("2016-09-12 15:59:00")) { | |
$("#seckillQuantity").val(1);//1盒 | |
$(".buyButtons.J_buyButtons").click();//抢购按钮 | |
var value = $(".answerList").children().eq(0).html(); //验证码取值 $('#randomAnswer').val(value);//验证码填值 $('.answer-button').children().eq(0).click();//提交验证码 | |
} | |
}, 10) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment