User:Aydee/monobook.js

// User:Lupin/popups.js - please include this line

mw.loader.load(

'https://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'

+ '&action=raw&ctype=text/javascript&dontcountme=s');

simplePopups=true;

/* Functions borrowed from http://meta.wikimedia.org/wiki/User:Lupo/monobook.js

Nothing in this is really original. */

function topLinks() {

var contents = document.getElementById('column-content');

var links = document.getElementById('p-cactions');

links.parentNode.removeChild (links);

contents.insertBefore(links, contents.firstChild);

}

function topPersonals() {

var contents = document.getElementById('column-content');

var personal = document.getElementById('p-personal');

personal.parentNode.removeChild (personal);

contents.insertBefore(personal, contents.firstChild);

}

function reformatMyPage() {

topLinks();

topPersonals();

}

if (window.addEventListener) window.addEventListener("load",reformatMyPage,false);

else if (window.attachEvent) window.attachEvent("onload",reformatMyPage);