Search code examples
javascriptandroidiosbrowsermobile-website

How can get the browser version users use on mobile?


During mobile web frontend development, how can get the browser version users use on mobile? I want to get information about the 'samsung internet browser' and 'naver app' versions and do something different depending on the version they have installed.


Solution

  • window.navigator can get them.

    Ref : https://www.w3schools.com/jsref/obj_navigator.asp