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)

ARM
Gonk (Firefox OS)
defect
Not set
normal

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.
Blocks: espn.go.com
Whiteboard: [uaoverride]
I've emailed my contact at ESPN, will update when I get a response.
In short, and understandably, ESPN would like a device before making this update. Contact me for more details of their response.
(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?
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
Blocks: 890288
Whiteboard: [uaoverride] → [uaoverride] [country-all] [serversniff]
See Also: → 809796
Whiteboard: [uaoverride] [country-all] [serversniff] → [uaoverride] [country-all] [serversniff] [contactready]
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)
Emailed him again, will let you know what I hear back!
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)
This has regressed, we received again the simplified mobile site on Firefox OS.
Status: RESOLVED → REOPENED
Flags: needinfo?(dwalsh)
Resolution: FIXED → ---
Karl, for that issue let's reopen 809796 instead :)
Status: REOPENED → RESOLVED
Closed: 12 years ago11 years ago
Resolution: --- → FIXED
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".
See Also: → 1035102
Flags: needinfo?(dwalsh)
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.