When the user user old browsers like (IE 6/7/8) then the page should show a warning message and inform user to upgrade the browser.
But in internet, there are few articles suggesting not to detect browser. But detect the feature support.
For E.g when working with localstorage.
if(localStorage) {
// Perform actions
}
But is this correct? If we need to detect feature then we need lots of conditions involved.
Also how to get the browser version using javascript/jQuery ? Also I need to know whether the user uses the compatibility mode as well