DEV Community

loading...

Detect browser and its version in javascript

Shweta Danej
A Wordpress Developer.
・1 min read

All major browser supports the object called navigator, this object has the information about the browser.

Discussion (2)

Collapse
mutale85 profile image
Mutale85

This was helpful.

Collapse
awaiscb profile image
Awais-cb

Output is chrome when using opera? any specific reason for that?