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.
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.
(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.