Uncle Jim's JavaScript Examples
Required Previous Page Scripts

You can test the codes below:

CODE: Java Enabled Referrer.
DESCRIPTION: Checks to see if user machine has enabled Java.
If enabled, will refer to java-page.html
If not enabled, will refer to non-java-page.html
(You will also need to create the two pages named above).

SCRIPT INSTALLATION:
Insert Below Code Between Head Tags: <HEAD></HEAD>




CODE: Must Visit From.
DESCRIPTION: Must visit from a specific page.
If not, visitor will see an alert and will be taken to your index.html page.

SCRIPT INSTALLATION:
Insert Below Code Between Head Tags: <HEAD></HEAD>





Find more scripts like this at Uncle Jim's JavaScripts