简体   繁体   English

如何在客户端firefox浏览器中使用JavaScript设置Dom.disable_window_open_feature.location值

[英]How to set Dom.disable_window_open_feature.location value using JavaScript in clients firefox browser

I am jag. 我是尖齿。 as per User requirement, I need to Hide address bar in Pop up window(Security reasons). 根据用户要求,我需要在弹出窗口中隐藏地址栏(出于安全原因)。 i used window.open("http://www.mydomain.com/mypage.htm", "mywindow", "location=0,menubar=0,status=0,scrollbars=0,width=100,height=100"); 我使用window.open(“ http://www.mydomain.com/mypage.htm”,“ mywindow”,“位置= 0,菜单栏= 0,状态= 0,滚动条= 0,宽度= 100,高度= 100 “); in my JavaScript Which is working fine. 在我的JavaScript中,效果很好。 But, for mozilla we need to set Dom.disable_window_open_feature.location value. 但是,对于mozilla,我们需要设置Dom.disable_window_open_feature.location值。

In Web application how can i set this in users firfox browser? 在Web应用程序中,如何在用户firfox浏览器中进行设置? Is there any way to set this using java script. 有什么方法可以使用Java脚本进行设置。 I want setDom.disable_window_open_feature.location value using JavaScript before i use window.open. 我想在使用window.open之前使用JavaScript设置setDom.disable_window_open_feature.location的值。 How can i do this? 我怎样才能做到这一点?

It is not possible. 这不可能。 Mozilla doesn't allow you to change that setting from a web page due to for security reasons. 出于安全原因,Mozilla不允许您从网页更改该设置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM