VM1776 afterlogin.htm:4 Uncaught DOMException: Failed to set the ‘href’ property on ‘Location’: The current window does not have permission to navigate the target frame to

之所以报这个错的原因是因为你嵌套在iframe中的网页,居然试图干掉现在链接,重新开一个窗口,为了防止xss攻击,iframe表示我不同意坚决不同意

iframe默认情况下:

在html5页面中,可以使用iframe的sandbox属性,