Thread: Content A gift for GFY
View Single Post
Old 11-01-2015, 03:33 PM  
wocnom
Confirmed User
 
wocnom's Avatar
 
Industry Role:
Join Date: Jan 2013
Posts: 132
Quote:
Originally Posted by clickity click View Post
This script is great and works really well. I like the way it pushes the crap down to the bottom.
Couple of things though:

1. When you are browsing a thread you can still see the user post it's just the background is black, not grey like normal.

2. How do I amend the list as I seem to have blocked me..
Just edit the script.

1. If you wanna block the post from listed users completely, just change this:

Code:
//post_block.remove();
$(post_block).find("td.alt2").css("background", "black").next().css("background", "black");
to this:

Code:
post_block.remove();
If you don't care about blocking/marking the posts at all just remove this section:

Code:
  $('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();
        $(post_block).find("td.alt2").css("background", "black").next().css("background", "black");
      }
    });
  });
2. Edit the array hide_users and remove the element with your nick.

Then import the modified script. Or you can edit directly the script itself (in firefox it's located in your_profile_directory/gm_scripts/name_of_the_script).
wocnom is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote