/WorseTTV

Twitch No Cancerino, a browser extension to filter cancer out of Twitch chat.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Twitch No Cancerino

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.

Building

Requirements

  • install node.js and grunt
  • clone the repo
  • npm install to get all dependencies

Tests

grunt test

Extensions

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.

Cancer detection

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.

Settings

There's no settings page/popup for now but the code is ready to support it.