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.
我想隐藏/删除使用打开的子文档的 地址栏window.open();。
window.open();
newwin = window.open('child.html', 'newwin', 'width = 900, height = 750, toolbar = no, scrollbars = no, location = 0, resizable = no ');
此代码实际上禁用了地址栏,但并未隐藏它。
我不想向最终用户显示地址栏。
你不能,这是一个安全预防措施。
唯一可能的情况是,如果您使用的是 Internet Explorer,并且该站点已添加到受信任的站点列表中。
您可能需要考虑其他选项,例如jQuery Dialog