Advertisement
Guest User

Funnyjunk Avatar Border Go Away

a guest
Jul 22nd, 2014
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name        Funnyjunk Avatar Border Go Away
  3. // @namespace   Posttwo
  4. // @description Guess
  5. // @include     http://www.funnyjunk.com/*
  6. // @version     1
  7. // ==/UserScript==
  8.  
  9. (function() {
  10.     var css = "\n#commentsList .av, div.noavatar, #commentsList_mp .av { border: 0px; }\n}";
  11. if (typeof GM_addStyle != "undefined") {
  12.     GM_addStyle(css);
  13. } else if (typeof PRO_addStyle != "undefined") {
  14.     PRO_addStyle(css);
  15. } else if (typeof addStyle != "undefined") {
  16.     addStyle(css);
  17. } else {
  18.     var heads = document.getElementsByTagName("head");
  19.     if (heads.length > 0) {
  20.         var node = document.createElement("style");
  21.         node.type = "text/css";
  22.         node.appendChild(document.createTextNode(css));
  23.         heads[0].appendChild(node);
  24.     }
  25. }
  26. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement