Janitor AI - Automatic Message Formatting Corrector

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

這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。

  • v10 2025-12-24

    Version 10.0 - The "Total UI Control" Update

    This update is all about giving you choices on how the script looks and behaves.

    • NEW: 3 Interface Modes:
      1. Floating (Default): The classic draggable button.
      2. Inline Top: Integrates the button into the message control bar (next to Edit/Delete).
      3. Inline Bottom: Integrates the button into the message footer (next to the "Next Message" arrow).
    • NEW: "Reset Position" Button: Lost your floating button off-screen? Open settings and click "Reset Position" to center it instantly.
    • NEW: Text Toggles:
      • Toggle text on the Settings Button (Top Right) to save space on narrow mobile screens.
      • Toggle text on the Format Button to show just the ✏️ icon or "✏️ Auto-Format".
    • Improvement: Floating button now has Size and Opacity sliders.
    • Fix: "Inline Bottom" button now aligns correctly to the left of the navigation arrows.
  • v9.0 2025-12-20

    3. Update Log (v9.0)

    Version 9.0 - The "Style & Cleanup" Update

    This update brings advanced formatting options and smarter text cleaning based on community feedback.

    • New Formatting Styles: Added two highly requested styles to the Settings Menu:
      • Bold Dial + Italic Narr: ("Dialogue" Narration) - Great for DeepSeek users.
      • Bold Dial + Plain Narr: ("Dialogue" Narration).
    • Smart Separator Handling: The script now intelligently handles scene separators (---). It ensures they are never wrapped in italics or bold, and it will even un-wrap them if the AI formatted them incorrectly (e.g., changing *---* back to ---).
    • General Tag Cleaner: Added a new setting (enabled by default) to strip generic XML-like tags (e.g., <AI-response-segment>) while keeping the text inside them. This runs safely after the <think> tag removal.
    • Noise Reduction: The script now automatically deletes lines that consist only of garbage formatting characters (like a single " or * on a line by itself).
    • Settings Migration: Your previous settings will be automatically migrated to the new version.
  • v8.0 2025-12-05

    Version 8.0 - The "Settings & Stability" Update

    This is a massive update focused on user choice and browser compatibility.

    • NEW: Settings Menu (UI): No more editing code! A new ⚙️ Gear button has been added. Click it to open a visual menu where you can:
      • Customize Narration: Choose between Italics (*text*), Bold (**text**), or Plain Text (for easier reading).
      • Toggle Features: Enable/Disable the removal of <think> tags or System Prompts individually.
    • FIX: MS Edge Compatibility: Fixed a critical bug where the script wouldn't work on Microsoft Edge due to specific CSS selectors. The script now uses robust, universal selectors.
    • Improvement: The settings and button position are saved automatically.
  • v7.0 2025-10-14
  • v7.0 2025-10-13

    Changelog

    Version 7.0 - The Polished Experience Update

    • New Feature: Visual Drag Feedback: The button now provides a clear visual effect when being dragged (scales up, becomes semi-transparent, shadow enhances). This makes the drag-and-drop action much more intuitive.
    • Improvement: Screen Boundary Lock: Confirmed and ensured the button cannot be dragged outside the visible browser window, so it can never be lost.
    • Meta: Renamed Script: Updated the script's name to "Janitor AI - Automatic Message Formatting Corrector (Drag & Drop button)" to better reflect its primary features.

    Version 6.0 - The Freedom Update

    • New Feature: Drag & Drop Button: The formatter button is now fully draggable! Users can click and drag it to any position on the screen to suit their workflow.
    • New Feature: Position Memory: The script now saves the button's position to the browser's local storage. The next time you load a chat, the button will be exactly where you left it.
    • Improvement: Smart Click vs. Drag: Implemented logic to differentiate between a quick click (to format text) and a hold-and-drag action (to move the button), preventing accidental moves.

    Version 5.0 - The Universal Update

    • Major Feature: Unified PC & Mobile Script: Combined the separate PC and Mobile versions into a single, intelligent script.
    • Improvement: Adaptive Layout: Implemented CSS Media Queries to allow the script to automatically detect the screen size and apply the appropriate button styles (size, position) for the best experience on any device. This removes the need for users to choose a version.
  • v4.0 2025-10-03