Checking for browser type

Determine if Lotus Notes Client or Web Browser. Use this code to prevent the JavaScript from running in the Notes client.
JavaScript

Try this in your onLoad event. It just checks for the Browser type and runs the script based on whether it's in the Client or not...

if (window.navigator.appName == 'Lotus Notes') {
	// dont put anything in here
	alert('dont execute');
} else {
	//put the code you want to run in here
	alert('put code here');
}

Posted by fbrefere001 on Monday August 19, 2002