anti - Ikariam PLUS

By hatos david Last update Jul 14, 2008 — Installed 902 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 4 posts, 3 voices



Jesse Andrews Admin

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

 
sol-666 Scriptwright

if tou want we speek about modifications, post your comment here:
http://userscripts.org/scripts/show/29831

 
realtebo Scriptwright

Can you remove the 'plus' sign from the four images of the man (military, etc...) and the link from top bar?

This is how You can do

Or you or sol-666

// this one remove the plus

var ricercaPiu = document.evaluate("//div[@id='advisors']//a[@class='plusteaser']",
		document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = ricercaPiu.snapshotLength - 1; i >= 0; i--) {
		var elm = ricercaPiu.snapshotItem(i);
		elm.parentNode.removeChild(elm);
}


// this one remove the link at top for plus functions
var ricercaLinkPlus = document.evaluate("//li[@class='premium']",
		document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);

for (var i = ricercaLinkPlus.snapshotLength - 1; i >= 0; i--) {
		var elm = ricercaLinkPlus.snapshotItem(i);
		elm.parentNode.removeChild(elm);
}

 
sol-666 Scriptwright

why dit you use my code, I don't see any différences ??

original sources are here :
http://userscripts.org/scripts/show/29831

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