Last active
February 12, 2017 00:45
-
-
Save miou-gh/1610dcbc874da903920dbb850aca252d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name HideForumGames | |
// @namespace hideforumgames | |
// @include https://forums.everybodyedits.com/search.php?action=show_new | |
// @include http://forums.everybodyedits.com/search.php?action=show_new | |
// @version 1 | |
// @grant none | |
// @author Atilla Lonny | _@atil.la | |
// ==/UserScript== | |
// always lowercase | |
var hiddenForums = [ | |
'forum games' | |
]; | |
$('tbody').children().each(function (i, elem) { | |
if ($.inArray($(elem).find('.tc2').text().toLowerCase(), hiddenForums) != - 1) { | |
$(elem).css({'display': 'none'}); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment