开发者

Is there any way to open ANY page in a iframe?

So web sites dont allow to open their pages in a iframe for security reasons ----

so I am looking to:

1: the more difficult bit: is there any way to bypass this "not allowed" an still open that page inside our iframe?

2: or is there any possible way to laetr our users for the impossi开发者_如何学Pythonbility to open that page? I say this becasue now what happens is that when we open a page that is not allowed it still open the page in same window or tab we are, and this causes the user to leave our site page and "forced to that page we are trying to open, and this page will open, but not in iframe mode--


1: the more difficult bit: is there any way to bypass this "not allowed" an still open that page inside our iframe?

No, not really. The site you are embedding is probably checking with JavaScript to see if it is being embedded, and redirecting the top-level window to their site if so.

If a site doesn't want to let you embed it, don't embed it. Open it in a new window.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜