The popstate event

Click the link below to change the hash of the URL in the address bar, fire popstate, and ultimately make an alert. Notice the URL displayed in the alert — it should be the latest URL in the address bar.

Change the hash