I'm developing a browser extension, and I need to extract the contentWindow of an iframe. However, it doesn't seem to work correctly. The value of contentWindow printed from the extension is different from the one I manually printed in the console (the console output is the expected one). Do you know how I can fix this error? The src of the iframe is also in the same domain as the document.
console : (I need 'Entry')
extension : (No 'Entry)
I needed to extract the contentWindow to access the 'Entry', but when I retrieved it from the extension, the contentWindow didn't have the 'Entry', and it appeared as undefined.