a | b | |
---|
74 | 74 | | |
---|
75 | 75 | | changeName(document.body, 20, false); |
---|
76 | 76 | | document.addEventListener('DOMNodeInserted', function(ev){ changeName(ev.originalTarget, 15, true); }, true); |
---|
... | |
---|
| 77 | + | |
---|
| 77 | + | (function() { |
---|
| 77 | + | 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; }"; |
---|
| 77 | + | if (typeof GM_addStyle != "undefined") { |
---|
| 77 | + | GM_addStyle(css); |
---|
| 77 | + | } else if (typeof PRO_addStyle != "undefined") { |
---|
| 77 | + | PRO_addStyle(css); |
---|
| 77 | + | } else if (typeof addStyle != "undefined") { |
---|
| 77 | + | addStyle(css); |
---|
| 77 | + | } else { |
---|
| 77 | + | var heads = document.getElementsByTagName("head"); |
---|
| 77 | + | if (heads.length > 0) { |
---|
| 77 | + | var node = document.createElement("style"); |
---|
| 77 | + | node.type = "text/css"; |
---|
| 77 | + | node.appendChild(document.createTextNode(css)); |
---|
| 77 | + | heads[0].appendChild(node); |
---|
| 77 | + | } |
---|
| 77 | + | } |
---|
| 77 | + | })(); |
---|
... | |
---|