title: Top level domain detection across nested iframes and different domains via javascript?
body: <p>I know about iframes from different domains unable to access pretty much anything on the parent level, BUT, all I would need to know is the top-most domain.  Here is the scenario:</p>
  
  <p>ABC.com loads an iframe from DEF.com that loads an iframe from XYZ.com.  On the level of XYZ.com I need to know that ABC.com is the top most domain.</p>
  
  <p>Any thoughts?  Assuming top and intermediaries cooperation or without cooperation, are there any hacks for different browsers or? </p>
  
  <p>I have been able to come up with several different ways to do this kind of thing on Firefox, but I'd be interested to see this exploited for IE in some way.</p>