X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

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

Posted

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)?

Additional System Details

Installed Plug-ins

  • Shockwave Flash 11.1 r102

Application

  • User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0

More Information

cor-el
  • Top 10 Contributor
  • Moderator
10753 solutions 96760 answers

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.

Question owner

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.

cor-el
  • Top 10 Contributor
  • Moderator
10753 solutions 96760 answers

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.

Question owner

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

slywlf 0 solutions 17 answers

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.

cor-el
  • Top 10 Contributor
  • Moderator
10753 solutions 96760 answers

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