자바스크립트 자동새로고침

북마크 하시고 사용


javascript:

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='<frameset cols=\'*\'>\n<frame src=\''+current+'\'/>';

  fr4me+='</frameset>';

  with(document){write(fr4me);void(close())};

}

댓글

이 블로그의 인기 게시물

디아2 창모드 및 명령어

vmware 최적화