- 2020-04-23 at 5:27 am #26418
We have come across this problem when working with Shopify:
Uncaught DOMException: Blocked a frame with origin “https://cdn.soft8soft.com” from accessing a cross-origin frame.
at getElement (https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:f56b85ffd5/applications/01_table5/visual_logic.js:832:27)
at getElements (https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:f56b85ffd5/applications/01_table5/visual_logic.js:795:20)
at eventHTMLElem (https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:f56b85ffd5/applications/01_table5/visual_logic.js:843:17)
at Object.PL.init (https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:f56b85ffd5/applications/01_table5/visual_logic.js:886:1)
Have you any experience of this issue when connecting to e-commerce stores? Can you offer any support?
Attachments:You must be logged in to view attached files.2020-04-23 at 6:18 am #264282020-04-23 at 6:21 am #26429
Thanks for the reply. Our store is hosted with Shopify, they don’t appear to allow you to host any files on the same directory as the website.
Are there any workarounds?2020-04-23 at 6:29 am #264302020-04-23 at 7:08 am #26436
Thanks will take a look and pass this onto our developer.2020-04-23 at 5:01 pm #26481
Our developer has not managed to get that to work.
Was speaking with somebody else who suggested the easiest way is for soft8soft to enable Access-Control-Allow-Origin for you. Is that possible2020-04-24 at 9:40 am #26515
reach the DOM of the parent page.
Still, iframe can communicate with the parent document via messaging
You can integrate the JS code which is sending/receiving messages, with puzzles as shown here
- You must be logged in to reply to this topic.