Do you want *all* HTTP pages to be able to use XPConnect, or just your 
pages? Try this:

1) Add this to prefs.js:
user_pref("signed.applets.codebase_principal_support", true);

2) Add this to your scripts where you need to use xpconnect:
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");

Those two steps will let you use XPConnect from your HTTP pages. For 
pages from file, only step 2 is necessary.

    -Mitch

Eric Murphy wrote:

> I want to change my all.js (or security-prefs.js) file so I can use 
> XPConnect for file or http the same as chrome. How do I do this?
> 
> I see a pref("security.checkloaduri", true);, and I changed to false 
> with no success. Also adding pref("security.checkxpconnect",false) does 
> not seem to help either.
> 
> Thanks!
> Eric
> 



Reply via email to