在一张网页[A] 中iframe另一个网页[B],
但是网页[B]的<script>标记中写道:“
if (top.location != self.location) {top.location=self.location;}
”
于是网页[B]解脱了,
ie跳转到网页b,我自身的网页a的session也没有了但是我们的需要是,网页A能够frame住B,如果不能的话,则window.open(B)
总不能把我的网站冲掉吧试了一下onbeforeunload,好像老是会跳出那个确认对话框,唉请高手出招,谢谢各位了qq:25913976
mail:[email protected]
但是网页[B]的<script>标记中写道:“
if (top.location != self.location) {top.location=self.location;}
”
于是网页[B]解脱了,
ie跳转到网页b,我自身的网页a的session也没有了但是我们的需要是,网页A能够frame住B,如果不能的话,则window.open(B)
总不能把我的网站冲掉吧试了一下onbeforeunload,好像老是会跳出那个确认对话框,唉请高手出招,谢谢各位了qq:25913976
mail:[email protected]
onbeforeunload方法
不过这个方法必需要用户的点击
唉,这个对于用户来说就不太友好了啊
不过做之前最好得到原网站的允许哦,:)
先把内容取下来,
但是他的网站的js会判断的呀,
是不是还会跳出
麻烦解释一下啊