Hide Twitch chat messages until approved by moderators

Latest Version

Version
1.0.5
Update
May 12, 2023
Size
14.53KiB
Developer
stone.money
Category
Users
12
Rating
0 ★
Manifest Version
3
Web Store Status
Languages Support
English (United States)
See more
Permissions
Storage
See more

Chat Curtain Extension

Modifies Twitch chat to have an approved-messages-only view.
Perfect for new releases that might be prone to spoilers!!

In active mode (curtains closed), only messages approved by your channel's moderators will appear in your chat.
In inactive mode (curtains open), all chat messages will be shown. If you are a moderator, an \"approval checkmark\" will appear alongside any message, clicking the check will allow it to be visible to users in active mode.
To toggle modes, click the curtain icon to the left of the chat list icon.
This is a client-side behavior, meaning only people using the extension will see the effects of it.

To get started, install the extension and open the extension options, you can then log in and connect with twitch. Doing so will request your list of moderators and enable the ability to use the extension on your channel.

Only moderators of the channel can approve messages, they must log in with twitch in the extension settings
Moderation list is obtained by signing in (i.e. the channel owner must also log into the extension to enable it on their channel)
A message with no text (just emotes) is always instantly approved
Messages will appear in order of chatted, not in order of approval
Identical messages from the same user don't need to be approved again (steve says hi twice, it only approves once)
Doesn't work when \"channel surfing\" (you need to directly load the page or refresh on the stream page)
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Chat Curtain", "version": "1.0.5", "manifest_version": 3, "description": "Hide Twitch chat messages until approved by moderators", "icons": { "16": "images/16.png", "32": "images/32.png", "128": "images/128.png" }, "permissions": ["storage"], "action": { "default_title": "Chat Curtain", "default_icon": { "19": "images/19.png", "38": "images/38.png" } }, "options_ui": { "page": "html/options.html", "open_in_tab": true }, "homepage_url": "http://stone.money/", "content_scripts": [ { "css": ["css/twitch.css"], "js": ["js/chatcurtain.js"], "matches": [ "https://www.twitch.tv/*", "https://www.twitch.tv/*", "https://www.twitch.tv/popout/*/chat", "https://www.twitch.tv/popout/*/chat" ] }, { "js":["js/login.js"], "matches": [ "https://chatcurtain.stone.money/v1/auth/success?token=*" ] } ], "browser_specific_settings": { "gecko": { "id": {28cb5734-221e-4158-8286-e2604433d734} } }}
Read more