PopUp external url

PopUp external url

  

Hi.

I was trying to show an external site on a popup, but it seems the site does not support iframe, it gives an error about "X-Frame-Options: SAMEORIGIN".

Then i tried to do a get of the page, using HTTPGet from ardoHTTP, but it only retrieves the first html of the page, so it does not have any functionality.

I even tried something like this 

SyntaxEditor Code Snippet

"<script type='text/javascript'>
$( document ).ready(function() {
$('.testDiv').load('https://example.com');
});
</script>"

did not worked.


Does anyone have an idea for this?


Thanks,

Filipe Silva

Hi Filipe,

You're trying to circumvent a security feature that the site introduced and so I don't think you will be able to succeed, unless you control that site. I recommend that you think of alternatives that doesn't involve getting the site to show on your page.