ekb wikipedia stuff

By ekbworldwide Last update Aug 16, 2009 — Installed 1,051 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 3 posts, 2 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Avindra V.G. Scriptwright

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);
}

 
Avindra V.G. Scriptwright

i say either use xpath or this line:

GM_addStyle("[class='noprint Inline-Template'], .reference, .Template-Fact, .editsection, .messagebox {display:none!important}")

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel