희한하게 안지워지는 자바스크립트 ??? 정보
희한하게 안지워지는 자바스크립트 ???본문
희한한 스크립트입니다
이 스크립트가 뭘하는 스크립트인지 메인홈에 넣어두었는데 도무지 뭐하는 스크립트인지
모르겠습니다...
그리고 이게 나모에서 메인을 수리하고 저장하기를 누르면 이 스크립트가 두개로생겨서 저장되고
저장할때마다 무한대로 한개씩 더생기면서 저장됩니다
아예 전부 지워버리면 어느새 또다시 생겨서 자동으로 저장되구요
'이거 지워지지 않는건지? 지우러면 어떻게 해야되는지 자문을 구합니다 ^^'
<script language="JavaScript">
<!--
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
toolbar_str = toolbar ? 'yes' : 'no';
<!--
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
toolbar_str = toolbar ? 'yes' : 'no';
menubar_str = menubar ? 'yes' : 'no';
statusbar_str = statusbar ? 'yes' : 'no';
scrollbar_str = scrollbar ? 'yes' : 'no';
resizable_str = resizable ? 'yes' : 'no';
cookie_str = document.cookie;
cookie_str.toString();
cookie_str.toString();
pos_start = cookie_str.indexOf(name);
pos_start = cookie_str.indexOf('=', pos_start);
pos_end = cookie_str.indexOf(';', pos_start);
if (pos_end <= 0) pos_end = cookie_str.length;
if (pos_end <= 0) pos_end = cookie_str.length;
cookie_val = cookie_str.substring(pos_start + 1, pos_end);
if (cookie_val == "done")
return;
window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}
// -->
</script>
</script>
댓글 전체