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)

All
Gonk (Firefox OS)
defect
Not set
normal

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.
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]
fixed
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
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.