且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在JavaScript中制作删除框架脚本?

更新时间:2023-12-05 19:20:58

像这样:

top.location = "URL of framed page";

或者,您可以使用target="_top"创建常规的<a>标签.

Alternatively, you can make a regular <a> tag with target="_top".