A
A
Anton052022-02-05 17:03:52
xfce
Anton05, 2022-02-05 17:03:52

How to use js to understand that the site does not allow displaying it in an iframe?

Good afternoon. My site has several iframes from different domains.
For example But not all sites allow you to establish a connection. How can I figure this out with javascript?
<iframe src="https://google.com"></iframe>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2022-02-05
@dimonchik2013

no way
https://stackoverflow.com/questions/59336591/how-t...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question