User:Stelercus/blocktab.js

$(document).ready(function {	if (wgCanonicalNamespace == 'User' || wgCanonicalNamespace == 'User_talk') {		var $li = $(' ').addClass('color1').append($('').attr('href', 'http://runescape.wikia.com/wiki/Special:Block/' + encodeURIComponent(wgTitle.split('/')[0])).text('BLOCK'));		var id = (skin == 'monaco') ? '#user_masthead_tabs' : '#p-tb ul';		$(id).append($li);	} });