| Re: New Pictures of the underwater Redbirds (711992) | |||
|
|
|||
| Home > SubChat | |||
|
[ Read Responses | Post a New Response | Return to the Index ] |
|
||
Re: New Pictures of the underwater Redbirds |
|
|
Posted by R36 #9346 on Wed Nov 26 16:44:09 2008, in response to New Pictures of the underwater Redbirds, posted by JohnL on Wed Nov 26 12:04:17 2008. Why does it not like Safari (or Chrome)?I tried viewing this earlier on my iPhone, and now using Safari on my desktop, and I get the same thing. I just tried it using Chrome, and I get the same error page. Firefox works fine with it. Meanwhile, I found the function which calls up this error page. It's the BrowserCheck() function of their global.js file. function BrowserCheck() { //// acceptable browsers: //alert ( navigator.appName + " // " + navigator.appVersion ) ; if( navigator.userAgent.indexOf( "Chrome" , 0 ) >= 0 ) { window.location.replace( "http://njscuba.net/util/error-other.html" ) ; return 1 ; } if( navigator.userAgent.indexOf( "Safari" , 0 ) >= 0 ) { window.location.replace( "http://njscuba.net/util/error-other.html" ) ; return 1 ; } if( navigator.appName == "Microsoft Internet Explorer" && parseFloat(navigator.appVersion) >= 4.0 ) { if( ( navigator.userAgent.indexOf( "MSIE 7" , 0 ) >= 0 ) || ( navigator.userAgent.indexOf( "MSIE 8" , 0 ) >= 0 ) || ( navigator.userAgent.indexOf( "MSIE 9" , 0 ) >= 0 ) ) //// future? { browser = "IE" ; return 0 ; } } if( navigator.appName == "Opera" && parseFloat(navigator.appVersion) >= 7.11 ) { browser = "NS" ; return 0 ; } if( navigator.appName == "Netscape" && parseFloat(navigator.appVersion ) >= 5.0 ) { browser = "NS" ; return 0 ; } if( navigator.appName == "Konqueror" && parseFloat(navigator.appVersion ) >= 5.0 ) { browser = "NS" ; return 0 ; } if( navigator.appName == "Safari" && parseFloat(navigator.appVersion ) >= 5.0 ) { browser = "NS" ; return 0 ; } if ( ! check_browser ) return 0 ; //// reject the rest: //alert( "This website requires MS Internet Explorer 6.0+ or Netscape 6.0+\n\nPlease upgrade your browser." ) ; window.location.replace( "http://njscuba.net/util/error-other.html" ) ; return 1 ; } |