Jump to content

User:BU Rob13/monobook.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Renamed user mou89p43twvqcvm8ut9w3 (talk | contribs) at 07:17, 30 April 2016 (fix). 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.
// Loader script for CommonsHelper Labs (originally by Krimpet, updated by Superm401)
// Released into the public domain
 
if ( mw.config.get( 'wgCanonicalNamespace' ) === 'File' )
{
   var page = 'User:Mattflaschen/CommonsHelper Labs.js';

   var url = '//commons.wikimedia.org/w'
             + '/index.php?title='
             + encodeURIComponent( page.replace( / /g, '_' ) )
             + '&action=raw&ctype=text/javascript';
   mw.loader.load( url );
}