Site: http://www.submarino.com.br submarino.com.br has UA sniffer that doesn't detect Firefox OS :: Steps To Reproduce 1. open www.submarino.com.br on the 2. The site checks on the navigator.userAgent if it's a mobile device 3. They have a easy to see js file specified to do the step number 2: http://img.submarino.com.br/js/mobileRedir.js 4. "var isMobile = userAgent.match(/iP(hone|od)|Android.*Mobile|BlackBerry/) != null;" ... :: Expected Result get redirected to the m.submarino.com.br as it happens on Firefox for Android :: Actual Result it keeps me on the full and big sized desktop version. :: Additional Information Software Version: Firefox OS 184.108.40.206 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
Whiteboard: [mobile-compat-form] → [mobile-compat-form][country-br]
Yep, good find Leo. To fix it, they could change: var isMobile = userAgent.match(/iP(hone|od)|Android.*Mobile|BlackBerry/) != null; to something like: var isMobile = userAgent.match(/iP(hone|od)|(?:Android.*)?Mobile(?:.*Firefox)?|BlackBerry/) != null; Or if they want to be more inclusive, var isMobile = userAgent.match(/iP(hone|od)|Mobile|BlackBerry/) != null;
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [mobile-compat-form][country-br] → [mobile-compat-form][country-br][clientsniff][contactready]
Eh, maybe the non-capturing is overkill, |(Android.*)?Mobile(.*Firefox)| looks less scary.
Email sent using the site support form (http://www.submarino.com.br/atendimento-email).
Assignee: nobody → astevenson
Status: NEW → ASSIGNED
Whiteboard: [mobile-compat-form][country-br][clientsniff][contactready] → [mobile-compat-form][country-br][clientsniff][sitewait]
Probably is better to contact them is via b2w inc. http://www.b2wdigital.com/contatos They are responsible for Submarino, Americanas, etc. Maybe I have contacts in Facebook that works at B2W.
Olá Adam Stevenson, Seu atendimento referente ao pedido 0000000000 foi registrado na nossa Central de Relacionamento e o protocolo é 2014012052461. Obrigado, Time Submarino
Thanks Leo! I'll let you know if I hear anything back as well.
Response asking to send email to email@example.com. I sent standard opening letter in Portuguese.
I explained the issue to a contact from B2W that Leo provided me.
I'm getting the desktop site in Chrome/Firefox Android and in mobile Safari. If I navigate to m.submarino.com.br I get the mobile version, but the redirects aren't happening for me. Mike - can you confirm if you get the same?
Yep, <!--script src="http://img.submarino.com.br/js/mobileRedir.js"></script-->. I guess I'll close this as INVALID now, since everyone gets the desktop site.
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.