打开苏宁电商网站首页,在chrome开发工具console下执行下面的代码即可。全自动的哦
中奖查询结果页面:http://member.suning.com/webapp/wcs/stores/servlet/MyGiftTicket?storeId=10052&catalogId=10051
var objGame = new me.game(ctConfig); var objSwf = new me.swf(ctConfig.pc[me.random(0,5)], objGame); var _obj_timer = null; function RunTimer() { var timeout = 1000; console.log('下次执行间隔时间:' + timeout / 1000 + '秒'); objSwf.getActivity(); _obj_timer = setTimeout(RunTimer, timeout); } RunTimer();