Jump to content

User:Eran/refToolbarVeLoader.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.
mw.loader.using( 'ext.visualEditor.desktopArticleTarget.init', function(){
	// Register plugins to VE. will be loaded once the user opens the VE
	mw.libs.ve.addPlugin( function() { 
		return $.getScript('https://en.wikipedia.org/w/index.php?title=User:ערן/refToolbarVe.js&action=raw&ctype=text/javascript'); 
	} );
});