搜尋 Mozilla 技術支援網站

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

Learn More

javascript error message: Error: TypeError: netscape.security. PrivilegeManager is undefined.

  • 6 回覆
  • 753 有這個問題
  • 37 次檢視
  • 最近回覆由 cor-el

more options

Support for enablePrivilege has been removed in Firefox (Bug 546848), so it is no longer possible to get special elevated privileges by using this method.

If a web page (or local html page) is using this then they will have to use other ways get what they want like providing a Firefox extension.

Where is it possible to find an exension of this kind (if it exists)?

Support for enablePrivilege has been removed in Firefox (Bug 546848), so it is no longer possible to get special elevated privileges by using this method. If a web page (or local html page) is using this then they will have to use other ways get what they want like providing a Firefox extension. Where is it possible to find an exension of this kind (if it exists)?

所有回覆 (6)

more options

This issue can be caused by an extension that isn't working properly.

Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).

  • Do not click the Reset button on the Safe mode start window or otherwise make changes.

Support for enablePrivilege has been removed in Firefox (Bug 546848), so it is no longer possible to get special elevated privileges by using this method.

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.

more options

The problem still happens in Safe Mode, it is not being caused by an extension or theme nor other possible causes like plugins or changes made to Firefox preference settings, which are not disabled in Safe Mode.

more options

Are you able to determine the cause of this error message?

Is it caused by a (local or internet) page that are opening on startup if it isn't an extension?


Create a new profile as a test to check if your current profile is causing the problems.

See "Creating a profile":

If the new profile works then you can transfer some files from an existing profile to the new profile, but be careful not to copy corrupted files.

more options

yes, the error message comes from a javascript line like this:

netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');

Is it caused by a local and/or internet page opened with firefox 17.x.

Anyway I found a workaround here:

https://developer.mozilla.org/en-US/docs/Site_Compatibility_for_Firefox_17#Security

thanks

more options

OK - this just started happening to me today, even though I've been using FF19 since it was available. I'm not sure i understand what this means, and whether I really need to do anything. It has only popped up when I have clicked an email link and it has opened FF (my default browser). Does this mean it has to do with the site being opened or something else? If I don't do anything but click OK and close it am I doing harm somehow? So far it is a minor inconvenience, but since I don't understand it I need more info - or at least reassurance that it is harmless.

more options

On Windows this issue can be caused by the AVG Security Toolbar or another AVG extension.