Janitor AI - Automatic Message Formatting Corrector (Settings Menu)

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
accforfaciet
今日安裝
2
安裝總數
227
評價
1 1 1
版本
8.0
建立日期
2025-10-03
更新日期
2025-12-05
尺寸
15.8 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.