Created
June 12, 2018 11:36
-
-
Save dvingerh/4f6c1a0b2480be29264d7a300088155f to your computer and use it in GitHub Desktop.
Remove all threads that contains the word 'rep'
This file contains hidden or 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 HF Remove Reputation Threads | |
// @namespace HF Remove Reputation Threads | |
// @version 0.1 | |
// @description Remove all threads that contains the word 'rep' | |
// @author You | |
// @match https://hackforums.net/forumdisplay.php?fid=* | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js | |
// @grant none | |
// ==/UserScript== | |
$(function (){ | |
$('tr[class="inline_row"]').each(function(){ | |
var string = $(this).html().toLowerCase(); | |
if (string.indexOf("rep") >= 0) | |
{ | |
$(this).hide(); | |
} | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment