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)

Other
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: haseeb, Assigned: haseeb)

References

()

Details

(Whiteboard: [mobile-compat-form][country-in][clientsniff][sitewait])

Attachments

(1 file)

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
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]
Whiteboard: [mobile-compat-form][country-in][clientsniff][contactready] → [mobile-compat-form][country-in][clientsniff][contactready][sitewait]
Assignee: nobody → Abdulraufhaseeb
Status: NEW → ASSIGNED
Whiteboard: [mobile-compat-form][country-in][clientsniff][contactready][sitewait] → [mobile-compat-form][country-in][clientsniff][sitewait]
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
i got a call from them and they said they are looking into it( I sense this as formality), will contact the above persons
This is fixed. Thanks Abdul.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Right now the site loads nothing but an empty white page here..?
Hallvord, no issue here.
sigh - I should try to load icic*i*bank rather than icicbank ..
Status: RESOLVED → VERIFIED
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.

Attachment

General

Created:
Updated:
Size: