NOTE: This information is probably slightly out of date. Will update soon.
unFocus History Keeper is a JavaScript based library for managing browser history (back button) and providing support for deep linking for single page browser based applications, also called RIAs, and usually based on Adobe Flash Player or Ajax, though this should work with other scriptable runtimes as well, such as Microsoft's SilverLight or Sun's JavaFX.
For some demos, you can check out the test pages in SVN (view the raw file links) or check out adcSTUDIO (uses an old version). The test page contains a small silly JavaScript application that takes what you put in a confirmation box, and makes a history entry out of it.
You can check out the latest version from SVN from either the trunk (I try to keep it working there, but no guarantees) or one of the tagged releases (each release gets a tag), or you can download the latest release archive from the downloads page on the google code site.
You will find two compressed JavaScript files in the root of the archive, unFocus-History-p.js, unFocus-HistorySwf-p.js.
unFocus-History-p.js contains:
- EventManager.js
- History.js
unFocus-HistorySwf-p.js contains:
- EventManager.js
- History.js
- FlashPlayerInfo.js
- SwfUtilities.js
- SwfHTML.js
unFocus-History does this for you:
- Enables back button support, for your client-side web apps!
- Hash based deep linking (Anchor Style - index.html#foo=bar)
- Event driven - Event Dispatcher
- Support for all current browsers:
o Opera o Firefox o Safari 1.2+ o IE 5.5+ o Chrome
Known Limitations:
- All history entries (back button states) modify the location string. Support for iframe based back button events that do not modify the location string are being looked into (this may not be possible to use in combination with location based history techniques, in current browsers, though things are looking good for IE8).
- Doesn’t remember last entry if you leave the app and come back in some browsers (that’s a bug, I’ll fix it).
- Editing the url manually will stop further updates to the url in some browsers (this is being addressed by the various browsers - there is no available javascript workaround).
- Konqueror support is still a bit flaky (the history is off by one in an odd way).
Related Links - Note: I’m trying to put links to everyone who helped me out over the years. If I left you out, please let me know.
- Hypergeneric Flash History
ObjectPatentMagic-p.js is a compressed version of Object Patent Magic of course. Features:
Note ObjectPatentMagic is obsoleted by the removal of the "click to activate" patent workaround from IE in a recent patch. I will stop addressing that issue altogether myself, and will remove ObjectPatentMagic from future releases (it'll stick around in older SVN branches, though to be honest, it was always a bit buggy anyway).