I wish I could hide the political section. So much drama in there and it’s embarrassing to see “adults” act like children.
Just for you, I slapped together a quick Tampermonkey script that hides the Politics section, and any entries from Politics that show up in the recent post section.
It's very quick and dirty, and pretty much represents only a few minutes of effort, and it does it's work in a very cludgy way, but it does work. Tested on Firefox 73.0.1 with Tampermonkey 4.11.
Code:
// ==UserScript==
// @name RIU_Politics
// @namespace RIU_Politics
// @version 1.0
// @description Hide Politics from the RIU ticker
// @author spek9
// @match *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) {
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) {
tickMatch.each(function(idx, elmnt) {
$(elmnt).parent().parent().hide();
});
}
});
Look Ma, no Politics!
