Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
FF Session Importer 预览

FF Session Importer 作者: soyeb

Import Firefox sessionstore files and open tabs in new windows

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

扩展元数据

关于此扩展
FF Session Importer for Firefox

A Firefox extension that imports Firefox sessionstore files (.jsonlz4, .json, .baklz4) and opens the contained tabs in Firefox windows.

Features
  • Import Firefox sessions: Load Firefox sessionstore files directly into Firefox
  • Multiple formats: Supports compressed (.jsonlz4, .baklz4) and uncompressed (.json) session files
  • Window preservation: Each Firefox window opens in a separate Firefox window
  • Simple interface: Just select a file and import

Installation

From Firefox Web Store

(Coming soon)

Manual Installation (Developer Mode)
  1. Download or clone this repository
  2. Open Firefox and navigate to Firefox://extensions/
  3. Enable "Developer mode" (toggle in top-right corner)
  4. Click "Load unpacked"
  5. Select the extension directory

Usage
  1. Click the extension icon in Firefox's toolbar
  2. Click "Choose File" or drag & drop a Firefox sessionstore file
  3. sessionstore.jsonlz4 (current session)
  4. recovery.jsonlz4 (crashed session)
  5. previous.jsonlz4 (previous session)
  6. Any .json session backup
  7. Preview the loaded tabs and windows
  8. Click "Import Tabs" to open all tabs in new Firefox windows

File Locations

Firefox sessionstore files are typically located at:
  • Windows: %APPDATA%\Mozilla\Firefox\Profiles\[profile]\sessionstore.jsonlz4
  • macOS: ~/Library/Application Support/Firefox/Profiles/[profile]/sessionstore.jsonlz4
  • Linux: ~/.mozilla/firefox/[profile]/sessionstore.jsonlz4

How It Works
  1. Decompresses .jsonlz4 files using LZ4 decompression
  2. Parses Firefox's sessionstore JSON format
  3. Extracts URLs from tabs and windows
  4. Creates new Firefox windows with the extracted tabs

Privacy
  • All file processing happens locally in your browser
  • No data is sent to external servers
  • No tracking or analytics

Dependencies
  • LZ4 decompression: Uses a modified version of lz4js by John Chadwick

Development

Building from Source

No build process required. The extension uses vanilla JavaScript.

Testing
  1. Load the extension in developer mode
  2. Use test sessionstore files from your Firefox profile

File Structure

firefox-session-importer/
└── Firefox/
├── lz4.js # LZ4 decompression library
├── manifest.json # Extension manifest
├── background.js # Background service worker
├── popup.html # Extension popup UI
├── popup.js # Popup functionality
├── styles.css # Popup styles
├── lib/
│ └── lz4.js # LZ4 decompression library
├── icons/ # Extension icons
├── README.md # This file
├── LICENSE # ISC License
└── CHANGELOG.md # Version history


Limitations
  • No form data/cookies: Only URLs are imported, not form data, cookies, or browsing history
  • Firefox-specific URLs: URLs starting with about:, Firefox:, or moz-extension: are skipped
  • Large sessions: Very large sessions may take time to import

Troubleshooting

"Failed to decompress LZ4 file"
  • Ensure you're using a valid Firefox sessionstore file
  • Try using a different session file (recovery.jsonlz4, previous.jsonlz4)

"No valid URLs found"
  • The session file may be corrupted or empty
  • Try restoring from a different backup

Extension not loading
  • Ensure developer mode is enabled in Firefox://extensions/
  • Check Firefox console for errors (F12 → Console)

Contributing
  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

License

ISC License - see LICENSE file for details.

Acknowledgments
  • LZ4 decompression: Modified from lz4js by John Chadwick
  • Firefox session format: Reverse-engineered from Firefox source code
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

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

必要权限:

  • 获取浏览器标签页
  • 访问您在所有网站的数据

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
附加组件链接
  • 用户支持网站
  • Copy add-on ID
版本
1.0
大小
24.79 KB
上次更新
4 个月前 (2026年2月2日)
相关分类
  • 标签页
许可证
ISC 许可证
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

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

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

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