I want to be able to save a tab's state in Firefox or Google Chrome so that I can restore it later, through writing a custom add-on/plug-in/extension.
The closest thing I can find is Firefox's session store API, which can save form data and scroll position. However, I want to save Javascript state too. In addition, if possible, I want to be able to restore the page even if the website is no longer available. It would be the best if there a way to save all the parsed resource/data structure.
Is it possible for any of the major browsers?
Other methods for saving tabs in Firefox. You can use Firefox bookmarks to save tabs. Warning — this method is pretty clunky and requires you to manually save your tabs anytime you make a change. Here’s how: Select Bookmark all tabs from the Bookmarks menu at the top of your browser.
Tab Unloading is a new feature that helps reduce memory usage by unloading tabs that you are not actively using. To avoid crashes, Firefox will automatically select and unload these open tabs when the system's memory is low, starting in Firefox version 93 on Windows.
For this browser, there was always a keyboard shortcut available in the form of ‘Shift+Esc’ to display and monitor the memory usage by Chrome extensions and browser tabs in the Google Chrome Task Manager window.
How to Save a Session in Firefox 1 To save your browser session in Firefox, the easiest way is to bookmark all the tabs and save it in a special folder in your Bookmarks menu. Simply... 2 You will see a popup window on your screen where you will name the folder according to where you want to save this set of tabs. See More....
Try using Session Buddy: https://chrome.google.com/webstore/detail/session-buddy/edacconmaakjimmfgnblocblbcdcpbko. I've been using it for a while now, and it does exactly what you're talking about and more.
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