title: How to change the domain of current document?
body: <p>I have an <code>iframe</code> in a <code>document</code> from a different domain. It seems the browser blocks me to access the inner iframe for this reason. Can I change both domain to the same value?  I tried <code>document.domain = 'targetdomain'</code>, but there is DOM exception thrown out.</p>