News for hackers. Stuff that matters.
Re:The case of the disappearing favicon by bnoland on Monday August 23, 2010 @02:17PM (#1627514)
Out of curiosity, why would one set window.location.hash?
Re:The case of the disappearing favicon by bcl on Monday August 23, 2010 @02:58PM (#1627656)
In order to maintain the usability of the URL in a heavily AJAX application.

For example, with movielandmarks I designed it so that you don't use back/forward at all. But I wanted to provide a useful URL for bookmarking and sharing with friends. So I used the hash for this because changing the actual URL of the page forces a refresh.

Re:The case of the disappearing favicon by andreyf on Monday August 23, 2010 @03:00PM (#1627658)
To save some state of your JS application which can be saved to bookmarks (or copy-pasted to someone else). For example, Gmail adds "#sent/12aa04feebaac50e" when I open an e-mail I just sent. Also, to get the "back" button to work properly in JS applications.