User:Writ Keeper/Scripts/simpleBlockDefaults.js

if (mw.config.get("wgCanonicalSpecialPageName") == "Block") {	mw.loader.using('oojs-ui-core').done(function 	{		$(function {			var reasonInput = OO.ui.InputWidget.static.infuse($("#mw-input-wpReason")); var expiryInput = OO.ui.InputWidget.static.infuse($("#mw-input-wpExpiry")); expiryInput.relativeField.dropdowninput.setValue("24 hours"); reasonInput.dropdowninput.setValue("Block evasion"); });	}); }