User:Cactus.man/Scripts/MoreTabs.js: Difference between revisions

Content deleted Content added
add essjay's counter
not sure why this isn't working
 
(8 intermediate revisions by the same user not shown)
Line 32:
var user = userpath;
}
 
var ca1 = document.createElement( 'li' );
ca1.id = 'ca-essjay';
var calink1 = document.createElement( 'a' );
calink1.appendChild( document.createTextNode( 'E-count2' ) );
calink1.href = 'http://tools.wikimedia.de/~essjay/edit_count/Count.php?username=' + user + '&submit=Count';
 
var ca2 = document.createElement( 'li' );
ca2.id = 'ca-interiot';
var calink2 = document.createElement( 'a' );
calink2.appendChild( document.createTextNode( 'E-count2count' ) );
// calink2.href = 'http://tools.wikimedia.de/~interiot/cgi-bin/count_editsTool1/wannabe_kate?dbname=enwiki_p&userusername=' + user + '&site=en.wikipedia.org';
calink2.href = 'http://en.wikipedia.org/wiki/User:Interiot/Tool2/code.js?username=' + user;
ca2.appendChild( calink2 );
 
Line 50 ⟶ 43:
ca3.id = 'ca-uspace';
var calink3 = document.createElement( 'a' );
calink3.appendChild( document.createTextNode( 'User U-space' ) );
calink3.href = 'http://en.wikipedia.org/w/index.php?title=Special:Prefixindex&namespace=2&from=' + user;
ca3.appendChild( calink3 );
Line 57 ⟶ 50:
ca4.id = 'ca-block';
var calink4 = document.createElement( 'a' );
calink4.appendChild( document.createTextNode( 'BlockBlk log' ) );
calink4.href = 'http://en.wikipedia.org/w/index.php?title=Special:Log&type=block&page=User:' + user;
ca4.appendChild( calink4 );
 
document.getElementById( 'ca-nstab-user' ).parentNode.appendChild( ca1 );
document.getElementById( 'ca-nstab-user' ).parentNode.appendChild( ca2 );
document.getElementById( 'ca-nstab-user' ).parentNode.appendChild( ca3 );