Hi guys,
We are using iFrame Pro on a subdomain to have data-share between our APP-server and WEB-server.
However; Chrome has deprecated the document_domain feature and is now showing error like:
"Uncaught DOMException: Blocked a frame with origin "https://api.XXXXX.dk" from accessing a cross-origin frame."
The issue occurs around here (among other places):
window.top.document.querySelector("iframe") && window.parent.scroll(0, 0);
Google writes, in their deprecation-notice, that the fix, if document.domain is still needed is to "As a last resort, send the Origin-Agent-Cluster: ?0 header"
Will the above be fixed in iFrame Pro (or has it already and im just missing a setting i cant find?)
// Patrick
Please see:
https://www.tinywebgallery.com/blog/sub-domain-workaround-with-chrome
Please use the real external workaround of the pro version.
Best regards,
Michael
Hi,
recipe_modal.min.js:1 Uncaught DOMException:
Is not part of my plugin. You should check what is causing this error!
Before you see that the postMessage from advanced iframe is properly received.
Also I see an error from foodplan.min.js which is also not caused by advanced iframe.
So it seems the scripts on your page are not running properly in an iframe.
I checked on https://www.tinywebgallery.com/blog/advanced-iframe/free-iframe-checker - There a normal iframe without anything is used. I already see the error there.
So you need to fix them first.
Best regards, Michael
If the other issues are solved and you still have a issue with resize please let me know. The debug mode I think is very helpful as you can simply see if there is a height update sent or not.
Best regards,
Michael