/robin-hide

Quick dirty script for hiding users on reddit.com/robin

Primary LanguageJavaScript

robin-hide

Quick dirty script for hiding users on reddit.com/robin

Copy and paste this into the developer console.

var h=[];setInterval(function(){$.each(h,function(i,v){$('.robin--username:contains('+v+')').parent().hide();});},100);

Add users to hide by typing this in the developer console (replace username with the name of the user to hide).

h.push("username")

You can also run this script to put a "block" button by each user. (only works with old messages)

$('#robinChatWindow .robin--username').before($('<button>block</button>').click(function(){h.push($(this).siblings('.robin--username').text())}));

The hide user list does not carry over after merges. To get a list of everyone you added type h in the developer console. You can then use that list to share or carry over to the next merge.

h.push("user1", "user2", "etc")

This script removes autovoters and the actual vote commands:

window.setInterval(
  function(){
    $(".robin-message--message:contains(Autovoter)").parent().remove();
    $(".robin-message--message:contains(Robin-Grow)").parent().remove();
    $(".robin-message--message:contains(voted to GROW)").parent().remove();
    $(".robin-message--message:contains(voted to STAY)").parent().remove();
    $(".robin-message--message:contains(voted to ABANDON)").parent().remove();
  },1000);

TODO

  • Find better function than "setInterval" (makes ui jerky)
  • This could use lots of improvements and is not very user friendly.
  • Fix block button to appear on new messages.