User:Azuris/quickblock.js

$(document).ready(function { if (wgUserGroups == "Sysop" || wgCanonicalNamespace == "User" || wgCanonicalNamespace =="User talk" && wgTitle.indexOf('/') == -1) { var expiry = prompt('Enter block expiry below','3 days'); var reason = prompt('Enter block reason below','Vandalism'); if (skin == "wikia") { $('#WikiaMainContent').append(' Block'); } else {  $('#p-cactions ul').append('Block'); } }