jim / Twitch.tv Hide Games

Published:

Version: 1.3+87ebcb0 updated

Summary: Hide games you'll never watch

Groups:

License: MIT; https://opensource.org/licenses/MIT

Hides games from the "All Directory".

You will need to edit the script to add/remove games you want to hide/show.

If you ignore enough games, it will "break" the sites "infinite scroll". To force games to show up, you'll need to resize your browser small enough so that the site has scroll bars and then scroll down.

The default hidden games are: League of Legends, Dota 2, and Hearthstone: Heroes of Warcraft. (Top 3 games as of this post)

To Add games, add them to the Array:
var games = Array( "League of Legends", "Dota 2", "Hearthstone: Heroes of Warcraft", "new_game_01", "new_game_02" );
Notice the , (comma) added after "Hearthstone: Heroes of Warcraft" and after "new_game_01" but there is none after the last item "new_game_02".

To Remove games, remove them from the Array:
var games = Array( "Dota 2", "new_game_01" );
Notice no , (comma) after the last item "new_game_01"

Or to just have 1 game hidden:
var games = Array( "Hearthstone: Heroes of Warcraft" );
Notice no , (comma) after the last and only item.

Rating: 0