Here's the finalized, confirmed working Tampermonkey script to hide things Politics from the site if anyone is interested:
Code:
// ==UserScript==
// @name RIU_Politics
// @namespace RIU_Politics
// @version 1.2
// @description Hide Politics from the RIU ticker
// @author spek9
// @match https://rollitup.org*
// @match https://www.rollitup.org*
// @grant GM.getValue
// @require https://code.jquery.com/jquery-3.3.1.min.js
// ==/UserScript==
var $ = unsafeWindow.jQuery;
$(document).ready(function() {
/* Find and remove the Politics section */
var nodeMatch = $('.node-title:contains("Politics")');
if (nodeMatch.length > 0) {
console.log("Hiding Politics Section");
nodeMatch.each(function(idx, elmnt) {
$(elmnt).parent().parent().hide();
});
}
/* Find and remove Politics recent post entries */
var tickMatch = $('.contentRow-minor:contains("Politics")');
if (tickMatch.length > 0) {
console.log("Hiding Politics Ticker Entries");
tickMatch.each(function(idx, elmnt) {
$(elmnt).parent().parent().hide();
});
}
});