Closed
Bug 1035141
Opened 11 years ago
Closed 7 years ago
smart.mail.163.com redirects Firefox OS to desktop login page
Categories
(Web Compatibility :: Site Reports, defect, P5)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: hsteen, Unassigned)
References
()
Details
(Whiteboard: [mobile-compat-form][clientsniff][country-cn][contactready])
When loading http://smart.mail.163.com on a Firefox OS smartphone, we are redirected to the desktop login page on http://mail.163.com.
This JavaScript excludes smartphones that do not belong to the Android or iPhone families:
function fBrowserRedirect(){
window.sUserAgent = navigator.userAgent.toLowerCase();
var bIsIphoneOs = sUserAgent.match(/iphone/i) == "iphone";
var bIsAndroid = sUserAgent.match(/android/i) == "android";
var bForceIphoneOs = fGetQuery("dv") == "smart";
if(!bForceIphoneOs){
if(!bIsAndroid && !bIsIphoneOs){
window.location.href="http://mail.163.com/";
}
}
}
fBrowserRedirect();
| Reporter | ||
Updated•11 years ago
|
Whiteboard: [mobile-compat-form][clientsniff][country-cn][contactready]
Updated•9 years ago
|
OS: Android → Gonk (Firefox OS)
Priority: -- → P5
Comment 1•7 years ago
|
||
Closing as we are not working on Firefox OS anymore.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
| Assignee | ||
Updated•6 years ago
|
Product: Tech Evangelism → Web Compatibility
| Assignee | ||
Updated•1 year ago
|
Component: Mobile → Site Reports
You need to log in
before you can comment on or make changes to this bug.
Description
•