Answer the question
In order to leave comments, you need to log in
How to prevent all iframe content from loading?
There was such task: there is a page of a site, for example blabla.com/parent.html, on it iframe which loading is possible only from this domain.
How to load this iframe on your site?
Is it possible to make an iframe of the form <iframe src="blabla.com/parent.html"></iframe>
, and prohibit loading the contents of the entire page except for the desired iframe?
Is it possible to make an iframe of the form <iframe src="blabla.com/parent.html"></iframe>
, and prohibit loading the contents of the entire page, or delete it and insert the code of the desired iframe so that it can be seen by the blabla.com parent?
Is it possible to change the referrer for an iframe so that it sees blabla.com as its parent?
Answer the question
In order to leave comments, you need to log in
If the site forbids showing itself in frames, then html will not solve your problem.
And the frame's referrer cannot be changed. This is done specifically to protect against xss and other hooliganism.
The only possible option is to request the page you need from another site on the server side of your site and embed it in your html as you like.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question