1 2 3 4 5 6
<iframe id="i"></iframe> <script> var form = i.contentDocument.createElement("form"); i.remove(); form.action = "GET"; </script>