User:FProg/monobook.js

/* bottom bar */ function morelinks { var tabs = document.getElementById('p-cactions').cloneNode(true); tabs.id = 'mytabs'; var listitems = tabs.getElementsByTagName('LI'); for (i=0;i<listitems.length;i++) { if(listitems[i].id) listitems[i].id = 'mytabs-' + listitems[i].id; } document.getElementById('column-content').appendChild(tabs); } if (window.addEventListener) window.addEventListener("load",morelinks,false); else if (window.attachEvent) window.attachEvent("onload",morelinks);

/* personal links */ function modplinks { var pcontris = document.getElementById('pt-mycontris').getElementsByTagName('A')[0]; pcontris.href='/de/index.php'; pcontris.firstChild.nodeValue='MA German'; } if (window.addEventListener) window.addEventListener("load",modplinks,false); else if (window.attachEvent) window.attachEvent("onload",modplinks);