JavaScript Source Code 3000: User Details: IP Address Filter
IP Address Filter
(Netscape 4.0+ with Java enabled only!) JavaScript can prevent visitors with certain IP addresses from visiting your site. Simply enter part of their IP address (the more you enter the greater the chance only the intended person will not be able to enter your site) and they will not be able to enter the site. If anyone has a Internet Explorer workaround, we'd love to post it here!
JavaScript Source Code 3000: User Details: IP Address Filter Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!
<!-- ONE STEP TO INSTALL IP ADDRESS FILTER:
1. Copy the coding into the HEAD of your HTML document -->
<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->
if (netscape && version4) { ip = "" + java.net.InetAddress.getLocalHost().getHostAddress(); if (ip.indexOf("207.136") >= -1) // This would block anyone from 207.136.xxx.xxx
{ alert("You are not permitted to access this site."); history.go(-1); } } // End --> </script>