SOLVED Modal content blocked (2) - Refused to connect
Related to the linked topic, I still do not understand why my content is being blocked. I am not using code, just the page builder.
I have added a picture and added a URL to it. Then when I choose the Modal to display the URL content, I get the message "refused to connect".
I read about xframe origins but not sure how to resolve this at all.
Joseph Benguira last edited by
@constance-hua you have probably indicated an image coming from another website, and the website seems to block integration of his content in iframe
Solution is to download the image and link the local image
@joseph-benguira Thanks for your response!
No I am redirecting to a website, but I need it to open in a modal. The CORS origin seems to be the blocker but I found a solution:
Instead of opening a modal, I just added the following parameter to the <span> item:
<span onclick="window.open('https://www.website.com'); return false;">Your text </span>
I hope it can help others!