Thanks Christian,

I'm trying to run my file locally, and it will always be run locally.

The privilege is refused when I try and run it locally - whether it be 
from within my file manager or through a local webserver.

Of course, in typical newbie style, "It worked yesterday" and I really 
don't see what I'm doing wrong.

My code is this:

try
{ 
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
}
catch (e)
{
   alert("Universal Connect was refused");
}

and the exception is always thrown.

Christian Biesinger wrote:
> Phil Wilson wrote:
> 
>> netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
> 
> 
> To use that, that code must either be a local file, a signed script, or 
> codebase principal support must be enabled (with a pref:
> user_pref("signed.applets.codebase_principal_support", true);
> )
> 



Reply via email to