aboutsummaryrefslogtreecommitdiff
path: root/doc/Usage/Session.md
blob: 3018253bec78335780cec6f99842dd902f621203 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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": "<profile id>",
            "tabs": [
                {
                    "profile": "<profile id>",
                    "url": "<url>"
                },
                {
                    ...
                }
            ]
        }
    ]
}

~~~

## --session
This command-line option causes the browser to load the specified json file.