Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Learn More

Embedded link error. How to correct?

more options

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.

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.
Priložene slike ekrana

Svi odgovori (2)

more options

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.

Korisno?

more options

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.

Korisno?

Postavi pitanje

Moraš se prijaviti na tvoj račun za odgovaranje na poruke. Postavi novo pitanje, ako još nemaš račun.