Closed
Bug 934128
Opened 11 years ago
Closed 6 years ago
www.americanas.com.br doesn't open the mobile site on FirefoxOS
Categories
(Web Compatibility :: Site Reports, defect, P5)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: leonardo.balter, Unassigned)
References
()
Details
(Whiteboard: [mobile-compat-form][country-br][clientsniff][sitewait])
Site: http://www.americanas.com.br www.americanas.com.br doesn't open the mobile site on FirefoxOS :: Steps To Reproduce 1. access www.americanas.com.br on my Firefox OS phone 2. it doens't open the mobile site and the desktop site doesn't have the viewport set. 3. if I open on my Firefox for Android I get to the mobile version ... I didn't find the userAgent detecting. :( and even tried to sniff using curl and httpie, without success. :: Expected Result Opening the mobile friendly site on FirefoxOS :: Actual Result Opened the desktop site not friendly to mobiles on FirefoxOS :: Additional Information Software Version: Firefox OS 1.1.0.1 Device Information: LG Fireweb D300. Firefox OS 1.1 Reporter's User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:28.0) Gecko/20100101 Firefox/28.0
Reporter | ||
Updated•11 years ago
|
Whiteboard: [mobile-compat-form] → [mobile-compat-form][country-br]
Comment 1•11 years ago
|
||
Yep, they're doing some UA sniffing in http://img.americanas.com.br/js/mobileRedir.js: var isMobile = userAgent.match(/iP(hone|od)|Android.*Mobile|BlackBerry/) != null; ... if (isMobile && (mobileCookie != "1" || mobileQuery == "0") && mobileQuery != "1" && mobileQuery != "2") { window.location = "http://m.americanas.com.br" + window.location.pathname + window.location.search; } One recommendation could be to change `isMobile` to the following: var isMobile = userAgent.match(/iP(hone|od)|(Android|Firefox).*Mobile|BlackBerry/) != null; But if they want to be even more inclusive, var isMobile = userAgent.match(/iP(hone|od)|mobi|BlackBerry/) != null;
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [mobile-compat-form][country-br] → [mobile-compat-form][country-br][clientsniff][contactready]
Reporter | ||
Comment 2•11 years ago
|
||
Looks like they're doing the same as Submarino (see #937441). I think both sites are from the B2W company, I'll try to get in touch with them.
Comment 3•10 years ago
|
||
Tried filling out the site form but not sure it went through.
Comment 4•10 years ago
|
||
I explained the issue to a contact from B2W that Leo provided me.
Whiteboard: [mobile-compat-form][country-br][clientsniff][contactready] → [mobile-compat-form][country-br][clientsniff][sitewait]
Comment 5•10 years ago
|
||
Nothing has changed as of today. Mike did you get any answers from this person? http://www.b2wdigital.com/en Trying an additional contact http://twitter.com/MozWebCompat/status/496612475245039616
Flags: needinfo?(miket)
Comment 6•10 years ago
|
||
@Karl, I never did. The last email was from February, but I just sent another message asking her to ping the developers she passed the bug fixes along to.
Updated•8 years ago
|
Priority: -- → P5
Comment 7•6 years ago
|
||
I don't think we are going to work on this anymore, closing.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•5 years ago
|
Product: Tech Evangelism → Web Compatibility
Assignee | ||
Updated•1 month ago
|
Component: Mobile → Site Reports
You need to log in
before you can comment on or make changes to this bug.
Description
•