Janitor AI - Automatic Message Formatting Corrector

The "One-Click" cleanup script. Floating, Inline Top, or Inline Bottom. Select Italics/Bold/Plain text. Edge compatible.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
accforfaciet
今日安裝
4
安裝總數
271
評價
2 1 1
版本
10
建立日期
2025-10-03
更新日期
2025-12-24
尺寸
25.9 KB
授權條款
MIT
腳本執行於

Summary

The ultimate tool for JanitorAI immersion. This script gives you complete control over your chat formatting. With a single click, it cleans up AI responses, formats narration and dialogue to your exact specifications, and removes internal tags.

Version 10.0 introduces a fully customizable interface. Choose between a Floating Button (draggable, resizable) or an Inline Button integrated seamlessly into the chat interface.

🌟 New in v10: Choose Your Layout

Open the Settings (⚙️) to select your preferred mode:

  • Floating: A button that hovers over the screen. You can Drag it, resize it, and change its opacity.
  • Inline Top: Adds a clean "Auto-Format" button next to the standard "Edit/Delete" controls.
  • Inline Bottom: Adds the button to the footer, right next to the "Next Message" arrow.

Key Features

🎨 Interface & Usability

  • Draggable & Resizable: In floating mode, place the button anywhere.
  • Reset Position: Lost the button? Use the new "Reset" option in settings.
  • Compact Mode: Toggle text labels off to show only icons (Great for mobile).
  • Mobile Friendly: Automatically hides when you type to keep your screen clear.

📝 Smart Formatting Styles Customize how the text looks:

  • Classic: *Narration* "Dialogue"
  • Bold Narration: **Narration** "Dialogue"
  • Bold Dialogue: Narration "Dialogue"
  • Hybrid: *Narration* "Dialogue" (Great for DeepSeek/Coding models)
  • Plain Text: No formatting (Accessibility friendly)

🧹 Advanced Cleaning

  • Smart Dialogue Detection: Preserves text inside quotes (") and backticks (`).
  • Think Tag Remover: Deletes <think> and <system> tags to hide the AI's internal logic.
  • General Tag Cleaner: Removes XML tags but keeps the content.
  • Prompt Leak Fix: Removes leaked "The user said..." headers.
  • Separator Fix: Fixes broken scene separators (*---*---).

How to Use

  1. Install the script.
  2. To Configure: Click the Gear (⚙️) icon in the top right menu bar.
  3. To Format: Click the Pencil (✏️) icon (Floating or Inline).
  4. To Move (Floating only): Press and hold the Pencil to drag it.

Screenshots

Screenshots show the Before/After comparison for basic formatting.