Closed
Bug 980564
Opened 11 years ago
Closed 9 years ago
newegg.com returns desktop not mobile site to Firefox Android and Firefox OS
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dsun218, Assigned: adamopenweb, Mentored)
References
()
Details
(Whiteboard: [serversniff] [country-us] [sitewait])
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:27.0) Gecko/20100101 Firefox/27.0 (Beta/Release)
Build ID: 20140212131424
Steps to reproduce:
newegg.com returns desktop not mobile site to Fennec
Updated•11 years ago
|
Component: General → Mobile
OS: Windows 7 → Android
Product: Firefox for Android → Tech Evangelism
Hardware: x86 → ARM
Version: Firefox 27 → unspecified
Severity: normal → major
Component: Mobile → General
Product: Tech Evangelism → Firefox for Android
Version: unspecified → Firefox 27
Comment 1•11 years ago
|
||
Please do not set severity.
Severity: major → normal
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•11 years ago
|
||
and please do not move bugs, I moved this to the correct component.
Component: General → Mobile
Product: Firefox for Android → Tech Evangelism
Version: Firefox 27 → unspecified
![]() |
||
Comment 3•11 years ago
|
||
description |
The site is not serving the proper content to some mobile devices (smartphone)
When entering http://www.newegg.com/
* on Firefox Android or Firefox OS, the site returns the desktop content.
* on iOS Safari, the site redirects to the mobile content.
# Technical details Summary
## iOS Safari
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.newegg.com
User-Agent: Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_2_1 like Mac OS X; da-dk) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8C148 Safari/6533.18.5
HTTP/1.1 302 Found
Accept-Ranges: bytes
Age: 0
Connection: keep-alive
Content-Length: 136
Date: Fri, 07 Mar 2014 01:14:03 GMT
Location: http://m.newegg.com
Server: NEWEGG
Server: NEG-Server
Set-Cookie: NSC_xxx.ofxfhh.dpn-WJQ=ffffffffaf18324345525d5f4f58455e445a4a4221f1;expires=Fri, 07-Mar-2014 01:44:03 GMT;path=/;httponly
Vary: Accept-Encoding
X-Cache: MISS
X-Cache-Hits: 0
X-Served-By: E412
X-Ver: 0123201401
x-server-id: 105
## Firefox OS
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.newegg.com
User-Agent: Mozilla/5.0 (Mobile; rv:26.0) Gecko/26.0 Firefox/26.0
HTTP/1.1 200 OK
Accept-Ranges: bytes
Age: 116
Cache-Control: private, max-age=60
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 68592
Content-Type: text/html; charset=utf-8
Date: Fri, 07 Mar 2014 01:17:00 GMT
Expires: Fri, 07 Mar 2014 01:16:01 GMT
GA: 0
Last-Modified: Fri, 07 Mar 2014 01:15:01 GMT
NEG-Created: 3/6/2014 5:15:01 PM
Server: NEWEGG
Server: NEG-Server
Set-Cookie: NSC_xxx.ofxfhh.dpn-WJQ=ffffffffaf18324445525d5f4f58455e445a4a4221f1;expires=Fri, 07-Mar-2014 01:46:57 GMT;path=/;httponly
Vary: Accept-Encoding,Accept-Encoding
X-Cache: HIT
X-Cache-Hits: 34
X-Served-By: E415
X-Ver: 0123201401
x-server-id: 114
## Firefox Android
GET / HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate, compress
Host: www.newegg.com
User-Agent: Mozilla/5.0 (Android; Mobile; rv:26.0) Gecko/26.0 Firefox/26.0
HTTP/1.1 200 OK
Accept-Ranges: bytes
Age: 0
Cache-Control: private, max-age=60
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 68557
Content-Type: text/html; charset=utf-8
Date: Fri, 07 Mar 2014 01:17:41 GMT
Expires: Fri, 07 Mar 2014 01:18:41 GMT
GA: 0
Last-Modified: Fri, 07 Mar 2014 01:17:41 GMT
NEG-Created: 3/6/2014 5:17:41 PM
Server: NEWEGG
Server: NEG-Server
Set-Cookie: NV%5FDVINFO=; path=/
Set-Cookie: NSC_xxx.ofxfhh.dpn-WJQ=ffffffffaf18324145525d5f4f58455e445a4a4221f1;expires=Fri, 07-Mar-2014 01:47:41 GMT;path=/;httponly
Vary: Accept-Encoding,Accept-Encoding
X-Cache: MISS
X-Cache-Hits: 0
X-Served-By: E410
X-Ver: 0123201401
x-server-id: 106
Summary: newegg.com returns desktop not mobile site to Fennec → newegg.com returns desktop not mobile site to Firefox Android and Firefox OS
Whiteboard: [serversniff] [country-us] [contactready]
![]() |
||
Comment 4•11 years ago
|
||
suggestedfix |
Suggestion for fixing the issue. Sending the same version of the site to Firefox OS and Firefox Android.
The [UA string for Firefox OS][1] has the patterns
"Mozilla/5.0 (Mobile; rv:$VERSION) Gecko/$VERSION Firefox/$VERSION"
"Mozilla/5.0 (Mobile; nnnn; rv:$VERSION) Gecko/$VERSION Firefox/$VERSION"
* where `$VERSION` is a number.
* where `nnnn` is a string.
The UA string for Firefox Android has the patterns
"Mozilla/5.0 (Android; Mobile; rv:$VERSION) Gecko/$VERSION Firefox/$VERSION"
but we usually recommend to identify the substring `/mobi/i` as much as possible so it will also help other browser vendors on mobile. If you are afraid to match ipad. You could match on "mobi" lowercase but not "ipad".
[1]:
https://developer.mozilla.org/en-US/docs/Gecko_user_agent_string_reference#Firefox_OS
Assignee | ||
Updated•11 years ago
|
Whiteboard: [serversniff] [country-us] [contactready] → [serversniff] [country-us] [contactready][mentor=astevenson]
Assignee | ||
Comment 5•11 years ago
|
||
Contacting Newegg customer support on Twitter: https://twitter.com/MozWebCompat/status/455854469222109185
Assignee: nobody → astevenson
Status: NEW → ASSIGNED
Whiteboard: [serversniff] [country-us] [contactready][mentor=astevenson] → [serversniff] [country-us] [sitewait][mentor=astevenson]
Updated•11 years ago
|
Mentor: astevenson
Whiteboard: [serversniff] [country-us] [sitewait][mentor=astevenson] → [serversniff] [country-us] [sitewait]
![]() |
||
Comment 6•10 years ago
|
||
I have sent an email to Ross Higgins who is doing UX for newegg. See also https://github.com/webcompat/web-bugs/issues/1123#issuecomment-105142413
![]() |
||
Comment 7•10 years ago
|
||
We got an answer. Very cool
> I have forwarded your email to our tech team.
> Thanks for bringing it to our attention. We strive
> to give everyone the best shopping experience and
> this will help.
![]() |
||
Comment 8•10 years ago
|
||
Ross just told me they fixed it.
And this is FIXED!
Thanks to Ross and the technical staff of newegg.
With Love From Mozilla.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Searching on Google for "newegg" correctly brings up m.newegg.com as the first result. However visiting newegg.com directly from the url bar does not then redirect to m.newegg.com.
Stock browser correctly redirects.
This is on 41.0a1
![]() |
||
Comment 10•9 years ago
|
||
Reopening. We receive again the Desktop site.
* Firefox Android without version number is receiving the mobile site
* Firefox Android WITH version number is receiving the DESKTOP site
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
![]() |
||
Comment 11•9 years ago
|
||
contact email |
Contacted Ross again.
![]() |
||
Comment 12•9 years ago
|
||
This is fixed again! Very cool.
Thanks Ross.
Status: REOPENED → RESOLVED
Closed: 10 years ago → 9 years ago
Resolution: --- → FIXED
![]() |
||
Comment 13•9 years ago
|
||
There are issues that I'm tracking at
https://webcompat.com/issues/1123
Updated•6 years ago
|
Product: Tech Evangelism → Web Compatibility
Updated•1 year ago
|
Component: Mobile → Site Reports
You need to log in
before you can comment on or make changes to this bug.
Description
•