User:LaurentP/modern.js

addOnloadHook(function {

portlets = document.getElementById("mw_portlets");

act = document.getElementById("p-cactions"); act.parentNode.removeChild(act); portlets.insertBefore(act,portlets.firstChild);

per = document.getElementById("p-personal"); per.parentNode.removeChild(per); portlets.insertBefore(per,portlets.firstChild);

head = document.getElementById("firstHeading"); sub = document.getElementById("siteSub"); head.innerHTML = head.innerHTML + "     " + sub.innerHTML; });