User:UnaLaguna/monobook.js

// function countedit { countuser = wgTitle.split( '/' )[0]; if( wgNamespaceNumber == '-1' && wgTitle == 'Contributions' ) countuser = document.getElementById( 'contentSub' ).getElementsByTagName( 'a' )[0].getAttribute('title').split(':')[1]; window.location = 'http://toolserver.org/~soxred93/count/index.php?name=' + countuser + '&lang=en&wiki=wikipedia' } function addcountedit { if( wgNamespaceNumber == '2' || wgNamespaceNumber == '3' || ( wgNamespaceNumber == '-1' && wgTitle == 'Contributions' ) ) { mw.util.addPortletLink('p-cactions', 'javascript:countedit', "edit count"); } } $(addcountedit); //

importScript('User:Voice_of_All/Addtabs/monobook.js'); importScript('User:Misza13/statusChanger.js');