The Soapbox

sss

Joined: 10/11/2003 Posts: 129
Likes: 80


Tired of viewing troll posts?


I am.

So I wrote a quick script which will remove the troll post and all posts that feed the troll. Tested in Chrome, but it should be compatible with all modern browsers.

In chrome, install Tampermonkey extension.
In Tampermonkey, copy, paste, save the following script. Poof!! Gone for good.

// ==UserScript==
// @name Troll Removal
// @namespace TrollRemoval
// @description Removes the troll posts
// @include http*://virginia.sportswar.com/message_board/soapbox*
// @version 1
// @grant none
// @run-at document-end
// @require http://code.jquery.com/jquery-latest.min.js
// ==/UserScript==
(function() {
'use strict';

$("div.mbThreadText:contains('Hokieesith')" ).parent().remove();
})();


Posted: 05/17/2018 at 2:52PM



+9

Insert a Link

Enter the title of the link here:


Enter the full web address of the link here -- include the "http://" part:


Current Thread:
 
  
Tired of viewing troll posts? -- sss 05/17/2018 2:52PM
  Now you guys get to have your cozy bubble -- hoothat 05/17/2018 7:43PM
  Reminds me of safe spaces, cry ins, and puppy zones. -- psychobilly 05/17/2018 7:10PM
  Ruh roh. Someone is Mad Online! ** -- Fuzzy Dunlop 05/17/2018 4:25PM
  Reading troll posts = manning up? -- CavMan1 05/17/2018 10:25PM
  I need some warm cocoa. ** -- MasterRusty 05/17/2018 4:23PM
  ...an echo chamber...like "The Bubble" ** -- Tuckahokie 05/17/2018 4:07PM
  Hokieesith???? Nooooooooo!!! ** -- Guy LeDouche 05/17/2018 3:58PM
  You'll be left with an empty board ** -- SPYCAV 05/17/2018 3:36PM
  No. I view them here everyday. -- Hokieesith 05/17/2018 3:25PM
  Simple -- sss 05/17/2018 4:04PM
  '$' is not definied ** -- SchmHoo 05/17/2018 3:18PM
  Ignore the warning ** -- sss 05/17/2018 4:01PM
  Hmmm -- SchmHoo 05/17/2018 8:24PM
  Bravo! :) ** -- Hoo TV 05/17/2018 3:09PM
  This is genius; well done! :D ** -- Seattle .Hoo 05/17/2018 3:05PM
  Excellent! ** -- HoosWillWin 05/17/2018 3:03PM

Notice: Trying to get property 'queue' of non-object in /data/www/sportswar.com/wp-includes/script-loader.php on line 2781

Warning: Invalid argument supplied for foreach() in /data/www/sportswar.com/wp-includes/script-loader.php on line 2781
vm307