The Money Mustache Community

General Discussion => Forum Information & FAQs => Topic started by: Miss Piggy on March 16, 2018, 04:19:22 PM

Title: Is there a way to "ignore" or block my view of specific threads/topics?
Post by: Miss Piggy on March 16, 2018, 04:19:22 PM
I'm wondering if there's a setting that will allow me to never see a specific thread again. If so, please share.

(Why, you may ask? It's a really stupid reason, I admit, but there are a few threads here that have titles that are like fingernails on a chalkboard to me. It's my problem, not the OP's. Also, some threads just go off the rails and I don't want to be bothered.)
Title: Re: Is there a way to "ignore" or block my view of specific threads/topics?
Post by: katsiki on November 13, 2018, 01:08:29 PM
I am curious too...  Is there a way?

Thanks to anyone who knows!
Title: Re: Is there a way to "ignore" or block my view of specific threads/topics?
Post by: MDM on November 13, 2018, 02:53:34 PM
I'm wondering if there's a setting that will allow me to never see a specific thread again. If so, please share.
Not exactly, but if you use the "Notify" feature instead of "Show new replies" you can reduce sightings considerably.

See Suggestion for New Rule/FAQ to Optimize Use of Forum (https://forum.mrmoneymustache.com/forum-information-faqs/suggestion-for-new-rulefaq-to-optimize-use-of-forum/) for details.
Title: Re: Is there a way to "ignore" or block my view of specific threads/topics?
Post by: G-dog on November 13, 2018, 04:37:11 PM
A couple of people have built code to do this - but I cannot remember their names. I think @ender may be one of them.

I think that info should be in this topic though.
Title: Re: Is there a way to "ignore" or block my view of specific threads/topics?
Post by: ender on December 24, 2018, 09:55:42 AM
A couple of people have built code to do this - but I cannot remember their names. I think @ender may be one of them.

I think that info should be in this topic though.

I had a plugin once upon a time that did this but it has been so long since I've really participated here (you pinged me well over a month ago, hah) that I don't even remember where it is.
Title: Re: Is there a way to "ignore" or block my view of specific threads/topics?
Post by: maizefolk on December 24, 2018, 12:19:52 PM
If you know how to set up user scripts in your browser, something like this would do the trick. This one was for blocking based on a username, but should work for script titles as well.

Code: [Select]
// ==UserScript==
// @name         BlockUnreadReplies
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Low information social news diet
// @author       MaizeMan
// @match        https://forum.mrmoneymustache.com/*
// [member=43572]grant[/member]        none
// ==/UserScript==

(function() {
    'use strict';
    //To block additional users edit the line below to add more names.
    var blocklist = ['mr_orange'];
    var elements = document.querySelectorAll('tr');
    for (var i=0; i<elements.length; i++) {
    var text = elements[i].textContent || elements[i].innerText;
    for (var j = 0; j<blocklist.length; j++) {
    if (text.trim().indexOf(blocklist[j]) >= 0) {
       elements[i].parentNode.removeChild(elements[i]);
    }}}})();