Janitor AI - Automatic Message Formatting Corrector (Settings Menu)

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

Tendrás que instalar una extensión para tu navegador como Tampermonkey, Greasemonkey o Violentmonkey si quieres utilizar este script.

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

Necesitarás instalar una extensión como Tampermonkey o Violentmonkey para instalar este script.

Necesitarás instalar una extensión como Tampermonkey o Userscripts para instalar este script.

Necesitará instalar una extensión como Tampermonkey para instalar este script.

Necesitarás instalar una extensión para administrar scripts de usuario si quieres instalar este script.

(Ya tengo un administrador de scripts de usuario, déjame instalarlo)

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

(Ya tengo un administrador de estilos de usuario, déjame instalarlo)

Autor
accforfaciet
Instalaciones diarias
6
Instalaciones totales
195
Calificaciones
1 1 1
Versión
8.0
Creado
3/10/2025
Actualizado
5/12/2025
Tamaño
15,8 KB
Licencia
MIT
Funciona en

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.