Safari location.hash reload bug

Run the test.

What is going on here?

Setting location.hash to the same value twice in a row causes Safari to reload the page. Tested in Safari 1.1-1.2 and equivalent OmniWeb versions.

What can be done to workaround this bug?

Don't set location.href to the same value twice in a row. If needed, set it to an intermediate value in between.


Back to HowToCreate | Contact