Closed Bug 959481 Opened 12 years ago Closed 11 years ago

m.tieyou.com 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: hsteen, Assigned: yliu)

References

()

Details

(Whiteboard: [clientsniff] [country-cn] [sitewait])

Attachments

(2 files)

Attached image 513.png
Client-side sniffing: <script> function IsPC() { var userAgentInfo = navigator.userAgent; var Agents = ["Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod"]; for (var v = 0, l = Agents.length; v < l; v++) { if (userAgentInfo.indexOf(Agents[v]) > 0) { return false; } } return true; } if (IsPC()) { location.href = 'http://www.tieyou.com'; } </script>
Assignee: nobody → yliu
Status: NEW → ASSIGNED
We have already contacted tieyou . They are working on this website.
Whiteboard: [clientsniff] [country-cn] [contactready] → [clientsniff] [country-cn] [sitewait]
Attached image website fix.png
This bug has been fixed.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
m.tieyou.com returns mobile site now.
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.

Attachment

General

Created:
Updated:
Size: