Manage Learn to apply best practices and optimize your operations.

JavaScript detects Web browser type and version in Notes/Domino 8.0.2

Previous Lotus Notes/Domino versions let you use navigator.appName and navigator.appVersion to detect which Web browser type and version were used in Notes/Domino applications. This is no longer an option in Notes/Domino 8.0.2 and higher. Use this JavaScript class to accurately detect which Web browser type and version are being used in your Notes/Domino applications.

Previous versions of Notes/Domino let developers use navigator.appName and navigator.appVersion to reveal which Web browser type and version were used being used in Notes/Domino applications. In Notes/Domino 8.0.2, however, these functions no longer give developers what they want.

Related resources from
Support Flash objects in any Web browser for a Domino application 

JavaScript creates a jump box on a Lotus Notes Web form

Domino provides us with the @BrowserInfo function, but this function gives incorrect results for newer Web browser versions. I was looking for a way to program a Web application based on specific browsers. This JavaScript class is easy to use and tested for almost all Web browsers.

JavaScript to detect Web browser type and version
(Click on code for enlarged view and script download.)

Do you have comments on this tip? Let us know.

This tip was submitted to the tip library by member Rishi Sahi. Please let others know how useful it is via the rating scale below. Do you have a useful Lotus Notes/Domino technical tip or code snippet to share? Submit it to our monthly tip contest and you could win a prize.

Dig Deeper on JavaScript for Lotus Notes Domino



  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...