3 ms·
I use this in ViolentMonkey for (let idiot of ['alice','bob','carol','dick','eve']){ for ( let a of document.querySelectorAll('a[href="user?id=' + idio
by thomassmith65 4y ago
I use this in ViolentMonkey
for (let idiot of ['alice','bob','carol','dick','eve']){
for ( let a of document.querySelectorAll('a[href="user?id=' + idiot + '"]') ){
let node = a.parentNode.parentNode.parentNode.parentNode
if (node.tagName !== 'TABLE') { node.style.display = 'none' }
}
}
- ogeiczvm 4y agothank you - I already had GreaseMonkey installed (for old.reddit.com redirection) - wasn't sure if they're compatible but they are - it worked nicely without any modifications - thank you very much. depending on the size of the list this may be cleaner than the ublock origin one - thanks again.
- thomassmith65 4y agoNo problem. I can't remember any longer why I excluded 'TABLE' nodes; I think it's to leave the front page alone when it contains posts from the unwanted users. I was only concerned with hiding comments, not links.