Skip navigation.

miscoded

the web is a hack

ticket to break

,

Just wanted to share my most bizarre online shopping experience ever.. Looking for Oslo-Osaka flights, my wife found some relatively reasonable prices on a website called ticket2travel and left the booking to me. I was in IE, not because my better half doesn't use Opera but because the search form for flights uses a JavaScript for submit, and the script uses the reserved word goto to identify a form element named "goto", and thus one can not submit the form in browsers who care about such errors. 1-0 to IE? Just you wait..

So, I filled in relevant details and completed the booking procedure - nearly. When the tickets were confirmed with the airline and I expected a payment form, Internet Explorer decided to go minimalist and presented me with an entirely empty, white popup window. What gives?

View source. Of course. That's the sort of reflex my type of work gives you. When in doubt about a website's intentions, view source. Parse the scripts in your brain. Sniff out the errors..

But there was nothing whatsoever wrong with the source. They had sent IE a complete page, and IE just refused to render it! (If the initial step doesn't work in Opera and the final not in IE what browser DID they test with? FireFox only?)

So what now? I'm just a payment away from those tickets I want. IE is broken. Is it safe to reload this page, or will I buy another set of tickets if I do? Toggling the few styles/colours settings in IE doesn't help either..

Well, what about using Opera..? But now I have a history and a session in IE, I need those cookies..

So, I steal my own cookies from IE with a bookmarklet, use Opera's cookie manager to add these cookies to Opera, copy the address over and we're off. Opera shows that very page beautifully and I can complete the booking procedure. (Turns out they want you to choose a travel agency to handle payment though, it was a disappointment since I expected to pay there and be done with it. Afterwards I've had to chase the order by phone, so all in all an example of how online shopping should NOT be done..)

The morale: caring about cross-browser compatibility isn't just about allowing customers to use their preferred browser. It is about making your site more robust against unexpected errors, because if one browser fails for whatever reason you have given the customer other possibilities.

AnniversaryWeb 2.0: same sniff, new wrapping?

Comments

scipio 21. February 2006, 20:20

Originally posted by hallvors:

View source. Of course.

:up: Of course. :smile:

Interesting case - did you ask them in which browser you were expected to buy your tickets?

Robin_reala 22. February 2006, 09:40

Usually I've found that when IE refuses to render a seemingly good page there's a rogue <script /> where it should be a <script></script>...

João Eiras 23. February 2006, 04:40

Usually I've found that when IE refuses to render a seemingly good page there's a rogue <script /> where it should be a <script></script>...

That should be the expected behaviour with html, but not xhtml.

@hallvors, I believe this is another matter for Open the web :smile:

qicaispace 29. May 2006, 03:38

Interesting case!

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies