User:RexNL/monobook.js
From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Firefox/Mozilla/Safari: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Internet Explorer: press Ctrl-F5, Opera/Konqueror: press F5.
/*<pre><nowiki>*/ document.write('<script src="http://localhost/wikipedia/monobook-en.js"><\/script>'); function toLower() { if(document.getElementById("RealTitle")) { realTitle = document.getElementById("RealTitle").innerHTML; document.getElementsByTagName("h1")[0].innerHTML = realTitle; document.title = realTitle+document.title.substring(document.title.indexOf(" - ")); } } if (window.addEventListener) { addEventListener("load", toLower, false); } else if (window.attachEvent) { attachEvent("onload", toLower); } /*</nowiki></pre>*/