View Single Post
  #7   (View Single Post)  
Old 22nd May 2014
alexander10bees alexander10bees is offline
New User
 
Join Date: May 2013
Posts: 6
Default

Quote:
Originally Posted by Carpetsmoker View Post
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?
Reply With Quote