Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
登录
State Mover 预览

State Mover 作者: Animesh Singh

Copy selected localStorage and sessionStorage keys out of one page and apply them to another.

0(0 条评价)0(0 条评价)
尚无用户尚无用户
下载 Firefox 并安装扩展
下载文件

扩展元数据

关于此扩展
State Mover is a focused browser extension built to help you transfer selected website storage data from one page to another with clarity and control. Its purpose is centered on two browser storage areas commonly used by web applications: localStorage and sessionStorage. Rather than copying everything blindly, it gives you a compact interface for reviewing what is available on the active page, choosing the exact keys you want, exporting them as a structured snapshot, and importing that snapshot into another page when needed.

When opened on a supported page, the extension reads the active tab, identifies the current origin, and scans for both localStorage and sessionStorage entries. These are presented in separate tabs so you can work with each storage area independently. The interface also shows how many keys exist in each section, helping you quickly understand how much browser-side state a site is currently using. This makes the extension especially practical for testing, troubleshooting, development workflows, session reproduction, or moving specific settings and application state between environments.

A key strength of State Mover is selective control. You can filter keys by name, choose entries with checkboxes, select all matching items, or clear the selection and start again. The extension does not force a full export if you only need a few specific values such as a session token, a feature-flag object, or saved UI preferences. It also displays the size of each stored value, giving you better visibility into what is being moved and how large a snapshot may be.

For closer inspection, individual entries can be previewed before export or import. If a value contains JSON, the extension formats it for easier reading. This makes it easier to verify what a key contains before you move it. Based on the provided package description, values are surfaced for inspection and export through the extension interface, while key names and sizes help you browse efficiently.

State Mover supports two export methods. You can copy the selected snapshot directly to the clipboard as JSON, or download it as a JSON file for later use. The snapshot includes metadata such as source origin, export timestamp, and version information, along with the selected localStorage and sessionStorage values. On the import side, you can paste JSON text into the extension or load a saved JSON file, then apply it to the current page’s storage. There is also an option to reload the page automatically after import so the site can immediately use the updated state.

The extension also remembers key selections per origin using extension storage, which is useful if you repeatedly work with the same sites. Compatibility handling for older stored selection formats and earlier snapshot formats is included as well, helping maintain continuity across versions.

Its behavior is intentionally limited to standard http and https pages. It does not run on browser-internal pages, extension pages, add-on stores, developer tools pages, view-source pages, or local file pages. If a page cannot be accessed, storage is blocked, or writing fails because of quota or related issues, the extension shows an error instead of failing silently. Overall, State Mover is designed for visibility, precision, and convenience when moving selected browser-side web app state.

Key Features:
- Reads both localStorage and sessionStorage from the active page and shows them in separate tabs.
- Displays the current origin and counts how many keys exist in each storage area.
- Lets you filter keys by name and use checkboxes to select exactly which entries to move.
- Supports per-key preview so you can inspect stored values, with JSON formatted for easier reading when applicable.
- Shows value sizes to help you understand the amount of data included in a snapshot.
- Exports selected data as a JSON snapshot that can be copied to the clipboard or downloaded as a file.
- Imports snapshots from pasted JSON text or a JSON file and can optionally reload the page after applying them.

How It Works:
1. Open State Mover on an active http or https page and let it scan the page’s localStorage and sessionStorage.
2. Switch between the storage tabs to review available keys for the current origin.
3. Use the filter box, checkboxes, and all or none controls to choose the specific keys you want.
4. Preview individual values if needed to confirm their contents before moving them.
5. Export the selected state by copying a JSON snapshot to the clipboard or downloading it as a JSON file.
6. On another page, paste the snapshot into the import area or load the saved file.
7. Apply the snapshot to write those values into the current page’s storage, then reload the page if desired.

Privacy: - This extension stores your key selections in extension storage so it can remember choices per origin. It also requests clipboard write access to copy exported snapshots. The provided package description shows that it reads and writes localStorage and sessionStorage data on the active page you choose to use it on. No explicit external data collection behavior is described in the provided information.
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据

必要权限:

  • 输入数据到剪贴板

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
附加组件链接
  • 主页
  • 用户支持网站
  • 复制附加组件 ID
版本
1.2.0
大小
35.5 KB
上次更新
3 个月前 (2026年8月29日)
相关分类
  • 网页开发
许可证
MIT 许可证
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

下载

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

最新版本

  • Nightly
  • Beta

商用版 Firefox

  • Enterprise

社区

  • Connect
  • Contribute
  • Developer

关注

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。