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)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: hsteen, Assigned: yliu)
References
()
Details
(Whiteboard: [clientsniff] [country-cn] [sitewait])
Attachments
(2 files)
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>
![]() |
||
Updated•11 years ago
|
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]
Comment 2•11 years ago
|
||
This bug has been fixed.
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 3•11 years ago
|
||
m.tieyou.com returns mobile site now.
Updated•7 years ago
|
Product: Tech Evangelism → Web Compatibility
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
•