2015天猫双11(狂欢城)自动游戏抢红包外挂脚本,请注意:有些游戏并不适用此脚本
活动入口地址:https://www.tmall.com/wow/act/14700/huabei-hdc1111
var _obj_listen = null; var _obj_timer = null; function RunTimer() { var timeout = 100; if (document.getElementById('J_LotteryBTN').innerHTML == '快抢红包') { document.getElementById('J_LotteryBTN').click(); } if (document.getElementsByClassName('J_Close').length > 0) { document.getElementsByClassName('J_Close')[0].click(); } _obj_timer = setTimeout(RunTimer, timeout); } RunTimer();