View Single Post
Old 09-23-2013, 02:17 PM   #6
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,738
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
It's relatively easy to hide posts by certain users if you use Firefox with the Greasemonkey extension or Chrome with the TamperMonkey extension. Simply create a new Greasemonkey script, paste the following code, change the name of the user(s) to be hidden and you're done:

Code:
// ==UserScript==
// @name        Hide MR uploads
// @namespace   Mobileread
// @description Hides certain user uploads
// @include     https://www.mobileread.com/forums/*
// ==/UserScript==

h3 = document.getElementsByTagName("h3");
if (h3.item(0).childNodes[0].innerHTML == "E-Book Index") {

    trs = document.getElementsByTagName("tr");
    for (i = 0; i < trs.length; i++) {
        if (/Doitsu/.test(trs.item(i).innerHTML)) {
            trs.item(i).parentNode.removeChild(trs.item(i));
            i--;
        }
    }
}
As it is right now, my (very simple) script will hide all uploads by me. You can of course easily modify the script to hide other users or multiple users:
Code:
/user1|user2|user3/
Disclaimer: Since I'm not a programmer the script is most likely not very efficient, but it works for me.
Doitsu is offline   Reply With Quote