<!DOCTYPE html>
<html>
<body>
Frame 1

<script>document.write('<form method="post" action="redirect-target.html#' + (history.length + 1) + '">');</script>
  <input id="submit-button" type="submit">
</form>

</body>
</html>