How can I change Firefox window.location.hash without creating a page reload?
<p>I'm storing some state information in the URL fragment (hash, whatever you call it).  When I change the <code>window.location.hash</code> in Chrome, and Safari the page doesn't reload - this is the behavior I want.  When I change <code>window.location.hash</code> in Firefox, I get a page reload.  How do I prevent this?</p>

<p><em>Note: My reason for storing state in the URL is so that userA can send the url to userB and userB will be able so see the same page (loaded by AJAX).</em></p>

<hr>

<p>Resolution: For what it's worth, in Firefox (only?) the page will reload if you completely remove the hash including the "#" character.  I ended up just making sure not to delete the entire hash.</p>
