Closed Bug 969858 Opened 12 years ago Closed 10 years ago

deutsche-bank.de sends desktop site to Firefox OS

Categories

(Web Compatibility :: Site Reports, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sezen.guenes, Assigned: karlcow)

References

()

Details

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

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release) Build ID: 20140205162153 Steps to reproduce: I visited deutsche-bank.de with Firefox OS. Actual results: I got a Desktop Website. Expected results: I expected a Mobile Website.
deutsche-bank.de does not detect Firefox OS devices as smartphones. The detection is done in this JavaScript file: https://www.deutsche-bank.de/de/data/js/3080.js This file is from the mobileesp.com detection framework. Unfortunately, the file is too old to detect all newer smartphones correctly - it contains this comment: /* ******************************************* // Copyright 2010, Anthony Hand // // File version date: November 28, 2010 It seems deutsche-bank.de has added some code to this file, starting here: var mobileURL = "http://m.db.com/index.htm"; var mobileSwitch = function(overrideMobileURL) { if (overrideMobileURL != '') mobileURL = overrideMobileURL; If upgrading, this code must probably be copied over to the new file or otherwise preserved.
If deutsche-bank.de upgrades to a version of this script where DetectTierIphone() returns true in Firefox OS, the current code will work. However, detecting devices by name is a fragile approach and will probably require maintenance also in the future. We suggest using this mobile framework more for statistics and add a more robust method to support the site's functionality. The mobile site can be offered through for example any of the following methods: * screen size detection * CSS media queries * rewriting the site to adapt to any screen automatically
Let's try a first contact with someone who previously worked as a consultant for them. http://twitter.com/MozWebCompat/status/484118266286055425 http://www.linkedin.com/in/alatacz
Assignee: nobody → kdubost
Status: NEW → ASSIGNED
Whiteboard: [country-de][clientsniff][contactready] → [country-de][clientsniff][sitewait]
The person I had contacted on twitter, he didn't put us in contact with the right people there. He seems to have no contacts. Tried to contact https://www.linkedin.com/in/florianruppel by email about the bug. Maybe we will get more luck.
OS: All → Gonk (Firefox OS)
Hardware: All → ARM
The site is now responsive. FIXED.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
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: