사이트 내 전체검색
특정 ip차단하기
로빈아빠
https://cmd.kr/javascript/46 URL이 복사되었습니다.

본문

<script language="JavaScript">

netscape = (navigator.appName.indexOf("Netscape") != -1);
version4 = (navigator.appVersion.indexOf("4.") != -1);

if (netscape && version4) {
ip = "" + java.net.InetAddress.getLocalHost().getHostAddress();
if (ip.indexOf("IP를 적으세요") >= -1){
alert("당신에게는 이 사이트의 접근 권한이 없습니다");
history.go(-1);
}
}

</script>

출처 : http://qdata.co.kr/bo/bbs/board.php?bo_table=ht&wr_id=25

댓글목록

등록된 댓글이 없습니다.

831 (1/17P)

Search

Copyright © Cmd 명령어 3.142.255.5