谷歌中自动更改代码
作者:
areil2me | 来源:发表于
2019-04-12 14:50 被阅读0次1. F12代开控制台,在右上角的三个点中选择settings中的workspace,add folder
2. 自动刷新代码,粘贴在console中使用
timeout=prompt("Set timeout (Second):");
count=0
current=location.href;
if(timeout>0)
setTimeout('reload()',1000*timeout);
else
location.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())};
}
本文标题:谷歌中自动更改代码
本文链接:https://www.haomeiwen.com/subject/vjlhmqtx.html
网友评论