Closed
Bug 969848
Opened 12 years ago
Closed 8 years ago
postbank.de sends desktop site to Firefox OS
Categories
(Web Compatibility :: Site Reports, defect, P5)
Web Compatibility
Site Reports
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.
Comment 1•12 years ago
|
||
| description | ||
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.
URL: http://postbank.de
Whiteboard: [country-de][clientsniff][contactready]
Comment 2•12 years ago
|
||
| suggestedfix | ||
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
Updated•12 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•12 years ago
|
Whiteboard: [country-de][clientsniff][contactready] → [country-de][clientsniff][contactready][mentor=astevenson]
Updated•12 years ago
|
Mentor: astevenson
Whiteboard: [country-de][clientsniff][contactready][mentor=astevenson] → [country-de][clientsniff][contactready]
Updated•10 years ago
|
Priority: -- → P5
Comment 3•8 years ago
|
||
Closing as we are not working on Firefox OS anymore.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
| Assignee | ||
Updated•7 years ago
|
Product: Tech Evangelism → Web Compatibility
| Assignee | ||
Updated•2 years ago
|
Component: Mobile → Site Reports
You need to log in
before you can comment on or make changes to this bug.
Description
•