Janitor AI - Automatic Message Formatting Corrector (Settings Menu)

Draggable button with Settings! Select Italics/Bold/Plain text. Edge compatible. Remembers position. Formats narration & dialogues.

Vous devrez installer une extension telle que Tampermonkey, Greasemonkey ou Violentmonkey pour installer ce script.

You will need to install an extension such as Tampermonkey to install this script.

Vous devrez installer une extension telle que Tampermonkey ou Violentmonkey pour installer ce script.

Vous devrez installer une extension telle que Tampermonkey ou Userscripts pour installer ce script.

Vous devrez installer une extension telle que Tampermonkey pour installer ce script.

Vous devrez installer une extension de gestionnaire de script utilisateur pour installer ce script.

(J'ai déjà un gestionnaire de scripts utilisateur, laissez-moi l'installer !)

Vous devrez installer une extension telle que Stylus pour installer ce style.

Vous devrez installer une extension telle que Stylus pour installer ce style.

Vous devrez installer une extension telle que Stylus pour installer ce style.

Vous devrez installer une extension du gestionnaire de style pour utilisateur pour installer ce style.

Vous devrez installer une extension du gestionnaire de style pour utilisateur pour installer ce style.

Vous devrez installer une extension du gestionnaire de style pour utilisateur pour installer ce style.

(J'ai déjà un gestionnaire de style utilisateur, laissez-moi l'installer!)

Auteur
accforfaciet
Installations quotidiennes
6
Installations (total)
193
Notes
1 1 1
Version
8.0
Créé
03/10/2025
Mis à jour
05/12/2025
Taille
15,8 ko
Licence
MIT
S'applique à

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.