Avatar for Username

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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.
Приложенные скриншоты

Все ответы (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.

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.