转自:http://blog.csdn.net/lkxlaz/article/details/54909397
今天抢代金券,在网上看到的,虽然脚本很easy,但也mark一下吧。
//make the button click-able $("button.button.J-gotoAuth").removeAttr("disabled"); //disable the pop-up dialog window $("div.dialog.J-bizDialog").hide(); //repeatly trigger the button in the time interval of 400ms function btnhack() { $(document).ready(function(){ $("button.button.J-gotoAuth").trigger("click"); }); } // 可以尝试把400毫米间隔改为更短 setInterval("btnhack()","400");
1. 浏览器打开抢代金券的网页,当前的网页地址为https://www.qcloud.com/act/campus 。 登陆账号。(抢代金券之前记得提前把学生认证搞好)。
2. 在11:59的时候,页面任意处右键,选择审查元素,并进到控制台标签页里。
3. 把脚本复制粘贴,并回车运行。