Firefox and Chrome extension that adds a right-click menu option to toggle cancer on/off in Twitch's chat.
See it in action on robots and on spam.
To learn more about cancer on Twitch, check out cancerino.info.
- install
node.js
andgrunt
- clone the repo
npm install
to get all dependencies
grunt test
grunt chrome
to build the Chrome extension. You need a key to sign the .crx but you can also just test it unpacked in Chrome.
grunt firefox
to build the Firefox extension.
See diagnosis.js and symptoms.js, basically cancer is message with any of:
- 1 word only
- more than 50% caps
- more than 1 global emote
- more than 50% emotes (fuzzy detection of unknown emotes)
- inner copy-pasta (
- chat copy-pasta (including slight variations)
Turning those on/off and altering values could be easily done and exposed in the settings.
Cancer detection is off for subscribers, moderators, etc. We only cure plebs for now. This could become an option in the settings.
There's no settings page/popup for now but the code is ready to support it.