My javascript is embedded in the iframe itself, and I don't have access to the main html that is implementing it.
Basically, that is what's going on:
<html>
<head>
</head>
<body>
<iframe id='1' src='myscript.js'/>
</body>
</html>
Now, I want a way to see where the iframe is in relation to the entire html, and/or in relation to the browser window itself, as I would with: How to tell if a DOM element is visible in the current viewport?