User:Paulkok my/common.js View history

(Created page with "// install Wikipedia:User:Cacycle/wikEd in-browser text editor (function (){ var toAdd = ['left-navigation','p-cactions','p-namespaces']; for(var i=0 ; i < toAdd.length ;...")
 
(No difference)

Latest revision as of 02:41, 6 September 2018

// install [[:Wikipedia:User:Cacycle/wikEd]] in-browser text editor
(function (){
var toAdd = ['left-navigation','p-cactions','p-namespaces'];
for(var i=0 ; i < toAdd.length ; i++ ){
if( !$('#' + toAdd[i]).length ){
$('body').append('<div style="display:none" id="' + toAdd[i] + '"></div>') ;
}
}
mw.loader.load( 'https://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript' ) ;

 }
) ();