搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

iframe keeps breaking out and going to source website

  • 3 个回答
  • 2 人有此问题
  • 3 次查看
  • 最后回复者为 cor-el

more options

I have an iframe that is "breaking out" of the iframe and going to the source page directly in FireFox. It works the way it is intended in Chrome. The problem demonstrates itself here: www.jamestalbott.com/nayte.html

It should stay in jamestalbott.com/nayte.html, but goes to the source page.

I have the sandbox parameter in the iframe, but that does not seem to help.

Thank you for your assistance, Jay Talbott

I have an iframe that is "breaking out" of the iframe and going to the source page directly in FireFox. It works the way it is intended in Chrome. The problem demonstrates itself here: www.jamestalbott.com/nayte.html It should stay in jamestalbott.com/nayte.html, but goes to the source page. I have the sandbox parameter in the iframe, but that does not seem to help. Thank you for your assistance, Jay Talbott

所有回复 (3)

more options

You forgot one 't': src="htp://www.msn.com" -> src="http://www.msn.com"

<iframe src="htp://www.msn.com"> </iframe>

由cor-el于修改

more options

Thanks for your quick response. That was just me trying anything in frustration. What I really want to do is to be able to execute the html in the attached file and not have it break out to the source page:


Thanks again. Jay

由JamesTalbott于修改

more options

There is code on the myclikclok.com/whitelabel/ page to reload the page in its own tab.

<script language="JavaScript" type="text/javascript">
<!--
if(window.top!=window.self){
window.top.location = '/whitelabel/';
}
function linkSubmit (action)
{
  document.LOGIN.linkaction.value = action ;
  document.LOGIN.submit() ;
}
-->
</script>