Metachecker.net
|
FontsMadeEasy.com
|
RankChecker.net
Learn Java Script Today
|
Over 5000 Free Fonts
|
Tutorials
|
Javascript Forum
|
Other Javascript Resources
|
Cheat Sheet
JavaScript Basics
Inserting Javascript
Complete Tutorial
Advance DHTML Tutorial
Script archive
Advanced Tutorials
Alert Scripts
Animation
Audio
Background Effects
Banner Ads
Browser Window
Buttons
Button Forms
Calculcators
Calendars
Clocks & Dates
Cookies
Cursor Effects
DHMTL Games
DHTML Miscellaneous
Equivalents
Forms
Games
IE4+ Scripts
IE5+ Scripts
Image Effects
Image Miscellaneous
Links & Buttons
Math Related
Messages Miscellaneous
Miscellaneous
Mouse Tricks
Navigation
Page Details
Password Protection
Pulldown Menus
Random Stuff
Scrolling
Status Bar
Text Animation
User Detail
User Info
Window Control
IP Address Descrimination - Page Entry (More Than 1)
With this script, you can specify more than one IP address to view your page.
Insert into <HEAD>
<SCRIPT Language="JavaScript"> if ((navigator.appVersion.indexOf("4.") != -1) && (navigator.appName.indexOf("Netscape") != -1)){ ip = java.net.InetAddress.getLocalHost().getHostAddress(); if ((ip.indexOf("IP THAT YOU WILL ALLOW IN #1") == -1) || (ip.indexOf("IP THAT YOU WILL ALLOW IN #2") == -1)){ window.location = "PAGE RELOCATED TO" } } </script>
Insert into <BODY>
Other Options
IP THAT YOU WILL ALLOW IN#1 & IP THAT YOU WILL ALLOW IN#2 is part of the number the ip numbers that you do want to see the page. Everyone else will be booted to PAGE RELOCATED TO, which you need to change. Lets say that I only want AOL users to see the page, then IP THAT YOU WILL ALLOW IN #1 would be "152.171" (I think that is only AOL,at least it is a certain block). And then I want my Local ISP to view the page so IP THAT YOU WILL ALLOW IN #2 would be "2"