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)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: haseeb, Unassigned, Mentored)
References
()
Details
(Whiteboard: [country-in][clientsniff][contactready])
No description provided.
Comment 1•11 years ago
|
||
description |
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]
Updated•11 years ago
|
Mentor: hsteen
Whiteboard: [country-in][mentor=hsteen][clientsniff][contactready] → [country-in][clientsniff][contactready]
![]() |
||
Updated•9 years ago
|
Priority: -- → P5
Comment 2•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
•