Skip to content

risunCode/SesWi-Session-Manager

Repository files navigation

SesWi — Session Manager

Chrome extension for saving and restoring login sessions. Captures cookies, localStorage, and sessionStorage per domain.

Features

  • Save & Restore — Save complete login sessions and restore them later
  • Smart Expiration — Tracks cookie expiration based on longest-lasting cookie (experimental, may be inaccurate)
  • Domain Groups — Auto-groups sessions by domain for easy management
  • Backup/Export — JSON, Netscape, Cookie Editor, or OWI (AES-256-GCM encrypted) formats
  • Batch Operations — Bulk backup, delete expired, or manage by domain
  • Import Cookies — Paste raw cookie JSON (Cookie Editor format) or import from file directly in Add Session
  • Batch Restore — Restore from multiple JSON files at once
  • Clean Tab — Selectively clear cookies, storage, history, and cache
  • Export Tab Data — Copy JSON to clipboard, export JSON/Netscape/Cookie Editor format from current tab
  • Randomized Storage — Session data stored under a unique random key per installation
  • Native Encryption — Web Crypto API (AES-256-GCM) with PBKDF2 key derivation

Showcase

Current Tab Groups Tab Manage Tab
Current Tab Groups Tab Manage Tab

Installation

  1. Clone/download this repository
  2. Run npm install && npm run build
  3. Open chrome://extensions → Enable Developer mode
  4. Click "Load unpacked" → Select the dist folder

Usage

  • Current tab — Sessions for active domain
  • Groups tab — All sessions grouped by domain
  • Manage tab — Backup, restore, manage by domain, delete expired, clean tab, export tab data

Add Session Modes

Mode Description
Capture Tab Capture cookies + localStorage + sessionStorage from active tab
Import Cookies Paste raw cookie JSON array (Cookie Editor format)
Import File Import from .json or .owi backup file

Export Formats

Format Contents
JSON { cookies, localStorage, sessionStorage }
Cookie Editor Cookie array compatible with Cookie Editor extension
Netscape Browser-compatible cookie file (curl/wget)
OWI AES-256-GCM encrypted JSON backup

Permissions

Permission Purpose
cookies Read/write cookies
storage Store sessions locally
scripting Access localStorage/sessionStorage
tabs Get active tab info
history Clean browsing history
browsingData Clear cache

Development

npm install
npm run dev      # Development with watch
npm run build    # Production build

License

MIT License - See LICENSE file for details.

Credits

About

a Chrome Extension that simply manage cookie & session securely, supporting netscape export, json raw, and encrypted save

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors