GenuineContent Posted October 27, 2021 Share Posted October 27, 2021 Site URL: https://www.encoregroup.aero I'm trying to embed a new job posting board for a client, but I'm getting an error "refused to connect". It's an HTTPS link in the embed code, so that's not the problem. I tried adding this code to the header just in case, but that didn't work either: <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> This is the iframe code I'm using: <iframe src="https://secure4.entertimeonline.com:443/ta/6149039.careers?ShowMap" width="600" height="600"></iframe> I have instructions to add a plugin, but I shouldn't need those if I'm trying to do a simple embed, right? Please help. Karen Link to comment
creedon Posted October 27, 2021 Share Posted October 27, 2021 Do the instructions say install the plug-in and install the iframe? If the instructions mention both then I suggest following the directions. Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support! Link to comment
paul2009 Posted October 27, 2021 Share Posted October 27, 2021 (edited) 7 hours ago, GenuineContent said: I'm getting an error "refused to connect". Contact the owner of the other site. The browser is not rendering the page because strict Content Security Policy settings prevent it. You'll see this in the console error an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' file: cdvfile:". Edited October 27, 2021 by paul2009 Improve your online store with our extensions.About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links.Catch up on all the release notes and announcements 2023 [for Circle members only] (there's a public version here)Buy me a coffee Link to comment
GenuineContent Posted October 27, 2021 Author Share Posted October 27, 2021 12 hours ago, paul2009 said: Contact the owner of the other site. The browser is not rendering the page because strict Content Security Policy settings prevent it. You'll see this in the console error an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' file: cdvfile:". The owner of the site I'm building or the owner of the site I'm trying to embed? Link to comment
paul2009 Posted October 27, 2021 Share Posted October 27, 2021 The site you are trying to embed. Improve your online store with our extensions.About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links.Catch up on all the release notes and announcements 2023 [for Circle members only] (there's a public version here)Buy me a coffee Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment