Closed
Bug 828431
Opened 13 years ago
Closed 11 years ago
espn.go.com doesn't recognize B2G UA as mobile
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: lmandel, Unassigned)
References
()
Details
(Whiteboard: [uaoverride] [country-all] [serversniff] [contactready])
espn.go.com serves a desktop site to B2G. Bug 823364 added an UA override for this domain. The override should be removed once the domain serves mobile content to B2G. This bug tracks the evangelism for the site to recognize the B2G UA and the removal of the override at that time.
Reporter | ||
Updated•13 years ago
|
Blocks: espn.go.com
Whiteboard: [uaoverride]
Comment 1•12 years ago
|
||
I've emailed my contact at ESPN, will update when I get a response.
Comment 2•12 years ago
|
||
In short, and understandably, ESPN would like a device before making this update. Contact me for more details of their response.
Comment 3•12 years ago
|
||
(In reply to David Walsh :davidwalsh from comment #2)
> In short, and understandably, ESPN would like a device before making this
> update. Contact me for more details of their response.
FF OS device I take it, right?
![]() |
||
Comment 4•12 years ago
|
||
With UA override On. The browser is redirected from
http://espn.go.com/ to http://m.espn.go.com/
Removed the Override from the ZTE (Firefox OS). Firefox OS is being redirected to the Mobile site. The redirection is made through JavaScript on client side (not server side HTTP).
The following script is doing the job matching Mobile string and not iPad.
var a = navigator.userAgent,
b = window.location,
c = document.cookie,
d = a.match(/iPad/i) || a.match(/Android/i) && !a.match(/Mobile/i) || a.match(/RIM Tablet/i),
e = a.match(/Mobile/i) || a.match(/Mini/i),
f = b.href.match(/src=mobile/i),
g = -1 < c.indexOf("iphone_redirect=false"),
h = -1 < c.indexOf("iphone_redirect=true");
if (d) {
if (document.documentElement.className += " tablet ", (!a.match(/iPad/i) || h) && !g) b.href = "http://m.espn.go.com/wireless/?i=COMR&src=desktop"
} else e && (!g && !f) && (b.href = "http://m.espn.go.com/wireless/?i=COMR&src=desktop");
Good Job.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
![]() |
||
Updated•12 years ago
|
Whiteboard: [uaoverride] → [uaoverride] [country-all] [serversniff]
![]() |
||
Updated•12 years ago
|
URL: http://espn.go.com/
![]() |
||
Updated•12 years ago
|
Whiteboard: [uaoverride] [country-all] [serversniff] → [uaoverride] [country-all] [serversniff] [contactready]
Comment 5•12 years ago
|
||
David - We still have some issues with the ESPN site. Could we use your contact again please? The details are here: https://bugzilla.mozilla.org/show_bug.cgi?id=809796
Flags: needinfo?(dwalsh)
Comment 6•12 years ago
|
||
Emailed him again, will let you know what I hear back!
Comment 7•12 years ago
|
||
Received a reply that my contact isn't there anymore and he's forwarded me on to another person who has not yet responded. Will keep you updated.
Flags: needinfo?(dwalsh)
![]() |
||
Comment 8•11 years ago
|
||
This has regressed, we received again the simplified mobile site on Firefox OS.
Status: RESOLVED → REOPENED
Flags: needinfo?(dwalsh)
Resolution: FIXED → ---
Comment 9•11 years ago
|
||
Karl, for that issue let's reopen 809796 instead :)
Status: REOPENED → RESOLVED
Closed: 12 years ago → 11 years ago
Resolution: --- → FIXED
Comment 10•11 years ago
|
||
Hm, sorry - that one is Firefox Android specific. This one was initially about being served desktop content - I guess what happened here was that we spoofed as Fx on Android, saw the fix they did serving the fancy site to Fx on Android work due to the spoof, and assumed it was also fully fixed on Firefox OS?
Anyway, I'll open a new bug and leave this one about "desktop content instead of mobile content".
Updated•11 years ago
|
Flags: needinfo?(dwalsh)
Assignee | ||
Updated•7 years ago
|
Product: Tech Evangelism → Web Compatibility
Assignee | ||
Updated•1 years ago
|
Component: Mobile → Site Reports
You need to log in
before you can comment on or make changes to this bug.
Description
•