6 ms·
I just wish there were a way to save page state along with a bookmark or similar. Sometimes I'd really like to close a ton of tabs, or just close my browser, o
by crazygringo 6y ago
I just wish there were a way to save page state along with a bookmark or similar.
Sometimes I'd really like to close a ton of tabs, or just close my browser, or a whole window, and reopen tomorrow.
But I'm relying on scroll position to know where I am in 20 different documents, or login credentials that only last for 24 hours, or certain comment threads that have been expanded while others have been collapsed, or my position in a video, etc etc etc.
And all of that gets lost if I close a tab or even restart my browser to upgrade.
I just want to serialize the current DOM/source files and JavaScript/window state to unserialize it later. Sure, network connections will break but websites can usually handle that.
Because while the organization/usage of tabs/bookmarks is one thing, a HUGE roadblock to closing tabs is losing state.
I'm sure it wouldn't be even close to trivial for browsers to build, but it still would just be so helpful.
- diego898 6y agoThis is a huge problem for me as well. If you find something please report back! It would be a huge benefit to me as well!
- swiley 6y ago> a way to save page state along with a bookmark or similar. This is next on the todo list for the browser I'm writing. I have a lot of ideas for it but I want to get some basic javascript working first.
- deleted 6y ago[deleted]
- kirubakaran 6y agoI'm working on this for https://histre.com/features/save-restore-tabs/ https://histre.com/features/save-restore-tabs/
- pseudalopex 6y agoIs it end to end encrypted?
- fabrice_d 6y agoThis is (bugs withstanding) what Firefox does if you choose to"Restore previous session" int the General/Startup section of about:preferences . This feature is provided by a Gecko component called the the session store (https://searchfox.org/mozilla-central/source/toolkit/components/sessionstore https://searchfox.org/mozilla-central/source/toolkit/compone...).
- qbasic_forever 6y agoYeah I've been relying on this for about a year and have been really impressed. It's the first restore browser session I've ever used that just works. I never get "oops corrupted session, start over!" errors, etc like I used to get with chrome. Everything just fires back up with all the tabs, all the extensions, even all the different browser windows I had before. And it handles ungraceful shutdowns/restarts really well (which sadly are far, far too common on this early generation Ryzen APU laptop and the current mainline Linux kernel :( ).
- tux1968 6y agoWhat makes it especially nice is that it doesn't reaload all the tabs at restart. Rather it waits until you switch to an old tab before it restores its state. This means you start up much faster and you're not consuming gobs of resources either.
- qbasic_forever 6y agoExactly! Yeah I have dozens of tabs open and never fear restarting the session. Hats off to the dev that implemented it--it's a really well thought out and implemented feature.
- deleted 6y ago[deleted]
- the_pwner224 6y agoThanks, that seems really useful. I sometimes need to restart my computer but don't want to lose all my Firefox windows and tabs, so I would force kill Firefox and have it restore the 'crashed' session after rebooting. That did work very well, but this is a much cleaner solution.
- spython 6y agoPerhaps Webmemex is what you are looking for? https://blog.webmemex.org/ https://blog.webmemex.org/ More specifically freeze-dry, code for page state saving: https://github.com/WebMemex/freeze-dry https://github.com/WebMemex/freeze-dry
- catchmeifyoucan 6y agoHi. I may have something for ya. I'm building Amna (https://getamna.com https://getamna.com) which manages tabs with tasks. Amna can do this (kind of). If you don't explicitly "close" a a browser window within Amna, it will just minimize the window. So it preserves the state (e.g scroll), while still giving you freedom to work on something else with a clean slate. It's not perfect, since the tabs aren't really closed, they'd be just out of sight. But it's a start in that direction. On the flip-side, in case your computer shuts down or whatever, the tabs are saved still. One challenge I've run into state preservation is auth, a lot of websites actually log you out (e.g. AWS Console, Sendgrid), even if you have them open in the background.
- Dyac 6y agoIs it possible to import tasks from other systems? Across my business we already use asana, trello, Jira and Monday, and there's also Google tasks in Gmail. Right now I use tacoapp to bring them all into one screen, literally just the title and link to the task. Can you do something similar?
- catchmeifyoucan 6y agoThanks for sharing, I hadn’t heard of taco app before. That’s where I want to get to. For now you can import Google or Microsoft Tasks. I’ve been working on a integrations library for all of these services: https://www.npmjs.com/package/integrations-lib https://www.npmjs.com/package/integrations-lib
- FlingPoo 6y agoWith Chrome (at least on Windows), if you use task manager to kill the Chrome process, then run Chrome again, it will ask you if you want to restore the tabs. It will remember all of them, and the point (scroll position) of each tab. Clearly Chrome is keeping this info up-to-date in case it crashes (or someone kills it in task manager). So if its already doing this, they should add in a feature to to it manually, so I don't need to kill the task.
- tacticalmook 6y agohistory > recently closed > open n tabs This does not appear to be available in your full history, though
- crazygringo 6y agoOn Mac, it asks to restore tabs, but it simply reloads each tab from scratch, whenever you navigate to that tab. It absolutely does not remember scroll position, much less any of the remaining state of the page.
- lowbloodsugar 6y agoMinimize window?
- zzo38computer 6y agoI wanted such thing too (it is only one of very many things I would want in a new web browser program). I would also want to be able to save it to a file with a documented format, so that it can be examined, edited, copied, etc. Such a feature is then capable of doing other things too, such as a "duplicate tab" command, etc, which you can get almost "for free" when such a thing is implemented. (I also want the separate ability to save only form data to a file; sometimes saving the entire state is not wanted.)
- jackewiehose 6y ago> And all of that gets lost if I close a tab or even restart my browser to upgrade. Or when you just visit a link and then press the back-button. I remember 20 years ago you would press the back-button and your previous page was IMMEDIATELY restored, no network request involved. It feels like today the browser cache isn't used at all. This is especially disappointing with the new Firefox Mobil where they removed offline-mode among other features.
- warent 6y agoI think this depends on the website implementation / headers. For example, for any SPA, you hit the back button and get what you had before, often times no network requests made at all because local data caching. As a web developer I see having control over this rather than the web browser as a good thing.
- dredmorbius 6y agoWas a time that the cache pragma / reload interval could be explicitly set by the client. As much as ensuring current data is sometimes relevant, having a tab show up empty, with a 404 (linkrot), or with some redirect to utterly unrelated content is ... not serenity-inducing. Mozilla's operating premise is that the browser serves users, not publishers. That promise rings somewhat hollow these days, though I enthusiastically applaud the concept.
- throwawaysea 6y agoI would also like to be able to bookmark a page along with saving its contents entirely as a snapshot (the text of the page, a screenshot of the page, a PDF of the page, or all of the above) in some standard format. That way I can do a full-text search through my past tabs or bookmarks to find what I am looking for, and look at it again, even if the site is presently inaccessible. Is there anything that does that? Or any software that can automatically do that for all the bookmarks I've accumulated (especially those behind logins)?
- CiceroCiceronis 6y agoZotero is exactly what you’re looking for.
- gildas 6y agoSingleFile has an option to save bookmarked pages.
- exikyut 6y agoSo did some Chrome developers back in 2015. From https://developers.google.com/web/updates/2015/09/tab-discarding https://developers.google.com/web/updates/2015/09/tab-discar...: > Future improvements: the tab serializer > The tab serializer is a future piece of work we think may lead to significant improvements on our current approach to tab discarding. It takes the contents of a Chrome tab and serializes its current state into a binary blob. This binary blob can later be deserialized into a tab. > The serializer would serialize almost everything Chrome, Blink and V8 need to properly preserve a tab (something Chrome extensions tackling this problem historically haven't been able to easily achieve). Serialization would include the usual suspects: the DOM (with a lot of WebGL and Canvas included), CSS and the state of the V8 JavaScript VM. > If you use Android or ChromeOS, you may know that (similar to the tab discarding experiment covered in this post) we kill background tabs aggressively in order to ensure memory usage is low. The issue with the way we tackle this was that your tab would lose all of its state. > When you showed interest in the tab again, we would have to reload it and all your interaction with it would be lost. The tab serializer just approaches this problem in a way that gets you back to almost exactly what you were without requiring going back to the network. > We look forward to sharing more information about this work at a later date. 6 years later, we have... wait for iiiiiit... something called "freeze-dried tabs": https://www.xda-developers.com/google-chrome-89-freeze-dried-tabs/ https://www.xda-developers.com/google-chrome-89-freeze-dried... It basically presents a pseudo-image of the current tab while the actual tab is loading in the background. The pseudo-picture contains text and image drawing commands so it can be zoomed in and out, and it's a snapshot of the entire webpage (probably subject to limitations I'm yet to identify). It's not interactive though beyond having a concept of "hit targets" for anchor elements, and AFAIK Android's only using it to speed up perceived browser startup at the moment (so not for tab switching). To me, the fact that this silly feature has shipped on Android ("THE" platform), and for the most part very imperfectly filled the vacuum that would have been a canonically perfect match for tab serialization, is fairly concrete signal that tab serialization will never be implemented. D: I can admittedly sorta appreciate that WebGL and DRM state would probably be tricky to perfectly save - the text says "a lot of", suggesting that the feature would sometimes fail and produce an inconsistent experience. Hmph. That would be better than nothing. And it's not like Google couldn't go look at how Firefox does it for ideas.... Sometimes I just wish a bunch of rich millionaires with no idea what to do with their money would make a giant big deal about _paying Google_ to implement specific obscure features into Chrome - like this one :D. It would cause all sorts of hilarious chaos in terms of processing the payment, which would itself make for excessively amusing headlines about feature prioritization and such.
- softsound 6y agoThere is a browser I use for a lot of this called Sidekick https://www.meetsidekick.com/ https://www.meetsidekick.com/ I found it's good for organizing tabs and creating different sessions for different tasks. It works on most pages pretty well but every once and a while I still have to go into a standard chrome browser to make sure I'm still seeing the same page as other folks. Still pretty great overall. I save multiple different session types easily and don't have to worry about losing where I'm at.