搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Add on needed for work, produces javascript error

  • 2 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

My girlfriend is using an app she needs for work. It should generate a javascript window, but before it opens it it says Javascript Application TypeError: netscape.security.PrivilegeManager is undefined Then the window that opens doesn't allow me to populate the fields in it.

Is there any way to get around this?

My girlfriend is using an app she needs for work. It should generate a javascript window, but before it opens it it says Javascript Application TypeError: netscape.security.PrivilegeManager is undefined Then the window that opens doesn't allow me to populate the fields in it. Is there any way to get around this?

所有回覆 (2)

more options

Whatever add-on this is simply needs to be updated to support new versions of Firefox. Please contact the developer.

more options

Support for enablePrivilege has been removed in Firefox (Bug 546848), so it is no longer possible to get special elevated privileges via the netscape.security.PrivilegeManager interface.

Extensions do not need to use this (they already run code with proper privileges) and if web page use this then they will have to use other ways get what they want like providing a Firefox extension.


(Bug 546848 - Remove support for enablePrivilege)