Example:
iframe.html
<a href="http://www.google.com">Google</a>
bla bla bla
<a href="http://www.yahoo.com">Yahoo</a>
index.html
<script>
...
</script>
There are the links from "iframe.html"
http://www.google.com
http://www.yahoo.com
See Question&Answers more detail:os