Closed Bug 996435 Opened 11 years ago Closed 11 years ago

drive.vw-up.jp is blocking most browsers

Categories

(Web Compatibility :: Site Reports, defect)

Other
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: karlcow, Unassigned)

References

()

Details

(Whiteboard: [mobile-compat-form] [country-jp] [clientsniff] [contactready] [flash])

Attachments

(1 file)

Site: http://drive.vw-up.jp/ drive.vw-up.jp is blocking most browsers :: Steps To Reproduce 1. Go to http://drive.vw-up.jp/ :: Expected Result Getting the explanation message :: Actual Result The browser is blocked based on UA string. :: Additional Information Software Version: 30 Device Information: GT-i9100 Reporter's User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:29.0) Gecko/20100101 Firefox/29.0
Attached image firefox-android.png
Reported for Daniel Davis http://twitter.com/ourmaninjapan/status/455928146122903553 <script type="text/javascript"> var ua = navigator.userAgent; var env = { mobile: false, android: false, ios: false, ios7: false, safari: false, chrome: false, }; if(typeof window.orientation != "undefined"){ env.mobile = true; } if(ua.match(/android/i)) { env.android = true; if(/Chrome/.test(ua) && !/Version/.test(ua)) { env.chrome = true; } } else { var matches = ua.match(/^.*(iPhone|iPad).*(OS\s[0-9]).*(CriOS|Version)\/[.0-9]*\sMobile.*$/i); if (matches) { env.ios = true; if (matches[2] === 'OS 7') { env.ios7 = true; } if (matches[3] === 'CriOS') { env.chrome = true; } else { env.safari = true; } } } if (navigator.userAgent.indexOf('iPhone') > 0 || navigator.userAgent.indexOf('iPod') > 0 || navigator.userAgent.indexOf('Android') > 0 || navigator.userAgent.indexOf('iPad') > 0){ if (env.android && !env.chrome) { location.href = 'not-supported.html'; } if(navigator.userAgent.indexOf('iPad') > 0){ location.href = 'not-supported.html'; } } else { location.href = 'main/'; } </script> <noscript> <meta http-equiv="refresh" content="0; url=not-supported.html"> </noscript> Not sure we can do a lot of things.
The page main/ has more UA sniffing. <script type="text/javascript"> if ((navigator.userAgent.indexOf('iPhone') > 0 && navigator.userAgent.indexOf('iPad') == -1) || navigator.userAgent.indexOf('iPod') > 0 || navigator.userAgent.indexOf('Android') > 0 || navigator.userAgent.indexOf('iPad') > 0){ location.href = '../'; } </script>
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [mobile-compat-form] → [mobile-compat-form] [country-jp] [clientsniff]
Depends on: 920734
I think Karl found all the sniffing. Let's mark it contactready.
Whiteboard: [mobile-compat-form] [country-jp] [clientsniff] → [mobile-compat-form] [country-jp] [clientsniff] [contactready]
Daniel, Do you know what is working/not working once the ua detection is passed. I tried a few things, but I end up on something asking me flash? Maybe that would be a better bug for Webcompat.com. It doesn't work on iPod iOS6 too.
I seems - from the way the site blocks iPad and iPhone - that they've decided to make this site in Flash and keep it that way, at least for now..
(so I'll assume wontfix - for now)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Whiteboard: [mobile-compat-form] [country-jp] [clientsniff] [contactready] → [mobile-compat-form] [country-jp] [clientsniff] [contactready] [flash]
Product: Tech Evangelism → Web Compatibility
Component: Mobile → Site Reports
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: