Compatibility issues sometimes require page authors to restrict access to a page to a specific set of web browsers. The concepts explained below can be used to build a browser detection script capable of just about anything.
All Browsers are Navigators
Checking your Browser
The properties returned are different for each browser and platform.
The above script returns the following:
Putting it to work
Now that the returned data is established, conditional
The following statement checks the position of the string "
The script's results look like this:
By replacing the two
Location Location Location
The basic idea behind browser detection is pretty simple. Based on the concepts above, most any browser detection script can be developed. Most programming is just a collection of simple functions stacked on top of one another. Hope this was helpful.
(this page was salvaged from an incomplete 1996 original)
Film & Video
Final Cut Pro
Site Notes Archive (weblog)
About Joe Maller
Past Home Pages Etc.