Skip to main content

Module storage

Module storage 

Source
Expand description

browser-control storage — local/sessionStorage get/set/list.

Routing mirrors eval/fetch. The --browser flag accepts the unified <browser>[/<tab>] syntax; three paths fall out of (tab, --target):

  1. <browser>/<tab> (no --target) — named-tab path via [with_named_tab_recovery]. Engine-agnostic, recover-once on dead tabs.
  2. <browser> (no --target) — scratch tab via with_scratch_recovery. Storage Set against a scratch (about:blank) writes to that origin — symmetric with eval, where the same caveat applies.
  3. <browser> --target <regex> — legacy PageSession::attach.

<browser>/<tab> and --target are mutually exclusive.

Enums§

StorageCmd

Functions§

run