I have a requirement to create a firefox addon where i need to save the state of a dynamically rendered page along with all the events.
While interacting with page. the user might make multiple catalog selections using select option,check boxes swatches etc.
I need to restore the page to it's original state or a state in between without the page reload. I don't have control over the webpage hence a addon requirement.
I have tried using jquery clone and it does not work. After spending loads of time. i think if i can push the page to firefox bfcache and pop the saved state from cache. this problem would be solved. in one of the stackoverflow query someone had demonstrated this using http://www.twmagic.com/misc/cache-nocache.html
How would i go about using this approach or any other ? any pointer , links to sample would be greatly appreciated.
Thanks