I have a problem in Determining Browsers.

I've tried using `navigator` and well, it did not help.

I used `alert(navigator.appName);` to determine the browser and I'm currently using `Google Chrome`, when the pop up appears it displayed `Mozilla`, but in `Mozilla` it works fine and with `Mozilla` It self.

is there a problem with the code? or it's some bug?