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.
我有一个网站 iframed 在菜单中有一堆链接。他们网站的构建方式在菜单中设置了所有链接以在新窗口中打开页面。有没有办法覆盖它并在 iframe 中打开它?
谢谢, 马特
如果您可以解决安全问题,我建议您查看 jQuery 以接管所有链接的点击事件。如果您托管在不同的域上并且无法控制本地浏览器,那么您可能不走运。