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 SearchDomino.com:
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 SearchDomino.com 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

SearchWindowsServer

Search400

  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/Search400.com community. These cheat ...

  • HTML cheat sheet

    This is a really cool cheat sheet if you're looking to learn more about HTML. You'll find just about everything you every wanted ...

  • Carol Woodbury: Security

    Carol Woodbury

SearchDataCenter

SearchContentManagement

Close