simple javascript to detect browser using java utils
snippet in javascript

simple javascript to detect browser using java utils

user1798

//detect the language preference of the user's browser
var userLanguage = window.navigator.userLanguage || window.navigator.language;