Archived Comments (locked)
|
|
The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008) |
|
|
The xpath way would be:
var g=document.evaluate("//*[@class='noprint Inline-Template' or @class='reference' or @class='noprint Template-Fact' or @class='editsection' or @class='messagebox']",document,null,6,null),l=g.snapshotLength;
for(i=0;i<l;i++) {
cur=g.snapshotItem(i);
cur.parentNode.removeChild(cur);
}
|
|
|
i say either use xpath or this line: GM_addStyle("[class='noprint Inline-Template'], .reference, .Template-Fact, .editsection, .messagebox {display:none!important}")
|