Drawaria Colorful Chat

Allows you to write colors in Drawaria chat

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者
YouTubeDrawaria
今日安裝
0
安裝總數
23
評價
0 0 0
版本
Final 2024 Script
建立日期
2024-12-31
更新日期
2024-12-31
尺寸
3.4 KB
授權條款
MIT
腳本執行於

This script, named "Drawaria Colorful Chat," enhances the chat functionality on the Drawaria.online website by allowing users to write messages in different colors. Here's a brief explanation of what the script does:

1. **Adds a Color Picker**: The script adds a color picker input next to the chat input box. This color picker allows users to select a color for their chat messages.

2. **Applies the Selected Color**: When a user selects a color from the color picker, the script applies this color to the chat input box. This means that the text the user types will appear in the selected color.

3. **Intercepts Message Sending**: The script intercepts the message-sending function to wrap the message in a `` tag with the selected color style. This ensures that the message is sent with the chosen color.

4. **Observes Chat Messages**: The script observes the chat messages area and applies the selected color to new messages as they are added to the chat. This ensures that the messages appear in the chosen color in the chat box.

### How It Works:

- **Color Picker**: A color picker input is added next to the chat input box. Users can select a color from this picker.
- **Color Application**: The selected color is applied to the chat input box, changing the color of the text as the user types.
- **Message Sending**: When a message is sent, the script wraps the message in a `` tag with the selected color style, ensuring the message is sent with the chosen color.
- **Chat Observation**: The script observes the chat messages area and applies the selected color to new messages as they are added, ensuring they appear in the chosen color.

### Usage:

1. **Select a Color**: Use the color picker next to the chat input box to select a color for your message.
2. **Type Your Message**: Type your message in the chat input box. The text will appear in the selected color.
3. **Send the Message**: Send your message as usual. The message will be displayed in the chat box in the selected color.

This script enhances the chat experience on Drawaria.online by allowing users to express themselves with colorful messages.