V
V
VisualIdeas2016-06-29 15:08:07
JavaScript
VisualIdeas, 2016-06-29 15:08:07

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

5 answer(s)
D
Denis Knyazev, 2016-06-29
@VisualIdeas

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>

A
Andrey Burov, 2016-06-29
@BuriK666

no way.
Of course, you can make a proxy on your domain, which will remove unnecessary headers.

W
WayMax, 2016-06-29
@WayMax

Maybe cURL?
Wiki
Example in php

M
Mikhail Lyalin, 2016-06-29
@mr_jok

what to take on driver.ru - give people direct links to drivers from equipment manufacturers

V
Vitaly, 2016-07-03
@vshvydky

It is curious why on your site to show someone else's site. Advertising altruist? We need data from someone else's site, parse it and take it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question