මාධ්‍යවිකි:Monobook.js

Wiktionary වෙතින්

Note – after saving, you may have to bypass your browser’s cache to see the changes.

  • Mozilla / Firefox / Safari: hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Command-R on a Macintosh);
  • Konqueror and Chrome: click Reload or press F5;
  • Opera: clear the cache in Tools → Preferences;
  • Internet Explorer: hold Ctrl while clicking Refresh, or press Ctrl-F5.

/* <syntaxhighlight lang=javascript> */
/* Any JavaScript here will be loaded for users using the MonoBook skin */
 
/** Topbar content fix with sitenotice / CentralNotice **************************
  *
  *  Description: This fixes the location of topbar content (e.g., featured
  *               content star) when the sitenotice or CentralNotice is active.
  *  Maintainers: [[User:TheDJ]], [[User:MZMcBride]]
  */
 
if((navigator.userAgent.indexOf("MSIE 6")==-1) && (mw.config.get('wgAction') == 'submit' || mw.config.get('wgAction') == 'view')) $(function() {
    var cnote = document.getElementById('centralNotice');
    if( !document.getElementById('mw-dismissible-notice') && !(cnote)) return; // fundraiser:  && hasClass(cnote, 'expanded'))) return;
    appendCSS('#bodyContent { position:relative; } \n.topicon { position:absolute; top:-2em !important;}\n#coordinates{ position:absolute; top:1px !important; right:0px !important;}');
})
/* </syntaxhighlight> */
"https://si.wiktionary.org/w/index.php?title=මාධ්‍යවිකි:Monobook.js&oldid=18570" වෙතින් සම්ප්‍රවේශනය කෙරිණි