User:Jibun/monobook.js

/* WP:POPUP - Activate navigation popups */ // User:Lupin/popups.js

importScript('User:Lupin/popups.js');

// (2007-03-28, jibun) // Taken from  (thanks!) //

window.onload = Main; function Main { addPipesToHistory; }

// "Add a pipe to make using Template:Unsigned2 easier." function addPipesToHistory {   if(document.title.indexOf("- History -") > 0) {       var items=getElementsByClass(document, "history-user", "span"); for(i=0;i<items.length;i++) {           var hidden=document.createElement("span"); hidden.appendChild(document.createTextNode("|")); hidden.setAttribute("style", "color: white;"); items[i].childNodes[0].insertBefore(hidden,                   items[i].childNodes[0].childNodes[0]); }   } }

// End excerpt from User:HorsePunchKid/monobook.js