Tuesday, November 13, 2007

IE Continues to prove that it sucks

Today I was making a task of enabling the browser back/forward buttons to navigate through actions done by javascript, which in English means if you for example opened a message in you email inbox and clicked back to get back to your inbox, you can see the inbox page, this sounds to be normal but if these actions were done originally using Javascript you will feel it.

so I tried the normal solution which is appending the actions into the urls as hash values to the end of the url, so the browser feels the change and when you click on back, you get the expected behavior, but unfortunately all browsers saves history records for the hashes except the IE of Microsoft, which doesn't for no reason.

I looked that up and I found an interesting table here

IE 7

FF 2

Opera 9

Safari 2 Mac

Safari 3 Win beta

Safari 3 Mac beta
URL changes Yes Yes Yes Yes Yes Yes
Creates history entry No Yes Yes Yes Not on first page Yes
Back doesn't kill timers Yes Yes Not in 9.23
Yes in 9.10
Yes Yes Yes
Back enables forward Yes Yes Yes Yes Sometimes Yes
location.hash reflects changes in the url Yes Yes Yes No Yes Yes

The only solution I found is via using a hidden iframe inside the page. I am working on it, I will keep you updated.

Bookmark and Share

1 comments:

Tamer Mokhtar said...

I'm not a technical person but i agree about IE become sucks & Firefox is extremely better, i stopped using IE for more than one year since i got enforced to upgrade to IE7 through this stupid automatic upgrade,and after things almost everything crashed lost my bookmark was rich.
i started to collect again with Firefox and since then it's fine,

the only concern that not all the website specially in the middle east still supporting IE only, talking about styles & CSS.