AI Chat Response Length Toggle
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
AI Chat Response Length Toggle automatically detects AI assistant responses on major AI chat platforms — including ChatGPT, Claude, Gemini, Copilot, Perplexity, and DeepSeek — and adds a compact toggle button to expand or collapse long responses. When a response exceeds a configurable word count threshold, the tool truncates it to a preview with a "▼ Expand" button. Clicking the button expands the full response, and the button changes to "▲ Collapse." The tool also displays the word count for each response and remembers the collapsed state per conversation, so your preferences persist when you return to the same chat.
WHERE IT RUNS
This extension works on any website that displays AI chat responses. It is specifically optimized for major AI platforms including ChatGPT (chatgpt.com), Claude (claude.ai), Gemini (gemini.google.com), Copilot (copilot.microsoft.com), Perplexity (perplexity.ai), and DeepSeek (deepseek.com). The tool works across all domains and adapts to various response container structures.
HOW TO USE
Install the extension and start a conversation on any AI chat platform. When an assistant response exceeds the word count threshold, a toggle button appears with a truncated preview. Click "▼ Expand" to see the full response, or "▲ Collapse" to return to the preview. Use the overlay panel to customize the experience: adjust the collapse threshold in words (default 150), choose the default state (Expanded or Collapsed), toggle word count display on or off, toggle per-conversation state remembering on or off, and click "Reset All States" to clear saved collapse states. Click "Refresh Responses" to manually re-scan the page after new content loads.
TECHNICAL SECTION — AI RESPONSE DETECTION AND TOGGLE ENGINE
The extension uses a platform-specific detection engine that identifies AI responses based on the current domain. It maintains curated selectors for each supported platform (ChatGPT, Claude, Gemini, Copilot, etc.) and falls back to generic selectors for other sites. Each response is analyzed for word count using whitespace splitting, and if the count exceeds the threshold, a toggle button is inserted alongside the response content. The tool preserves the original content and wraps it in a container that can be shown or hidden. Collapse states are stored using GM_setValue with a key combining the conversation ID and response ID, enabling per-context persistence. The tool supports multiple responses per page and updates dynamically as new messages appear.
THE PANEL — DRAG / PER-SITE POSITION / SNAP / COLLAPSE / RESIZE / ESCAPE
The overlay panel is fully interactive and designed for seamless multitasking. Drag it anywhere on the screen using the handle at the top of the panel; the position is saved per site so it stays where you left it across sessions. The panel includes a snap-to-edge feature that gently anchors the overlay to the nearest screen edge when released. Click the collapse button to minimize the panel to a compact pill showing the current toggle status; expand it again with a single click. Resize the panel vertically by dragging the bottom-right corner to view more controls. Press the Escape key at any time to instantly close the overlay; it reappears on the next page navigation or refresh.
PLEASE NOTE
This extension requires the free BotGentz companion extension to function, as it provides the underlying content script injection and cross-origin communication framework. No personal data, browsing history, or conversation content is stored, transmitted, or shared. All text processing occurs entirely locally in your browser; no information is sent to any external server. Settings and collapse states are stored locally in your browser using GM_setValue and are never sent to any external server. The extension does not access or store login credentials, financial data, or personally identifiable information. The tool reads response content visible on the page and does not access any AI platform API or private data. AI platforms may update their page structures; the extension includes platform-specific selectors and fallback strategies to maintain compatibility.