Jump to content

User:Test84user/monobook.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Test84user (talk | contribs) at 04:07, 2 December 2009 (down another 1em). 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.
/* <source lang=javascript> */
/* adapted from [[MediaWiki:Monobook.js]], trying to place the coordinates better */
 
if((navigator.userAgent.indexOf("MSIE 6")==-1) && (wgAction == 'submit' || wgAction == 'view')) addOnloadHook(function() {
    appendCSS('#siteSub {display:none !important} \n#bodyContent { position:relative; } \n.topicon { top:-3em !important; } \n#coordinates{ top:-1em !important; right: 0px !important; }');
})
/* </source> */

/* was: #coordinates{ position:absolute; top:-12px !important; right:35px !important; }'); */