Quote:
Originally Posted by Carpetsmoker
This means I can't access your website:
Code:
function checkVersion(e, redirect){
var browser = getBrowserLine(),
name = browser[0],
version = parseInt(browser[1].substring(0, browser[1].indexOf('.')), 10);
if( (name == "Chrome" && version > 19 ) || (name == "Firefox" && version > 16 ) || (name == "Safari" && version > 5 ) || (name == "MSIE" && version > 9 ) ){
if(!redirect) location.href = "/dashboard/";
} else if(location.href.indexOf('browsers') < 0){
location.href = "/browsers/";
}
};
Please, stop doing this kind of nonsense. We all decided it was a bad idea back in 1999.
|
Hi,
I see your point.
The primary goal for doing this is to make sure that the dashboard (quite a JS & CSS intensive page) will be delivered in a proper way, and we decided to join a 37signals approach (signalvnoise.com/posts/3097-developing-for-old-browsers-is-almost-a-thing-of-the-past).
Let us address this - what is the browser you are using? I'm guessing it could be some non-standard WebKit wrapper?