I have an idea with minimal changes in dillo and various scripts. - Activate and format some MSGs in dillo - use a script to run dillo so saves and load tabs MSGs based Example: patch with make a script run_dillo.sh fn load_tabs ... dillo $@ | while read line echo $line # process dillo MSGs # MSG("a_UIcmd_open_url_nw: open url in new window '%s' bw=%p new_bw=%p\n", URL_STR(url), (void *) bw, (void *) new_bw); # MSG("a_UIcmd_open_url_nt: open url in new tab '%s' bw=%p new_bw=%p\n", URL_STR(url), (void *) bw, (void *) new_bw); # MSG("a_UIcmd_close_bw bw=%p\n", (void *) bw); # MSG("Nav_open_url: old_url='%s' idx=%d bw=%p\n", URL_STR(old_url), idx, (void *) bw); # MSG("Nav_open_url: saved scroll of '%s' at x=%d y=%d bw=%p\n", URL_STR(old_url), x, y, (void *) bw); # MSG("Nav: expect_done scrolling to x=%d y=%d bw=%p\n", posx, posy, (void *) bw); selec $line a_UIcmd_open_url_nw) ;; open new window anote bw a_UIcmd_open_url_nt) ;; open new tab anote bw a_UIcmd_close_bw) ;; delete window or tab Nav_open_url: old_url) ;; change url for tab Nav_open_url: saved scroll) ;; annotate scroll pos Nav: expect_done scrolling to) ;; annotate scroll pos Dillo: normal exit) ;; annotate normal exit El jue, 12 sept 2024 a las 20:01, <a1ex@dismail.de> escribió:
Hi,
It would be nice to have the ability to save a list of open tabs. Often I find myself shutting down my workstation and still have many tabs open in Dillo. Its a pain to go through them all at that moment to decide whats worth saving or bookmarking.
An option to save all open tab urls to a file would be great. It would be even nicer if we could later open all those urls in new tabs when starting Dillo :)
On first glance it doesn't seem very easy to implement, but also maybe not super complicated either. I don't have any patches yet, just wanted to put the idea out and see what you think about it.
Regards, Alex
_______________________________________________ Dillo-dev mailing list -- dillo-dev@mailman3.com To unsubscribe send an email to dillo-dev-leave@mailman3.com