
Think Inside the Box ავტორი 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 მომხმარებელი1 მომხმარებელი
გაფართოების მონაცემები
ეკრანის სურათები

გაფართოების შესახებ
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
0 შეფასება 0 მიმომხილველისგან
ნებართვები და მონაცემებივრცლად
მოთხოვნილი ნებართვები:
- ბრაუზერის ჩანართებთან წვდომა
- თქვენს მონაცემებთან წვდომა janitorai.com-ზე
დამატებითი ნებართვები:
- თქვენს მონაცემებთან წვდომა janitorai.com-ზე
დამატებითი მონაცემები
- დამატების ბმულები
- ვერსია
- 1.0.2
- ზომა
- 41,63 კბ
- ბოლო განახლება
- 18 დღის წინ (27 სექ 2025)
- მსგავსი კატეგორიები
- ლიცენზია
- Mozilla Public License 2.0
- ვერსიის ისტორია
- კრებულში დამატება
ამ დამატების შემქმნელი, პროგრამის მომავალი განვითარებისთვის, გთხოვთ მხარდაჭერას, მცირეოდენი შემოწირულობის სახით.
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