JanitorV5 — Smart RP Toolkit (SEMI BETA)
GLOBAL CHAT IS NOW LIVE IN V5!, invite your friends and share this script I work hard for this to work just to make you people can talk to each other's!
🚀 Speed-Dial — tap the gear
| Button |
Feature |
What it does |
| ✂️ |
Shorten |
Condense the AI's last response. Slash (~30%) / Halve (~50%) / Polish (~70%). Optional dialogue lock. |
| 💬 |
Smart Reply |
Generate your next reply in character. 12 tones, custom instructions, Reroll for infinite variations. |
| 📝 |
Styles |
Save & manage character voice presets. Activate one to auto-fill Smart Reply. |
| ✍️ |
Summarise |
Full-history memory summary — auto Load All, then copies result to clipboard. Warns if you try again too soon (cooldown: 10+ new messages since last run). |
| 🧑 |
Personas |
Quick-switch popup with live search. Load any saved persona instantly. |
⚙️ Settings — long-press the gear
⚙ General
- Connect your own **OpenRouter / OpenAI / custom API key**
- 7 free models pre-listed; custom model IDs supported
- **Test Connection** button to verify your key
💬 Reply
- Default tone & custom instruction auto-fill Smart Reply
- Toggle notify on new AI message
📝 Styles
- Up to **10 character presets** with tone, persona note, and context
- Activate / edit / delete — the active one loads automatically
📄 Context
- **Scene Context** (2000 chars) — injected into your API calls, with optional JanitorAI injection toggle
- **Auto-Generate** — have the AI write a memory note from visible chat history
- **Global Memory** — save & load context across any chat
- **Character-Specific Memory** — auto-detected from the chat URL
- **Auto-Load** toggle — fills empty chats with saved memory automatically
- **Persona Library** — save, edit, delete, and one-click use character descriptions. Export/Import as JSON
- **Past Summaries** — saved per character. The list shows only the current chat's summaries by default; a *"Show all chats"* toggle reveals every entry across all characters. Entries from other chats show the character name as a badge so you always know where each came from.
- **Auto-context** — trigger a summary automatically every N messages (notify-only or fully automatic)
⚡ Configure
- **Advanced Prompting** — replaces JanitorAI's system prompt with your custom module stack
- **Forbidden Words** — unlimited banned words injected into every generation
- **Enable Thinking** — appends a reasoning instruction for models that support deep thinking
- **Prompt Modules** — create, attach, reorder, and enable/disable instruction blocks
- **Deleted-message scrubbing** — removed messages are filtered from outgoing requests
🔄 Character-Switch Awareness (v4.5+)
When you navigate from one chat to another, the script automatically detects the switch and shows a brief notification:
- Character name is read from the page title and chat header
- Past summary count for the new chat — so you know at a glance if you've already summarised this character
- Time since last summary — so you know whether the summary is still fresh
- The Past Summaries list resets to "This chat" view every time you switch, so you never accidentally load the wrong character's notes
🔧 Setup
- Install a userscript manager — Tampermonkey or Violentmonkey
- Install this script
- On any JanitorAI chat page, long-press the floating gear → Settings
- Paste your API key, choose a model, and save
- Free API keys: https://openrouter.ai/keys
📝 Notes
- Works on
janitorai.com and www.janitorai.com
- All settings stored locally in your browser — no data is collected
- API calls go directly from your browser to your chosen provider
- The "→ JanitorAI Memory" button copies context to clipboard for manual pasting into JanitorAI's Chat Memory panel. Auto-injection is not supported due to JanitorAI's frequently changing DOM.
- Optimized for smooth scrolling — settings panel uses hardware-accelerated compositing and does not interfere with JanitorAI's own scroll handlers
- Contact me on TikTok @eivls for request, question, bugs, error, suggestion.
⚠️ UPDATE
🌐 Communication System (v5 LIVE!)
A built-in Community Chat system for JanitorAI that lets users communicate globally or inside character-specific channels in real time.
💬 Global & Character Chat
| Feature |
What it does |
| 🌍 Global Chat |
Talk with everyone currently using JanitorV4 across JanitorAI. |
| 🧑🤝🧑 Character Channels |
Automatically detects when you're viewing a character page and places you into that character’s dedicated chat room. |
| 🃏 Character Awareness |
Clicking or opening a character card enables communication with users currently viewing the same character. |
| ⚡ Real-Time Messaging |
Fast live chat with typing indicators, online count, reactions, replies, pinned messages, and notifications. |
| 🔔 Reply Notifications |
Get notified when someone replies directly to your message. |
| 😀 Emoji & Reactions |
Built-in emoji picker and message reactions for more interactive conversations. |
| 📌 Pinned Messages |
Admins can pin important announcements or messages inside chat rooms. |
| 📤 Chat Export |
Export chat history locally to your device anytime. |
| 🚫 Mute & Report |
Mute unwanted users or report inappropriate messages directly from the chat. |
🧠 Character-Based Chat Detection
When you're on a JanitorAI character page:
- The script automatically detects the current character
- Opening the Communication panel joins the matching Character Room
- You can instantly talk with other users viewing the same character
- Makes it easier to discuss roleplays, prompts, character lore, and shared interests
If no character page is detected, the system falls back to the default Global Chat.
⚡ API Expansion
The Model API system is also being expanded beyond OpenRouter.
Planned provider support includes:
- Claude
- Grok
- GLM
- Qwen
- More providers in future updates
Custom provider support and additional API integrations are also planned for later versions.
🛠 Community Feedback
Suggestions, bug reports, feature requests, and feedback are always appreciated.
Community feedback helps improve JanitorV4 faster and makes future updates more stable and feature-rich for everyone.
📄 License
Copyright © 2025 eivls. All Rights Reserved.
This script is the intellectual property of eivls. Copying, modifying, redistributing, or republishing — in whole or in part — without prior written permission is strictly prohibited.
To request permission, contact the author via GreasyFork.
Removing or altering this license notice does not void its terms. Unauthorized use may be reported to GreasyFork and subject to a DMCA takedown.