Janitor AI - Automatic Message Formatting Corrector (Drag & Drop button)

Draggable button with visual feedback! Remembers its position, adapts to screen size, and can't be dragged off-screen. Formats narration/dialogues.

Δημιουργός
accforfaciet
Ημερήσιες εγκαταστάσεις
2
Σύνολο εγκαταστάσεων
10
Βαθμολογίες
1 1 0
Έκδοση
7.0
Δημιουργήθηκε την
03/10/2025
Ενημερώθηκε την
13/10/2025
Μέγεθος
10 KB
Άδεια
MIT
Εφαρμόζεται σε

Summary

Tired of inconsistent AI formatting and annoying <think> tags on JanitorAI? This script automates the entire cleanup process with a single, intelligent button, giving you perfectly formatted, immersive responses every time.

This universal script works flawlessly on both PC and Mobile, automatically adapting its layout to your screen. Best of all, the button is fully draggable—place it wherever you want, and it will remember its position for your next visit!

Features

  • Drag & Drop Button: Don't like where the button is? Just press, hold, and drag the ✏️ button to any spot on the screen. It will stay right where you left it!
  • Visual Drag Feedback: The button provides a clear visual effect (enlarging and becoming semi-transparent) so you know when you're in drag mode.
  • Fully Adaptive Interface: A single script that works perfectly on both Desktop and Mobile. It automatically detects your screen size and adjusts the button's size and default position.
  • One-Click Formatting: Just click the button to clean up the last AI message in under a second.
  • Smart Narration Formatting: Automatically wraps all narration (text outside of quotes) in asterisks for italics (*like this*).
  • Preserves Dialogue: Intelligently ignores text within quotation marks ("...") and backticks (...), leaving spoken lines untouched.
  • Automatic Tag Removal: Instantly cleans up distracting tags like <think>, <thought>, <system>, and <response>.
  • System Prompt Cleaner: Detects and removes prepended system prompts (e.g., "The user said...*") that sometimes leak into the AI's message.
  • Keyboard-Aware (Mobile): The button automatically hides when you type a message on mobile and reappears when you're done, so the keyboard never covers it.

How to Use

  1. After the AI generates a message, you will see a pink floating button with a pencil icon (✏️).
  2. To Format a Message: Simply click the button. The script will instantly edit and save the last AI message with perfect formatting.
  3. To Move the Button: Press, hold, and drag the button anywhere on the screen. Release it, and it will remember that position for your next session.
  4. Enjoy your perfectly cleaned-up and immersive chat!

In screenshots you can see an example message before and after clicking the edit button.