title: Accessing parent page with javascript inside an iframe
body: <p>Is there any way to "break out" of an iframe? What I mean by this is that people will be placing my javascript tag inside an iframe (sometimes it ends up being nested iframes, but lets just deal with ONE for a now). I'm trying to gather certain information, like where that iframe is located on the page. It's easy enough to do it when you're not in an iframe with a mix of offsetLeft/offsetTop/innerHeight/innerWidth, but I know that you can't (or aren't supposed to be able) to see anything outside the iframe your in (assuming different domains, which it will be).</p>
  
  <p>Anybody have any tips on this? Or at least any resources I could look into more? While I would eventually love to be able to access the DOM of the original page, with JS inside an iframe, I know that's not really possible. For a now I'd be happy to just figure out where the iframe is located on the page. I'm not sure if that information is part of the DOM, or browser properties (which I believe you can still access?)</p>
  
  <p>Thanks!</p>