Q. How to detect the name of the client’s browser?
β
Correct Answer: (A)
navigator.appName
Explanation: appName Returns the name of the browser. Example:
if(navigator.appName == "Netscape")
{
alert('For proper functioning of the application, please use Google Chrome or Mozilla Firefox browsers');
}