From 0d93cf6fea0a5bae6bdf4adc15d5d6fd3306d0e6 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Thu, 28 Jun 2018 10:21:47 +0200 Subject: Add --session parameter to load a session json Add Session menu to main window --- doc/Session.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 doc/Session.md (limited to 'doc') diff --git a/doc/Session.md b/doc/Session.md new file mode 100644 index 0000000..3018253 --- /dev/null +++ b/doc/Session.md @@ -0,0 +1,30 @@ +## Session format +A session is a single window, which contains a list of subwindows. + +Each subwindow has a profile (profile id), and a list of tabs. + +Each tab has a profile (profile id) and url. + +~~~json +{ + "subwindows": [ + { + "profile": "", + "tabs": [ + { + "profile": "", + "url": "" + }, + { + ... + } + ] + } + ] +} + +~~~ + +## --session +This command-line option causes the browser to load the specified json file. + -- cgit v1.2.1