User:Walrus068/spam.js

// if (window.location.href.match(/&spam/) && wgAction == 'edit') { $(function {       var page = decodeURIComponent(window.location.href.match(/&page=(.*)/)[1]).replace(/_/, ' ');        $('textarea#wpTextbox1').val($('textarea#wpTextbox1').val.match(/\[\[Category:(.*)\]\]|\{\{(.*)\}\}/g));        $('textarea#wpTextbox1').val('\n' + $('textarea#wpTextbox1').val.replace(/,/g, '\n'));        $('input#wpDiff').click;    }); } //