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 the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. 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 About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. 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. About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. 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