5I4gCia8xh1fOH1oQ7c5JQ changeset

Changeset323062666639 (b)
Parent653137353662 (a)
ab
7474
7575changeName(document.body, 20, false);
7676document.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+})();
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- 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);
+ }
+}
+})();