<script>
window.addEventListener('load', function() {
document.getElementById('myForm').submit();
});
</script>