on 12-04-2013 10:54
on 12-04-2013 10:54
Hi all
I have a very simple HTML5 web app built using jQuery Mobile. All is fine apart from on O2 3g which completely destroys the jQuery code. Spent hours Googling and have tried all the ideas (IIS no-transform cache headers, writing script files as document.write etc.) and nothing has worked. Does anyone have the definitive solution for this?
BTW - O2 really are putting HTML5 development back with this approach which I guess Apple, Microsoft et al will be quite happy with....
Solved! Go to Solution.
on 13-04-2013 11:51
Hi - I have had confirmation that it is now working on iPhone 5 on O2 3g. Do you have an O2 iPhone to test for me?
After more hours Googling, I went down the cache-control no-transform route. Adding this as an HTML meta tag had no effect (I did see a discussion on whether HTML5 recognises this). Then tried setting in IIS with no effect. Finally converted the root page to a classic ASP page and added Response.AddHeader for the cache-control. Not counting my chickens but I do love classic ASP!!!
Hopefully this is the end of it. O2 need to look at their compression code though. Thanks for all your help.
on 12-04-2013 15:25
on 12-04-2013 15:25
on 12-04-2013 15:48
Basically the page (it's a one page app) is totally obliterated. If anything appears (occasionally) all styling has been lost and no HTML5 tags are understood. It will look like an HTML5 page would look like in a non-HTML5 browser e.g. IE8.
Plenty of Googling has uncovered that the O2 software strips out code that appears between <* and *> but doesn't sufficiently check jQuery. Hence it get's butchered.
on 12-04-2013 15:53
on 12-04-2013 15:53
on 12-04-2013 16:14
No probs. It's www.kanoo-fx.co.uk. As I mentioned, confirmed as working on the device when on Wi-Fi.
Cheers for any help.
on 12-04-2013 16:49
on 12-04-2013 16:49
on 12-04-2013 17:33
yep. assuming you haven't registered. you then get more rates and ability to reserve currency etc. if you had location services on it should have picked up your nearest store.
on 12-04-2013 17:37
to the point about alternative technologies, I can't really change now. The app works fine on all manner of Android, Windows Phone, iPhone and Blackberry devices....it's just the O2 3g issue that is killing me at the moment.
on 12-04-2013 20:08
on 12-04-2013 20:08
on 13-04-2013 11:51
Hi - I have had confirmation that it is now working on iPhone 5 on O2 3g. Do you have an O2 iPhone to test for me?
After more hours Googling, I went down the cache-control no-transform route. Adding this as an HTML meta tag had no effect (I did see a discussion on whether HTML5 recognises this). Then tried setting in IIS with no effect. Finally converted the root page to a classic ASP page and added Response.AddHeader for the cache-control. Not counting my chickens but I do love classic ASP!!!
Hopefully this is the end of it. O2 need to look at their compression code though. Thanks for all your help.