<script> | |
window.addEventListener("message", function(e) { | |
document.getElementById('form').submit(); | |
}, false); | |
</script> | |
<body bgcolor='yellow'> | |
<form id="form" action="javascript:window.top.disallowedFormSubmitted();"> | |
<input name=x value=y type="checkbox" checked="yes"/> | |
</form> | |
</body> |