Bookmark: Fix back button and enable bookmarking in AJAX applications

Based on a technique used to fix a similar issue in Flash, Mike Stenhouse over at Content with Style put together a solution for Fixing the Back Button and Enabling Bookmarking for AJAX Apps.

Published June 15, 2005 · Updated September 17, 2005
Categorized as JavaScript
Short URL: https://snook.ca/s/375

Conversation

4 Comments · RSS feed
Oliver said on June 18, 2005

That is very intuitive. I wonder though, how would it work for Flash? It won't be as simple as adding an anchor to the end of the url.

Mike Stenhouse said on June 24, 2005

Hiya. I came across your link in my logs...

I'd love to see this ported back to Flash. I reckon that you'd need to modify the doGetPage method to send a JS call into the Flash app, and you'd have to send your bookmarks from the app to a PageLocator object to store the state in the url bar... My Flash days are behind me though!

Ryan Gallagher said on February 27, 2006

That....is awesome. I love it. Knew it could be done(Gmail), but i wanted somewhere to find out how to do it. Excellent.

riper said on June 16, 2007

hi, i found a full ajax website, and the back button works : http://itbreaks.net

Sorry, comments are closed for this post. If you have any further questions or comments, feel free to send them to me directly.