您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Slide out menu with Ctrl+Shift+;, username support using GM storage, colored usernames, basic emotes, bottom-aligned chat
A polished, bottom‑aligned, slide‑out chat panel you can summon on (Ctrl + Shift + ;) on any site. It talks to a simple Go backend (HTTP polling) and adds modern chat niceties: reactions, emoji picker, slash commands, notifications, offline queueing, and smart auto‑scroll behavior.
Hotkey toggle: Press Ctrl + Shift + ; to open or close the panel (works across most layouts). Bottom‑anchored message list with intelligent auto‑scroll (stays put if you scroll up, resumes when you’re idle or at bottom). Offline send queue: Messages you send while disconnected are queued, visibly marked, and auto‑flushed when connectivity returns. Single‑line composer with: Emoji insertion palette Send button + Enter to send (Shift+Enter adds a newline if you re‑enable multiline later) Slash commands: /help – quick command reference /me – action / emote style messages /shrug – appends ¯(ツ)/¯ /rainbow – temporary animated gradient effect on your outgoing bubbles Reactions: Hover a message to reveal a + button; add one emoji. Switching reactions replaces your previous one (enforces single reaction per user per message). Mention highlighting: @username is styled; your own name pops with a stronger highlight. Username customization with persisted storage (GM storage). Gradient username bubble backgrounds for others; your own bubbles distinct. Presence approximation: Shows an estimated active user count (last 3 minutes of message timestamps) — no tracking beacon required. Desktop toasts (optional) for new messages when panel is closed. Notification sound with throttle (prevents rapid spam). Reduced motion mode toggle (eliminates animations and smooth scroll). Self‑message detection heuristic prevents duplicate notification when the server echoes your message. Action message when you change your username (broadcast so others see it). Graceful handling of reaction updates and edited reaction states (ModifiedAt timestamp polling). Clean, high‑contrast dark UI with subtle glassy blur and responsive layout.
@grant GM.addStyle – Inject component styles without polluting page CSS permanently. @grant GM.setValue / GM.getValue – Persist your username & preference toggles. @grant GM.xmlHttpRequest & @connect * – Cross‑origin polling + posting to the chat backend. You can tighten @connect to your host if you self‑host (e.g. @connect your-chat.example.com). No analytics, tracking pixels, or external CDNs are used by the script itself.
Toasts appear bottom-right only if the panel is closed. Sound is throttled (min 4s gap). You can toggle both visuals and sound in settings (gear icon in panel).
This is an early-stage experimental chat overlay. There is no SSL, messages are not kept, IP's are not logged.