M
M
Mark Eshkilev2021-06-05 22:23:55
HTML
Mark Eshkilev, 2021-06-05 22:23:55

Why does it say that the site does not allow a connection to be established when using an iframe?

Hello, tell me what I'm doing wrong, there is a code:

<iframe width="100%" height="100%" src="https://steamcommunity.com/sharedfiles/filedetails/?id=2213365724" name="iframe" scrolling="auto"> </iframe>

When adding it to the .html file and viewing it, an error occurs and instead of the site it is displayed "Site steamcommunity.com does not allow you to connect" how can I fix this, and is it possible to fix it at all?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2021-06-05
@mark_edinoroglove

The server response from this link has a header X-Frame-Options: SAMEORIGIN. This means that the site prohibits the use of this page in the iframe of other sites.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question