feat: migrate whole-profile Firefox localStorage and improve cookie fidelity

This commit is contained in:
souta
2026-10-23 14:49:09 +09:00
parent f446b53f46
commit b8cd19343f
10 changed files with 561 additions and 33 deletions
+10
View File
@@ -63,3 +63,13 @@ Check the releases tab of the repo, or go to the website for Portage at: https:/
1. **Export:** Open Portage on your old browser, click **Scan**, uncheck anything you want to leave behind, and hit **Export bundle**. It drops the JSON (and the optional extension checklist) right to your downloads.
2. **Import:** Open Portage on your new browser, drag and drop the `.portage.json` file, review the stats, and hit **Import selected**.
## Experimental: entire Firefox localStorage profile (Linux)
The browser's WebExtension APIs cannot enumerate every origin's localStorage.
For a read-only **all-site** Firefox profile exporter and an import flow that
visits each origin in a temporary background tab, see
[tools/README.md](tools/README.md). This is **not** limited to currently open
tabs, but is still best-effort: IndexedDB, sessionStorage, and device-bound
credentials are not migrated. Exports can contain active authentication tokens,
so handle them as sensitive files.