- 네이버가 만드는 웨일브라우...
- 많은 분들의 사랑을 받았던 ...
- 아이맵스는 최근 폐쇄를 하...
- 2년이 넘은 글에 댓글을 하...
- 오작교님 답변감사드립니다.
- 예. 그랬네요. 수정했습니...
- 안전운즌 오타발생 ㅋ
- 고속도로 암행단속의 효과 ...
- 음주운전에 대한 긴급피난 ...
- 예전 게시판에 있었던 것인...
- 오호 오작교님의 영어...
- 좋은 프로그램을 소개해주셔...
- 아하 그러셨군여~ 저는 최근...
- 랩퍼투혼님께서 새롭고 유익...
- 요즈음 엣지나 크롬 등 웹브...
전체 : 115,105,369
오늘 : 272
어제 : 748
오늘 : 272
어제 : 748
https://myhome.naver.com/ddini/kin/ref2.htm
<body>
<a href=ref2.htm>이동</a>
<script>
allow=new Array(); //허락할 주소를 담는 배열
allow[allow.length]='https://myhome.naver.com'; //허락할 주소
allow[allow.length]='https://www.myhome.naver.com';
flag=0; //플래그
document.body.onload=function(){ //페이지가 로딩되면,
for(var i in allow){ //허락주소인지 확인
if(String(document.referrer).indexOf(allow[i])!=-1){ //허락된 주소라면
flag++; //플래그 증가
}
}
if(flag<1){ //플래그가 세팅되지 않았다면,
alert('정상적인 접근이 아닙니다'); //경고문 표시
location.replace("about:blank") //페이지 교체
return; //함수실행중단
}
document.write(document.referrer+"<br>"); //허락된 페이지일때 뿌려질 본문
document.write(document.domain+"<br>");
}
</script>
* 오작교님에 의해서 게시물 이동되었습니다 (2005-11-25 11:56)
<body>
<a href=ref2.htm>이동</a>
<script>
allow=new Array(); //허락할 주소를 담는 배열
allow[allow.length]='https://myhome.naver.com'; //허락할 주소
allow[allow.length]='https://www.myhome.naver.com';
flag=0; //플래그
document.body.onload=function(){ //페이지가 로딩되면,
for(var i in allow){ //허락주소인지 확인
if(String(document.referrer).indexOf(allow[i])!=-1){ //허락된 주소라면
flag++; //플래그 증가
}
}
if(flag<1){ //플래그가 세팅되지 않았다면,
alert('정상적인 접근이 아닙니다'); //경고문 표시
location.replace("about:blank") //페이지 교체
return; //함수실행중단
}
document.write(document.referrer+"<br>"); //허락된 페이지일때 뿌려질 본문
document.write(document.domain+"<br>");
}
</script>
* 오작교님에 의해서 게시물 이동되었습니다 (2005-11-25 11:56)