Closed
Bug 1089144
Opened 11 years ago
Closed 10 years ago
sicredi.com.br sends desktop site to Firefox OS
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: magsout, Unassigned)
References
()
Details
(Whiteboard: [country-br] [clientsniff] [contactready])
Site: http://www.sicredi.com.br/
http://www.sicredi.com.b is sending desktop content to Firefox OS
:: Steps To Reproduce
1. Go to http://www.sicredi.com.br
2.
3.
...
:: Expected Result
Receive a mobile friendly content like it is happening for Safari iOS, redirection to http://www.sicredi.com.br/mobile/phone/index.html
:: Actual Result
Received the Desktop Content.
Comment 1•11 years ago
|
||
This JavaScript fails to detect Firefox OS devices as smartphones.
if( /Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent) ) {
location.href = 'mobile/phone/index.html';
}
else if(/iPad/i.test(navigator.userAgent)){
location.href = 'mobile/ipad/index.html';
}
Whiteboard: [country-br] → [country-br] [clientsniff] [contactready]
| Assignee | ||
Updated•7 years ago
|
Product: Tech Evangelism → Web Compatibility
| Assignee | ||
Updated•2 years ago
|
Component: Mobile → Site Reports
You need to log in
before you can comment on or make changes to this bug.
Description
•