Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在FF中,我们可以右键单击“仅显示此帧”。那么如何在 javascript/jquery 中做到这一点呢?因为我想删除我的 webapps 横幅(在另一个框架集的另一个框架内)但失败了。
据我了解,您想删除网页的标题。也就是说,您的页面位于 iframe 内,并且您希望它在加载后立即自动接管父页面。为此,请添加以下 javascript 代码:
top.document.location.href="your_page_link";