User:Technical 13/SandBox/G11user.js

/* delete userpage */ var deleteReason = 'G11: Unambiguous advertising or promotion'; $('#wpDeleteReasonList').find('option:contains(deleteReason)').prop("selected", true); $('#wpWatch').prop("checked", false);// or set to true to make sure you always watch the page

/* block user */ var blockReason = '{'+'{Spamublock}'+'}'; $('#mw-input-wpExpiry').find('option:contains("indefinite")').prop("selected", true); $('#mw-input-wpReason').find('option:contains(blockReason)').prop("selected", true); $('#mw-input-wpCreateAccount').prop("checked", true); $('#mw-input-wpDisableEmail').prop("checked", false); $('#mw-input-wpDisableUTEdit').prop("checked", false); $('#mw-input-wpAutoBlock').prop("checked", true); $('#mw-input-wpWatch').prop("checked", true); $('#mw-input-wpConfirm').prop("checked", true);

/* post block notice on talk */ var postContent = '{'+'{Uw-spamublock}'+'} '+''; /* api to post */