User talk:Onion/monobook.js

If you want to use HotBan, you need to add this script:

function setuphotban { var anchors = document.getElementsByTagName('a'); for ( i in anchors ) { if (anchors[i].title != undefined && anchors[i].title.indexOf("Special:Block/") != -1) { target = anchors[i].title.substring(14,anchors[i].title.length); var qba = document.createElement('a'); qba.innerHTML = "| ►◉◄"; qba.style.cursor = "not-allowed"; qbonc(qba,target,hotban); if (anchors[i].nextSibling == undefined) { anchors[i].parentNode.appendChild(document.createTextNode(" ")); anchors[i].parentNode.appendChild(qba); } else { anchors[i].parentNode.insertBefore(qba,anchors[i].nextSibling); anchors[i].parentNode.insertBefore(document.createTextNode(" "),qba); }   }  } } addOnloadHook(setuphotban);

20:34, 5 September 2010 (UTC)