Chub AI - Automatic Message Formatting Corrector (Drag & Drop button)

Formats narration, removes <think> tags, and features a draggable button that remembers its position. Adapts for PC & Mobile.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
accforfaciet
今日安裝
2
安裝總數
21
評價
1 0 0
版本
7.0
建立日期
2025-10-05
更新日期
2025-10-14
尺寸
10.9 KB
授權條款
MIT
腳本執行於

Summary

Reclaim your immersion on Chub.AI! This script adds a powerful, drag-and-drop button to your screen that instantly cleans up messy AI responses. With a single click, it removes distracting <think> tags and perfectly formats narration into italics, leaving dialogue untouched.

The button is fully adaptive for both PC and Mobile, and you can drag it anywhere on the screen—it will remember its position for your next visit!

Features

  • Draggable & Persistent Button: Click and hold the ✏️ button to drag it anywhere you like. The script automatically saves its position, so it will always be right where you want it.
  • Adaptive for PC & Mobile: A single, intelligent script that provides the perfect layout and button size whether you're on a desktop monitor or a mobile phone. No need for separate versions.
  • One-Click Formatting: Simply click the button to instantly clean up the last AI message. The entire process—editing, formatting, and saving—is fully automated.
  • Smart Narration Formatting: Automatically wraps all narration (text outside of quotes) in asterisks for italics (*like this*), ensuring a clean, readable, roleplay style.
  • Preserves Dialogue: Intelligently ignores text within quotation marks ("...") and backticks (...), leaving spoken lines completely untouched.
  • Automatic Tag Removal: Instantly removes distracting developer tags like <think>, <thought>, <system>, and <response> from the AI's message.
  • Keyboard-Aware (Mobile): The button automatically hides when you start typing a message and reappears when you're done, so your on-screen keyboard never covers it.
  • Enhanced Visual Feedback: The button provides clear visual cues when being dragged, and is safely constrained within the screen boundaries so you can't accidentally lose it.

How to Use

  1. After the AI generates a message, a pink floating button with a pencil icon (✏️) will appear on your screen.
  2. To Format: Click the button once. The script will instantly format the last message.
  3. To Move: Click and hold the button to drag it to your preferred spot. It will remember this position for your next session.
  4. Enjoy your perfectly formatted messages on any device!

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