index.html<iframe width="200" height="200" src="2.html" id="ifr"></iframe>2.html<SCRIPT>
if (top!= self)top.location=self.location;
alert("我弹出来了!!")
</SCRIPT>
1如何防止iframe页面的alert2如何防止2.html跳出iframe页面