Updates:
        Status: Assigned
        Owner: [email protected]
        Cc: [email protected]

Comment #3 on issue 8831 by [email protected]: Regression: flickr.com:  
flicker organize doesn't work in Chrome
http://code.google.com/p/chromium/issues/detail?id=8831

On the fence if this is a UA Logic issue, it's not clear what the method  
_pf is doing from view-
source:http://www.flickr.com/photos/organize/.  It looks like it's supposed  
to extract the version and compare.  If this
started occurring in 2.0.160.0 I almost wonder if this could be related to  
the new regular expression engine that got
introduced in that release.

...

<script type="text/javascript">

var b = 1;
var ua = navigator.userAgent;

if (_qs_args.force) { // force it to be good
        b = 1;
} else if (window.opera) { // opera
        b = 0;
        var vn = _pf(ua.split('/')[1]);
        
        if (vn >= 9.2) {
                b = 1;
        }
        
        if (ua.toLowerCase().indexOf('wii') != -1) {
                b = 1;
        }
        
} else if (ua.indexOf('MSIE') > 0) { // IE
        if (navigator.appVersion.toLowerCase().indexOf("mac") > 0) {// mac IE
                b = 0;
        } else {
                b = 0;
                if (ua.indexOf("MSIE 5.6") > -1 || ua.indexOf("MSIE 5.5") > -1 
||  
ua.indexOf("MSIE 6") > -1 || ua.indexOf("MSIE
7") > -1 || ua.indexOf("MSIE 8") > -1) b = 1; // IE PC 5.5 or above is good
        }
} else if (ua.indexOf('Safari') > -1) { // safari
        var wk_str = ua.match(/AppleWebKit\/[1-9\.]+/);
        var wk_v = _pf(wk_str[0].replace('AppleWebKit/', ''));

        if (!wk_v || wk_v < 125.2) { // it is less than v 1.2;  
http://developer.apple.com/internet/safari/uamatrix.html
                b = 0;
        }
        
} else if (ua.indexOf('Mozilla') > -1 && (ua.indexOf('Mozilla/5') == -1 &&  
ua.indexOf('Mozilla/6') == -1 &&
ua.indexOf('Mozilla/7') == -1)) { // moz, not moz 5+
        b = 0;
}

if (b) {
        document.write('<style type="text/css">#bad_browser_div{display:none;}  
#loading_div{display:block;}<\/style>');
}


</script>

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to