Closed Bug 1008510 Opened 11 years ago Closed 10 years ago

blog.hu 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: zoltan_private, Unassigned, Mentored)

References

()

Details

(Whiteboard: [country-hu][clientsniff][contactready])

Sends Desktop site to FFOS.
This site intends to send mobile browsers to a mobile site, but doesn't know that Firefox OS devices are smartphones. Hence the browser on Firefox OS phones get desktop content instead of mobile. The site adapts to mobile layout with the following JavaScript: <script> if(/Android|webOS|iPhone|iPod|IEMobile|BlackBerry/i.test(navigator.userAgent)) { // tablets, mobiles except iPad document.write('<meta name="viewport" content="width=device-width, user-scalable=no"><link rel="stylesheet" href="/assets/frontend/css/frontpage/mobile.css" />'); } </script> This should be fixed to take Firefox OS into account, for example by matching the string "Mobi" or "Mobile" separately in the regular expression.
This bug is now fully analysed and anyone in the Mozilla community is welcome to reach out (politely! ;)) to blog.hu. You can use this letter template or tweet: https://wiki.mozilla.org/Compatibility/StdLetters#Hungarian and also include this URL: http://webcompat.com/simplebug/index.html#mozilla/1008510 to give the site's webmaster a quick overview of the bug. If you contact the site, please assign the bug to yourself and change "[contactready]" to "[sitewait]" in the box named "Whiteboard" (ask me if you can't change it). Thank you!
Whiteboard: [country-hu] → [country-hu][clientsniff][contactready][mentor=hsteen]
Mentor: hsteen
Whiteboard: [country-hu][clientsniff][contactready][mentor=hsteen] → [country-hu][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.