User:Paulkok my/common.js View history

Revision as of 02:41, 6 September 2018 by Paulkok my (talk | contribs) (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 ;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
// 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' ) ;

 }
) ();