Closed
Bug 995764
Opened 11 years ago
Closed 10 years ago
axa.com.mx sends desktop site to Firefox OS
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: hsteen, Assigned: karlcow)
References
()
Details
(Whiteboard: [country-mx][clientsniff][sitewait])
Attachments
(1 file)
224.51 KB,
image/png
|
Details |
This site intends to send smartphones to a separate mobile site (axainforma.com). It is not coded to detect Firefox OS devices as smartphones, so Firefox OS users get a different and poorer experience.
This is the script used for the detection:
function RedirectSmartphone(url){
if (url && url.length > 0 && IsSmartphone()){
window.top.location.assign(url);
}
}
function IsSmartphone(){
if (DetectUagent("android")) return true;
else if (DetectUagent("blackberry")) return true;
else if (DetectUagent("iphone")) return true;
else if (DetectUagent("opera")) return true;
else if (DetectUagent("palm")) return true;
//else if (DetectUagent("windows")) return true;
else if (DetectUagent("phone")) return true;
else if (DetectUagent("generic")) return true;
else if (DetectUagent("ipad")) return true;
else if (DetectUagent("ipod")) return true;
return false;
}
function DetectUagent(name){
var uagent = navigator.userAgent.toLowerCase();
var aVersion = navigator.appVersion.toLowerCase();
if ((uagent.search(name) > -1)||(aVersion.search(name) > -1))
return true;
else
return false;
}
RedirectSmartphone("http://axainforma.com/axamx/personas/index.html");
![]() |
Assignee | |
Comment 1•11 years ago
|
||
contact email |
Note sure if the twitter account would be useful
https://mobile.twitter.com/AXAMexico
According to http://www.linkedin.com/pub/yair-sanchez-castillo/18/962/670
This person is working at AXA, Maybe he will be able to put us in contact with the right persons.
twitter account is not working anymore, but I found an email address.
Assignee: nobody → kdubost
Status: NEW → ASSIGNED
Hardware: All → ARM
Whiteboard: [country-mx][clientsniff][contactready] → [country-mx][clientsniff][sitewait]
![]() |
Assignee | |
Comment 2•10 years ago
|
||
They switched to a responsive Web site.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Tech Evangelism → Web Compatibility
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
•