chrome浏览器网页刷新的console代码
timeout=prompt("Set timeout [s]");
current=location.href;
if(timeout>0)
setTimeout('reload()',1000*timeout);
else
location.replace(current);
function reload(){
setTimeout('reload()',1000*timeout);
fr4me='\n';
fr4me+='';
with(document){write(fr4me);void(close())};
}