Getting a "Unsafe JavaScript attempt to access frame with URL" message in Chrome when trying something dodgy across domains or subdomains with iframes?
It is pretty much a browser security feature. So there's no way it is going to work.
Eventually I settled for doing everything from within an iframe.