Quantcast User:CocoaZen/Rem - Wikis from Wikia - Join the best wiki communities
Recent changes Random page
GAMING
more wikis
 
Gaming
Entertainment
Hobbies
Sports
Biggest wikis
see all...
See more...

User:CocoaZen/Rem

Wikia - creating communities

Jump to: navigation, search

// window.onload = Main; function Main() { addpurge(); } function addpurge() { if(!document.getElementById) return; var x = document.getElementById('ca-history'); var tabs = document.getElementById('p-cactions').getElementsByTagName('ul')[0]; if(!x) return; if(x.children) x = x.children[0]; else x = x.childNodes[0]; addlilink(tabs, x.href.replace(/=history/, "=purge"), 'purge', 'ca-purge'); } function addlilink(tabs, url, name, id) { var na = document.createElement('a'); na.href = url; na.id = id; na.appendChild(document.createTextNode(name)); var li = document.createElement('li'); li.appendChild(na); tabs.appendChild(li); return li; } //