When I change the hash location using document.location.hash or window.location.hash, most browsers have some kind of "blinking" effect. I need to prevent this, because I am implementing a history plugin based on hash changes, and the flashing effect is just ugly. I know that it works, as I have seen many Ajax-based products with this (especially Google downloads).
This is the code used to display the icon:
<link rel="shortcut icon" href="http://www.mysite.com/favicon.ico" />
source share