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 08:03, 11 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:Categorybrowsebar to top of page */

setTimeout("categorybrowsebar()", 0);

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

div.innerHTML = '<p style="clear:both; margin:0 3px .8em 3px; font-variant: small-caps; text-align: center; margin-top: 0; margin-bottom:.2em; font-size: 105%;"><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></p><p style="text-align: center; margin-top: 0"><i><a href="/wiki/Wikipedia:Browse" title="Wikipedia:Browse">Browse by subject</a> · <a href="/wiki/Portal:Browse" title="Portal:Browse">Browse portals</a> · <a href="/wiki/Wikipedia:Browse_by_overview" title="Wikipedia:Browse by overview">Article overviews</a> · <a href="/wiki/Wikipedia:Quick_index" title="Wikipedia:Quick index">Alphabetical index</a> · <a href="/wiki/Wikipedia:Category_schemes" title="Wikipedia:Category schemes">Other indexes</a></i></p>'

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

}