I'm trying to implement a decent navigation in a AJAX application. What I am doing right now is the following:
The third point is a bit annoying: I'd rather not have a timeout every 500ms just to check the hash, as most of the time it will stay the same.
Is there a better way to manage this? I cannot think of any alternatives, but maybe I am missing something.
Please, do not point me towards ready-made solutions, unless you know they are based on a different mechanism.
On your computer, open Chrome. History. On the left, click Clear browsing data. A box will appear.
How to Delete Search Bar history on Chrome. When the drop-down list of suggestions appear, you can highlight an entry by pressing the down arrow key. Then press “Shift-Delete” to remove the highlighted entry from the list. This is the simple way to only remove specific words or phrases.
You can delete a specific activity, or delete your Search history from a specific day, a custom date range, or all time. On your computer, go to your Search history in My Activity. Choose the Search history you want to delete.
There is the "hashchange" event, which is to be implemented in HTML5. I'm not sure how good support is now... IE8 supports it, and I think Mozilla have their own implementation in a recent release. Other than that, there is nothing I'm afraid. Checking exery x ms is the way everyone does it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With