simple javascript to detect browser using java utils code example
Example: simple javascript to detect browser using java utils
//detect the language preference of the user's browser
var userLanguage = window.navigator.userLanguage || window.navigator.language;