I just modified this to completely block any trace of someone (well a little more) by blocking any direct quotes of that person, highlighted in green.
It's just a nested for loop and based on code I studied. Catch is the person on ignore must be included in the quote.
Code:
$(document).ready(function () {
$('tbody#threadbits_forum_26 tr').each(function (thread_index, thread_value) {
var thread_block = $(this);
var thread_starter = $('span[style="cursor:pointer"]', this).text();
$(hide_users).each(function (hide_index, hide_user) {
if (thread_starter === hide_user) {
thread_block.remove();
}
});
});
$('table[id^="post"]').each(function (post_index, post_value) {
var post_block = $(this);
var post_author = $('a.bigusername', this).text();
$(hide_users).each(function (hide_index, hide_user) {
if (post_author === hide_user) {
post_block.remove();
}
}); //removes entire post of someone on the ignore list.
$('div[style^="margin:"]').each(function (post_index, post_value) {
var post_block = $(this);
var post_author = $('strong', this).text();
$(hide_users).each(function (hide_index, hide_user) {
if (post_author === hide_user) {
post_block.remove();
}
});
}); //removes any quotes someone may have made of a person on ignore,
even if quotes multiple times but they have to have the name in the quote
}); //end of nested forloops for checking both posts and quotes.
});
This chrome extension is just using jQuery DOM manipulation that was conjured up by a fat ginger pig, oink oink... lol. I forked it.
Below, with quotes and then without quotes in the 2nd image.
All the quoted people below I don't actually have you on ignore, this was strictly for demonstration purposes so don't get butt hurt, please.
May make some conversations sound a bit odd though
