support for iframes with injected doc and window