On Sat, 17 Sep 2011 12:45:29 -0400, Rogut?s Sparnuotos <rogutes at googlemail.com> wrote:
Benjamin Johnson (2011-09-17 10:14):
Speaking of restoring sessions, one of my own users had the very clever idea to implement that feature using bookmarks -- save all the open tabs in a certain bookmarks section, then load all the bookmarks in that section on startup. I haven't coded it yet, but I wanted to share since it was such a neat solution to that problem.
I guess this would be much better than nothing, and separate sessions could use separate bookmark sections (controlled by a command line parameter or dialogs)... Though one gets spoiled by the ones like Firefox, that take the pain of restoring POST data, this approach is not bulletproof and perhaps for dillo it would suffice to restore a simple URL list into tabs.
I should note that this suggestion was for Dillo-Win32, which has the bookmarks code built into the browser (and already supports loading an entire bookmarks section in tabs). So it's quite practical there, since it's just reusing existing code. I doubt the bookmarks approach would work as well in mainline, since it would have to run everything through the DPI, and that code's already complicated enough as it is. But at least the DPI can easily be modified to store bookmarks in a database, for the rare user who has a running MySQL server but lacks the CPU power for Firefox. ;-) ~Benjamin