Advertisement
Rapptz

hideignore.user.js

May 1st, 2013
360
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name                Hide Ignored
  3. // @namespace           sechatign
  4. // @description         Hides the small squares of users in StackExchange chat sites.
  5. // @include             http://chat.stackoverflow.com/*
  6. // @include             http://chat.stackexchange.com/*
  7. // @version             1.0
  8. // ==/UserScript==
  9.  
  10. function hide() {
  11.     var ig = document.getElementsByClassName("ignored");
  12.     for (var i = 0; i != ig.length; ++i) {
  13.         ig[i].style.display = "none";
  14.     }
  15.     window.setTimeout(hide, 100);
  16. };
  17. hide();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement