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)

Other
Gonk (Firefox OS)
defect

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();
Whiteboard: [mobile-compat-form][clientsniff][country-cn][contactready]
OS: Android → Gonk (Firefox OS)
Priority: -- → P5
Closing as we are not working on Firefox OS anymore.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
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.