我是jag。根据用户要求,我需要在弹出窗口中隐藏地址栏(安全原因)。我使用window.open(“http://www.mydomain.com/mypage.htm”,“mywindow”,“location = 0,menubar = 0,status = 0,scrollbars = 0,width = 100,height = 100 “);在我的JavaScript中工作正常。但是,对于mozilla,我们需要设置Dom.disable_window_open_feature.location值。
在Web应用程序中,如何在用户的firfox浏览器中设置此项?有没有办法使用java脚本设置它。在使用window.open之前,我想使用JavaScript的setDom.disable_window_open_feature.location值。我怎样才能做到这一点?