
Think Inside the Box per 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 Usator1 Usator
Metadatos del extension
Capturas de schermo

A proposito de iste extension
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
Valutate 0 per 0 revisores
Permissiones e datosSaper plus
Permissiones necessari:
- Accede al schedas del navigator
- Accede tu datos pro janitorai.com
Permissiones optional:
- Accede tu datos pro janitorai.com
Plus de informationes
- Ligamines del additivo
- Version
- 1.0.2
- Dimension
- 41,63 KB
- Ultime actualisation
- il y a 16 jours (27 sept. 2025)
- Categorias associate
- Licentia
- Licentia public Mozilla 2.0
- Historia de versiones
- Adder al collection
Le disveloppator de iste extension te demanda adjuta pro supportar su continuation del disveloppamento per un micre donation.
Notas de version pro 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