I have a website which the only element is an iFrame that render the webpage from a different domain (it needs to be like that, because the embed page was built on unbounce, but unbounce only allows 01 domain connection, and our user has already set a different domain), and this webpage embed contains a button which calls a modal (a pop-up form) from a Javascript src (meaning: once the button is clicked, it calls the javascript function which renders the pop-up, that is actually from a third domain - it's the webinarjam integration, fyi). The problem is, since they are different domains, when the iFrame tries to display the pop-up, it gets this message from the console:
Unsafe JavaScript attempt to initiate navigation for frame with URL '...' from frame with URL '...'. The frame attempting navigation is neither same-origin with the target, nor is it the target's parent or opener.
Uncaught DOMException: Failed to set the 'location' property on 'Window': The current window does not have permission to navigate the target frame to '...'. at ...
I've searched a bit but wasn't able even to find the correct terms to search for a workaround... could you please help me?
This is the website: http://produtividadepremium.com.br/webinario/ (The button which calls the pop-up is "Quero Reservar Meu Lugar Na Aula", the golden button)
Thanks.