Jump to content

User:Niubrad/MoreMenu.js

From Wikipedia, the free encyclopedia
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.
// <nowiki>
// Script:                  MoreMenu.js
// Original Authors:        MusikAnimal, Haza-w
// Documentation:           [[User:MusikAnimal/MoreMenu]], [[User:Haza-w/Drop-down menus]]
//

(function(){
	if(mw.config.get( 'skin' ) === "vector") {
		mw.loader.load( '//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=MediaWiki:Gadget-dropdown-menus-vector.js' );
	} else {
		mw.loader.load( '//en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=MediaWiki:Gadget-dropdown-menus-nonvector.js' );
		mw.loader.load( '//en.wikipedia.org/w/index.php?action=raw&ctype=text/css&title=MediaWiki:Gadget-dropdown-menus.css', 'text/css' );
	}
})();
// </nowiki>