Git Product home page Git Product logo

twitch-chat-filter's Introduction

Twitch.TV Chat Filter

A Javascript userscript to filter chat commands and other spam from the chat on the Twitch Plays Pokemon stream

Chat-Filter Preview

Using the script as a JavaScript bookmark

Fast and lightweight way to run the script.

  1. Go to the bookmark menu of your browser and add a new bookmark with the title of your choice.

  2. Copy the following snippet and paste it into the URL-Field: javascript:(function(){document.body.appendChild(document.createElement('script')).src='http://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js';})();

  3. Save the Bookmark.

  4. From now on, you can just click on that bookmark when you have the TPP-Tab open to enable the script.

Installing the script using Greasemonkey (Firefox)

Installing the userscript via Greasemonkey will automatically run it everytime you visit the TPP stream.

  1. Install the Greasemonkey extension for Firefox.

  2. Click this link to navigate to the script URL: http://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js

  3. Greasemonkey will detect the userscript and ask what to do with it. Tell it to "Install" the script.

  4. Refresh the page TPP stream page.

Installing the script using Tampermonkey (Chrome)

Tampermonkey lets you install userscripts in Chrome, similarly to how Greasemonkey does it in Firefox.

  1. Install the Tampermonkey extension for Chrome.

  2. Click this link to navigate to the script URL: http://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js

  3. Tampermonkey will detect the userscript and will open a new tab. Click on Install to Tampermonkey and click Ok.

  4. Refresh the page TPP stream page.

Run the script via the console (no extensions needed)

If you don't want or can't install one of the previously mentioned browser extensions, one possibility is to run the script via the developer console. However, you will need to rerun the script every time you refresh the stream.

  1. On the TPP stream page, open your broser's developer console.

    • On Firefox, press Ctrl + Shift + K
    • On Chrome, press Ctrl + Shift + J
    • On Safari, press Ctrl + Alt + I
    • On IE9+, press F12
    • On Opera, press Ctrl + Shift + I
    • If you are having trouble opening your console, try reading the in depth explanation here
  2. Copy the following snippet and paste it into the developer console on the TPP page: javascript:(function(){document.body.appendChild(document.createElement('script')).src='http://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js';})();

  3. Press Enter to run the code.

Update Log

Version 2.7 (2014/06/16)

  • Support new twitch.tv layout

Version 2.6 (2014/05/03)

  • Filter Pokemon Stadium betting (e.g. !bet 100 blue)

Version 2.5 (2014/04/30)

  • Coordinate inputs for touch screen are now filtered (e.g., 291,372)

Version 2.4 (2014/04/12)

  • New twitch.tv layout: settings menu is now together with Twich's own settings menu.
  • Slowmode helper does not block sending messages anymore and can be turned off.
  • Made the command filter recognize any non-alphabetic separator.
  • Removed URL and Spam filters
  • "Hide emoticons" command now fully hides messages that only contained emoticons

Version 2.3 (2014/03/28)

  • Removed custom ignored-user list.
  • More specific donger detection.
  • Recognize compound commands (b+left)

Version 2.2 (2014/03/21)

  • Improved style of custom filter lists
  • Activated filters are now saved between sessions
  • Better handling of delays between messages
  • Information on script displayed upon loading

Version 2.1 (2014/03/07)

  • Fixed userscript support
  • Added filter for overly long messages
  • Added "no emoticons" restyler
  • Added "no colored messages" restyler

Version 2.0 (2014/03/06)

  • Countdown timer on the chat button to show slow mode warnings
  • Added custom filtering option

Version 1.9 (2014/03/03)

  • Updated script to work with both old and new version of the twitch chat

twitch-chat-filter's People

Contributors

ajhodges avatar andlen avatar aysz88 avatar benwurth avatar codefusion avatar feha avatar hugomg avatar hzoo avatar jakery avatar jpgohlke avatar mattiasbuelens avatar meiktranel avatar mkody avatar rctgamer3 avatar red-agent avatar renfredxh avatar sylvainboilard avatar yankjenets avatar zephymastyx avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.