cancel
Showing results for 
Search instead for 
Did you mean: 

O2 3g proxy compression software

Anonymous
Not applicable

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....

Message 1 of 11
3,560 Views
1 ACCEPTED SOLUTION

Accepted Solutions

Anonymous
Not applicable

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.

View solution in original post

Message 10 of 11
3,348 Views
10 REPLIES 10

Liquid
Level 44: Clearly Talented
  • 5942 Posts
  • 98 Topics
  • 305 Solutions
Registered:
What errors are you producing?

I have recently produced an app (not html5 though) using jquery and O2 3G is not affecting it.
Nothing sucks more than that moment during an argument when you realize you’re wrong. So Ive been told wink
Message 2 of 11
3,448 Views

Anonymous
Not applicable

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.

Message 3 of 11
3,441 Views

Liquid
Level 44: Clearly Talented
  • 5942 Posts
  • 98 Topics
  • 305 Solutions
Registered:
Hmm that's a sod.

Let me do some research and ill get back to you.

Do you have a link to your page? Just so I can see source code as well.

Pm me if you don't want it public.
Nothing sucks more than that moment during an argument when you realize you’re wrong. So Ive been told wink
Message 4 of 11
3,438 Views

Anonymous
Not applicable

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.

Message 5 of 11
3,429 Views

Liquid
Level 44: Clearly Talented
  • 5942 Posts
  • 98 Topics
  • 305 Solutions
Registered:
Ok I can't promise anything but ill have a look. Do you have any adversion to using anything other than jquery/html5 if it offers a solution?

Just to check I've got everything. It shows me exchange rates between usd and euro nothing more?
Nothing sucks more than that moment during an argument when you realize you’re wrong. So Ive been told wink
Message 6 of 11
3,409 Views

Anonymous
Not applicable

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.

Message 7 of 11
3,399 Views

Anonymous
Not applicable

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.

Message 8 of 11
3,396 Views

Liquid
Level 44: Clearly Talented
  • 5942 Posts
  • 98 Topics
  • 305 Solutions
Registered:
I'm a bit of prude when it comes to signing up for things sorry.

Ok well ill do my best and see if I can find a way around it.

Lets hope for an easy fix grin
Nothing sucks more than that moment during an argument when you realize you’re wrong. So Ive been told wink
Message 9 of 11
3,374 Views

Anonymous
Not applicable

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.

Message 10 of 11
3,349 Views