Answer the question
In order to leave comments, you need to log in
How to show html page from other domain not via iframe?
I want to display on the site in an iframe from a domain that is not under my control.
Unfortunately, there is a header blocking the opening in the iframe (
There are several ideas:
1) Something like a flash browser on the page
2) Browser in the browser
Perhaps both ideas are nonsense and I did not find a ready-made solution - maybe someone will poke something like that ?
Answer the question
In order to leave comments, you need to log in
https://habrahabr.ru/post/120336/
if on the site you want to show the styles are set by absolute links, then it's very simple:
VisualIdeas Prowebic
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<div id="result"></div>
<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha256-cCueBR6CsyA4/9szpPfrX3s49M9vUU5BgtiJj06wt/s=" crossorigin="anonymous"></script>
<script>
$(document).ready( function(){
$.ajax({
method: "GET",
url: "MYSITE",
success: function(data){
var content = data;
$("#result").html(content);
}
});
});
</script>
</body>
</html>
no way.
Of course, you can make a proxy on your domain, which will remove unnecessary headers.
what to take on driver.ru - give people direct links to drivers from equipment manufacturers
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question