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.

Per 13-10-2025. Zie de nieuwste versie.

Dit script moet niet direct worden geïnstalleerd - het is een bibliotheek voor andere scripts om op te nemen met de meta-richtlijn // @require https://update.greatest.deepsurf.us/scripts/551459/1676730/Janitor%20AI%20-%20Automatic%20Message%20Formatting%20Corrector%20%28Drag%20%20Drop%20button%29.js

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey, Greasemonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Userscripts.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een gebruikersscriptbeheerder nodig.

(Ik heb al een user script manager, laat me het downloaden!)

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

(Ik heb al een beheerder - laat me doorgaan met de installatie!)

Maker
accforfaciet
Versie
7.0
Gemaakt op
03-10-2025
Bijgewerkt op
13-10-2025
Grootte
10,7 KB
Licentie
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!

What Problem Does This Solve?

This script is for users who value a clean, consistent, and immersive roleplaying experience. It saves you the tedious manual effort of editing each message to:

  • Add asterisks for narration.
  • Delete the AI's internal thoughts (<think>...).
  • Fix other formatting inconsistencies.

Stop editing and start chatting!

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