Closed Bug 993867 Opened 11 years ago Closed 7 years ago

iciciprulife.com sends desktop site to Firefox OS

Categories

(Web Compatibility :: Site Reports, defect, P5)

All
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: haseeb, Unassigned, Mentored)

References

()

Details

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

No description provided.
The website has separate sites for smartphone and desktops, but their JavaScript does not detect Firefox OS devices as smartphones. This is the script: <script language="javascript"> var uagent = navigator.userAgent.toLowerCase(); if ( (uagent.search("android")> -1 && uagent.search("mobile") == -1) || uagent.search(".*(ipad|tablet|viewpad|dell streak|kindle|silk|sgh\-t849|shw\-m180S|sch\-i800|gt\-i9000t|sph\-p100|sgh\-i987|sc\-01c|sch\-i815|shw\-m180l|(gt\-p[0-9]{4}[a-zA-z]?)).*")> -1) { location.href="/public/default.htm"; } else if (uagent.search(".*(android|avantgo|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|bada|lge |maemo|midp|mmp|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|symbian|treo|up\\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino).*") > -1) { location.href="https://m.iciciprulife.com/Mobile/m.jsp"; } else { location.href="/public/default.htm"; } </script>
Whiteboard: [country-in2] → [country-in][mentor=hsteen][clientsniff][contactready]
Mentor: hsteen
Whiteboard: [country-in][mentor=hsteen][clientsniff][contactready] → [country-in][clientsniff][contactready]
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.