--- Revision 653137353662 +++ Revision 323062666639 @@ -75,3 +75,22 @@ changeName(document.body, 20, false); document.addEventListener('DOMNodeInserted', function(ev){ changeName(ev.originalTarget, 15, true); }, true); + +(function() { +var css = "#LastAd_TopRight, #LastAd_Top, #LastAd_Mid, #footer_ads, #cbsi_f_pop, #cbsi_f, .LastAd, .advert { display: none !important; } #footer_content, #footerLinks { margin: 0 !important; } .skylineRight { padding-right: 0 !important; margin-left: 0 !important; } .skyWrap { padding: 0 0 0 3px !important; } .forumComments .wrapper, .forumComments .date { width: 100% !important; }"; +if (typeof GM_addStyle != "undefined") { + GM_addStyle(css); +} else if (typeof PRO_addStyle != "undefined") { + PRO_addStyle(css); +} else if (typeof addStyle != "undefined") { + addStyle(css); +} else { + var heads = document.getElementsByTagName("head"); + if (heads.length > 0) { + var node = document.createElement("style"); + node.type = "text/css"; + node.appendChild(document.createTextNode(css)); + heads[0].appendChild(node); + } +} +})();