XML.com: XML From the Inside Out
oreilly.comSafari Bookshelf.Conferences.

advertisement
 Resource Guide -> XML Browsers, Netscape (AOL), JavaScript -> Elements in Netscape 6

Elements in Netscape 6

Date: Nov. 27, 2000
Link: http://webreference.com/js/tips/001125.html
Source Author or Organization: Yehuda Shiran, Ph.D., WebReference.com

This article provides a concise tutorial explaining how to amend your current browser detection scripts so that Netscape 6 can be properly detected.

Such modifications to the current crop of browser detection scripts will be required because Mozilla-based browsers (such as Netscape 6) do not support either Internet Explorer's proprietary document.all object or Netscape Navigator's proprietary document.layers object.

Links are included for trying your own browsers against code with and without Netscape 6 support, and code for a comprehensive browser sniffing script including Netscape 6 support is provided.