怎么实现:浏览器F12 console定时开始下面任务,开始时间:10点59分59秒开始,
任务代码:
document.write('<iframe width=100% height=100% frameborder=0 scrolling=yes>');
frames[0].location.href = document.location.href;
setInterval("frames[0].location.reload();",2000); //2000代表2000毫秒=页面2秒刷新一次
setInterval("frames[0].document.getElementsByClassName('go-btn')[0].click();",300); //间隔300毫检查是否有提交订单按键出来,自动点击,不用改
求大牛帮我改改上面代码,越详细越好,本人小白,有注释最好,谢谢啦