在ChromeConsole中定期刷新脚本的网页
timeout=prompt("Set timeout (Second):");count=0current=location.href;if(timeout>0)setTimeout('reload()',1000*timeout);elselocation.replace(current);function reload(){setTimeout('reload()',1000*timeout);count++;console.log('每('+timeout+秒自动刷新,刷新次数:+count);fr4me='<frameset cols=\'*\'>\n<frame src=\''+current+'\'/>';fr4me+='</frameset>';with(document){write(fr4me);void(close())};}
作者:古道轻风