Closed Bug 995764 Opened 6 years ago Closed 5 years ago

axa.com.mx sends desktop site to Firefox OS

Categories

(Web Compatibility :: Mobile, defect)

ARM
Gonk (Firefox OS)
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: hsteen, Assigned: karlcow)

References

()

Details

(Whiteboard: [country-mx][clientsniff][sitewait])

Attachments

(1 file)

Attached image comparison screenshot
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");
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]
They switched to a responsive Web site.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Web Compatibility
You need to log in before you can comment on or make changes to this bug.