희한하게 안지워지는 자바스크립트 ???

· 19년 전 · 1517
희한한 스크립트입니다
이 스크립트가 뭘하는 스크립트인지 메인홈에 넣어두었는데 도무지 뭐하는 스크립트인지
모르겠습니다...
 
그리고 이게 나모에서 메인을 수리하고 저장하기를 누르면 이 스크립트가 두개로생겨서 저장되고
저장할때마다 무한대로 한개씩 더생기면서 저장됩니다
 
아예 전부 지워버리면 어느새 또다시 생겨서 자동으로 저장되구요
 
'이거 지워지지 않는건지? 지우러면 어떻게 해야되는지 자문을 구합니다 ^^'
 
<script language="JavaScript">
<!--
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();

  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;
  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>
 
|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
19년 전 조회 1,420
19년 전 조회 1,575
19년 전 조회 1,134
19년 전 조회 1,011
19년 전 조회 1,236
19년 전 조회 2,530
19년 전 조회 1,541
19년 전 조회 1,010
19년 전 조회 1,664
19년 전 조회 1,518
19년 전 조회 1,514
19년 전 조회 1,474
19년 전 조회 1,517
19년 전 조회 1,736
19년 전 조회 1,424
19년 전 조회 1,531
19년 전 조회 1,917
19년 전 조회 1,510
19년 전 조회 1,508
19년 전 조회 1,531
🐛 버그신고