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)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: karlcow, Unassigned)
References
()
Details
(Whiteboard: [mobile-compat-form] [country-jp] [clientsniff] [contactready] [flash])
Attachments
(1 file)
234.24 KB,
image/png
|
Details |
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
![]() |
Reporter | |
Comment 1•11 years ago
|
||
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.
![]() |
Reporter | |
Comment 2•11 years ago
|
||
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]
Comment 3•11 years ago
|
||
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]
![]() |
Reporter | |
Comment 4•11 years ago
|
||
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.
Comment 5•11 years ago
|
||
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..
Comment 6•11 years ago
|
||
(so I'll assume wontfix - for now)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Updated•11 years ago
|
Whiteboard: [mobile-compat-form] [country-jp] [clientsniff] [contactready] → [mobile-compat-form] [country-jp] [clientsniff] [contactready] [flash]
Assignee | ||
Updated•6 years ago
|
Product: Tech Evangelism → Web Compatibility
Assignee | ||
Updated•1 year ago
|
Component: Mobile → Site Reports
You need to log in
before you can comment on or make changes to this bug.
Description
•