Closed
Bug 933670
Opened 12 years ago
Closed 11 years ago
icicibank.com isn't redirecting to mobile site on Firefox OS
Categories
(Web Compatibility :: Site Reports, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: haseeb, Assigned: haseeb)
References
()
Details
(Whiteboard: [mobile-compat-form][country-in][clientsniff][sitewait])
Attachments
(1 file)
|
698.60 KB,
image/png
|
Details |
Site: http://icicibank.com/
icicibank.com isn't redirecting to mobile site on Firefox OS
:: Steps To Reproduce
1.Open Firefox browser
2.Enter icicibank.com
:: Expected Result
http://m.icicibank.com/ mobile site
:: Actual Result
http://icicibank.com/ desktop site
:: Additional Information
Software Version: Firefox OS simulator 4.0
Reporter's User Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/28.0.1500.71 Chrome/28.0.1500.71 Safari/537.36
Comment 1•12 years ago
|
||
They've got some familiar device detection code:
var isMobile = {
Android: function() {
return navigator.userAgent.match(/Android/i);
},
BlackBerry: function() {
return navigator.userAgent.match(/BlackBerry/i);
},
iOS: function() {
return navigator.userAgent.match(/iPhone|iPod/i);
},
Opera: function() {
return navigator.userAgent.match(/Opera Mini/i);
},
Windows: function() {
return navigator.userAgent.match(/IEMobile/i);
},
SymbianOS: function() {
return navigator.userAgent.match(/SymbianOS/i);
},
any: function() {
return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Opera() || isMobile.Windows());
}
};
if( isMobile.any() || isMobile.iOS() || isMobile.SymbianOS())
{
readIt('desktop');
}
function readIt(name) {
if (getQueryStrings()=='desktop=1') {saveIt([name]);}
if ( typeof Cookies[name] != 'undefined' && Cookies[name] == 'desktop')
{ }
else
{ window.location = "http://m.icicibank.com"; }
}
They could update the script like so: https://gist.github.com/miketaylr/7453940 to be compatible with FxOS devices.
Note that you might have to clear cookies to re-test this one (as it looks for a Desktop cookie before sending to the mobile site).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [mobile-compat-form] → [mobile-compat-form][country-in][clientsniff][contactready]
| Assignee | ||
Comment 2•12 years ago
|
||
Whiteboard: [mobile-compat-form][country-in][clientsniff][contactready] → [mobile-compat-form][country-in][clientsniff][contactready][sitewait]
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → Abdulraufhaseeb
Status: NEW → ASSIGNED
Whiteboard: [mobile-compat-form][country-in][clientsniff][contactready][sitewait] → [mobile-compat-form][country-in][clientsniff][sitewait]
Comment 3•12 years ago
|
||
Abdul, was there any followup to
https://twitter.com/ICICIBank_Care/status/403135374223876096
The site is sending desktop version.
Maybe a way to reach another way
http://www.linkedin.com/pub/sujit-inamdar/7/a5/940
http://www.linkedin.com/in/rahulvjoshi
They seem to have a first.last name policy
firstname.lastname@icicibank.com
| Assignee | ||
Comment 4•12 years ago
|
||
i got a call from them and they said they are looking into it( I sense this as formality), will contact the above persons
Comment 5•11 years ago
|
||
This is fixed. Thanks Abdul.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 6•11 years ago
|
||
Right now the site loads nothing but an empty white page here..?
Comment 7•11 years ago
|
||
Hallvord,
no issue here.
Comment 8•11 years ago
|
||
sigh - I should try to load icic*i*bank rather than icicbank ..
Status: RESOLVED → VERIFIED
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
•