User:JWSchmidt/monobook.js

window.onload = Main; function Main { addactions; } function addactions { addcabal; } function addcabal { var tabs = document.getElementById('p-cactions').getElementsByTagName('ul')[0]; if(document.title.indexOf("Special") != 0) addlilink(tabs, '/wiki/WP:CABAL', 'cabal', 'ca-cabal'); ta['ca-cabal'] = ['a', 'Long live the CABAL']; akeytt; } 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; }