Closed Bug 969848 Opened 10 years ago Closed 6 years ago

postbank.de sends desktop site to Firefox OS

Categories

(Web Compatibility :: Site Reports, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sezen.guenes, Unassigned, Mentored)

References

()

Details

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

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 postbank.de with Firefox OS.


Actual results:

I got a Desktop Website.


Expected results:

I expected a Mobile Website.
Postbank.de does not detect Firefox OS devices as smartphones. The detection is done in this JavaScript file:
https://www.postbank.de/privatkunden/data/mob_red.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 postbank.de has added some code to this file, starting here:

var mobileURL = "https://m.postbank.de/portal/";
var mobileSwitch = function(overrideMobileURL) {

If upgrading, this code must probably be copied over to the new file or otherwise preserved.
Whiteboard: [country-de][clientsniff][contactready]
If postbank.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
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [country-de][clientsniff][contactready] → [country-de][clientsniff][contactready][mentor=astevenson]
Mentor: astevenson
Whiteboard: [country-de][clientsniff][contactready][mentor=astevenson] → [country-de][clientsniff][contactready]
Priority: -- → P5
Closing as we are not working on Firefox OS anymore.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
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.