Jump to content

User:RDF/monobook.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by RDF (talk | contribs) at 17:54, 12 September 2005. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* Add Template:Categorybrowsebaroneline to top of page */

setTimeout("categorybrowsebaroneline()", 0);

function categorybrowsebaroneline() {
var div = document.createElement("div");

div.innerHTML = '<p style="clear:both; margin:0 3px .8em 3px; text-align: center; margin-top: 0; margin-bottom:.2em; font-size: 105%;"><span style="font-variant: small-caps"> <a href="/wiki/Category:Culture" title="Category:Culture">Culture</a> | <a href="/wiki/Category:Geography" title="Category:Geography">Geography</a> | <a href="/wiki/Category:History" title="Category:History">History</a> | <a href="/wiki/Category:Personal_life" title="Category:Personal life">Life</a> | <a href="/wiki/Category:Mathematics" title="Category:Mathematics">Mathematics</a> | <a href="/wiki/Category:Science" title="Category:Science">Science</a> | <a href="/wiki/Category:Human_societies" title="Category:Human societies">Society</a> | <a href="/wiki/Category:Technology" title="Category:Technology">Technology</a></span> | <a href="/wiki/Wikipedia:Browse" title="Wikipedia:Browse">Subjects</a> | <a href="/wiki/Portal:Browse" title="Portal:Browse">Portals</a> | <a href="/wiki/Wikipedia:Browse_by_overview" title="Wikipedia:Browse by overview">Articles</a> | <a href="/wiki/Wikipedia:Quick_index" title="Wikipedia:Quick index">Alpha</a> | <a href="/wiki/Wikipedia:Category_schemes" title="Wikipedia:Category schemes">More</a></p>'

document.getElementById("content").insertBefore(div, document.getElementsByTagName("h1")[0]);

}