User:Aramgutang/monobook.js

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Template:Script doc autoNote: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the Template:Key press key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
function KateLink()
{
  var li = document.createElement( 'li' );
  li.id = 'pt-kate';

  var a = document.createElement( 'a' );
  a.appendChild( document.createTextNode( 'edit count' ) );
  a.href = 'http://tools.wikimedia.de/~interiot/cgi-bin/Tool1/wannabe_kate?username=Aramgutang&site=en.wikipedia.org';

  li.appendChild(a);
  var before = document.getElementById('pt-mycontris');
  before.appendChild(li, before);
}

if(window.addEventListener)
  window.addEventListener('load', KateLink, false);
else if(window.attachEvent)
  window.attachEvent('onload', KateLink);

// [[User:Lupin/popups.js]]

mw.loader.load(
             'https://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
             + '&action=raw&ctype=text/javascript&dontcountme=s');