Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of LightSession for ChatGPT

LightSession for ChatGPT by Emil K

Keep ChatGPT fast by keeping only the last N messages in the DOM. Local-only, privacy-focused extension that speeds up long conversations by automatically trimming old messages.

0 (0 reviews)0 (0 reviews)
30 Users30 Users
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
About this extension
LightSession for ChatGPT

Speed up your ChatGPT conversations by automatically managing message history in the browser DOM.

Features

🚀 Performance Boost - Removes old messages from DOM while keeping conversation intact
🎛️ Customizable - Keep 1-100 of the most recent messages
🔒 Privacy-First - 100% local processing, no data leaves your browser
🔄 Smart Trimming - Pauses when you scroll up to review history
💬 Stream-Aware - Waits for AI responses to complete before trimming

How It Works

LightSession monitors your ChatGPT conversations and automatically removes old messages from the
page's DOM while keeping the most recent messages visible. This dramatically improves browser
performance during long conversations.

The removed messages aren't deleted from ChatGPT - they're just hidden from your browser's DOM.
Refresh the page to see full history again.

Privacy

✅ No data collection
✅ No external connections
✅ No tracking or analytics
✅ Open source
✅ All processing happens locally in your browser

Usage
  1. Click the extension icon in your toolbar
  2. Toggle "Extension Enabled" on
  3. Adjust how many messages to keep (default: 10)
  4. Browse ChatGPT normally - trimming happens automatically

To restore full conversation history, click "Refresh" button in the popup or reload the page.

Compatible With
  • chat.openai.com
  • chatgpt.com

Technical Details
  • Efficient DOM manipulation (stays within 16ms budget for 60fps)
  • Multi-tier selector system for UI resilience
  • Batched removal using requestIdleCallback

Support

GitHub: https://github.com/11me/light-session
Rated 0 by 0 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and data

Required permissions:

  • Access your data for chat.openai.com
  • Access your data for chatgpt.com

Optional permissions:

  • Access your data for chat.openai.com
  • Access your data for chatgpt.com

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Support site
  • Support Email
Version
1.0.2
Size
53.04 KB
Last updated
12 days ago (Nov 10, 2025)
Related Categories
  • Web Development
  • Privacy & Security
License
MIT License
Version History
  • See all versions
Add to collection
Report this add-on
Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.