
Think Inside the Box Autor: Tydorius
Re-creates defunct think tag wrapper on JanitorAI. Edit: 10/1/2025 - The original think wrapper seems to be back, so this may no longer be necessary. I'll leave it as-is for now.
1 používateľ1 používateľ
Na použitie tohto rozšírenia budete potrebovať Firefox
Metadáta rozšírenia
Snímky obrazovky

O tomto rozšírení
Purpose
When using a proxy LLM with reasoning, this plugin will identify the start and end <think> tags within a chat and display them within a customizable scrolling box.
It includes a menu with a number of options for customization, including some simple themes.
Context
The AI chat website JanitorAI tested an update which captured <think></think> output from LLM proxies, and wrapped it separately within the GUI for easier readability. This feature was removed, with the promise it would be re-added at a later date.
This plugin is a stopgap to provide most of the desired functionality. It allows for customization of the box's size and style.
Caveats
Currently, when the think blocks are wrapped, it can cause some scroll jumping. I've done what I can to make this less jumpy, but I rarely touch Javascript.
This plugin only applies to JanitorAI
Last tested 9/20/2025
When using a proxy LLM with reasoning, this plugin will identify the start and end <think> tags within a chat and display them within a customizable scrolling box.
It includes a menu with a number of options for customization, including some simple themes.
Context
The AI chat website JanitorAI tested an update which captured <think></think> output from LLM proxies, and wrapped it separately within the GUI for easier readability. This feature was removed, with the promise it would be re-added at a later date.
This plugin is a stopgap to provide most of the desired functionality. It allows for customization of the box's size and style.
Caveats
Currently, when the think blocks are wrapped, it can cause some scroll jumping. I've done what I can to make this less jumpy, but I rarely touch Javascript.
This plugin only applies to JanitorAI
Last tested 9/20/2025
Hodnotené 0 od 0 recenzentov
Povolenia a údajeĎalšie informácie
Požadované oprávnenia:
- Pristupovať ku kartám prehliadača
- Pristupovať k údajom pre janitorai.com
Voliteľné povolenia:
- Pristupovať k údajom pre janitorai.com
Ďalšie informácie
- Odkazy doplnku
- Verzia
- 1.0.2
- Veľkosť
- 41,63 kB
- Posledná aktualizácia
- pred 5 dňami (27. sep 2025)
- Príbuzné kategórie
- Licencia
- Mozilla Public License 2.0
- História verzií
- Pridať do kolekcie
Podporte tohto vývojára
Vývojár tohto rozšírenia žiada o podporu v jeho vývoji zaslaním malého príspevku.
Poznámky k vydaniu pre verziu 1.0.2
[1.0.2] - 2025-09-23
Added
Fixed
Technical Implementation
Added
- Window Focus Recovery: Automatic re-detection of think blocks when JanitorAI tab regains focus
- Addresses issue where extension stops working when tab loses focus
- 500ms delay ensures DOM is ready before re-scanning
- Triggers manual check function with processed block clearing
- Floating Control Panel: Interactive control interface for manual think block detection
- Single manual check button with visual feedback during processing
- Position controlled via dropdown in extension settings (top-left, top-right, bottom-left, bottom-right)
- Theme-aware styling matches selected extension theme
- Enhanced User Control: Manual recovery capability without page refresh requirement
- Settings Integration: Control panel visibility and position managed through extension popup
Fixed
- Extension stopping unexpectedly when browser tab loses focus
- Manual recovery requiring full page refresh when extension fails
- Lack of user agency when automatic detection fails
- Debug Mode Console Output: Debug messages now respect the debug mode checkbox setting
- Console output was appearing even when debug mode was disabled
- Centralized debug utility with verbosity levels (0=critical, 1=info, 2=debug, 3=verbose)
- Replaced direct console.log calls with debug utility functions
Technical Implementation
- New
ThinkBlockControlPanel
class with modular design - Window focus event listener with debounced recovery mechanism
- Semi-transparent floating UI with backdrop blur effects
- Theme-aware control panel styling system
- Integration with existing settings and storage systems
- Proper cleanup and lifecycle management for control panel
- Debug Utility System: Centralized debug logging with verbosity control
debug-utils.js
module with debug utility functions- Global debug mode and verbosity settings management
- Console helper functions for runtime debug control
Ďalšie rozšírenia od autora Tydorius
- Doplnok zatiaľ nie je ohodnotený
- Doplnok zatiaľ nie je ohodnotený
- Doplnok zatiaľ nie je ohodnotený
- Doplnok zatiaľ nie je ohodnotený
- Doplnok zatiaľ nie je ohodnotený
- Doplnok zatiaľ nie je ohodnotený