Embedded link error. How to correct?
Hello. I have an online bookstore that links through Amazon in order to allow my visitors to purchase my books. With my latest book entry (not the dozen others from the past) I am suddenly gettting this error message (SEE ATTACHED FILE) below about embedded links. Is there a way I can get a workaround? I am also sending this request to my hosting site (Squarespace) to see if they have a workaround. The odd part is my other dozen books, which were linked many years ago, do not display this error when their embedded link is clicked.
All Replies (2)
Looks that Amazon has CSP rules that prohibit opening their pages in an iframe embedded on your website. You will have to open such a page in a new tab instead of embedding. See also the Web Console.
If you compare the code of the latest link with the earlier ones, is there any noticeable difference? I'm thinking of a target="_blank" attribute (or window.open() script) that directs the link to open in a new tab instead of a frame within your page.