UniversalXPConnect

in Greasefire
Subscribe to UniversalXPConnect 2 posts, 2 voices



Jeremy001 User
FirefoxWindows

I tried to enable "UniversalXPConnect" when using GreaseMonkey, so I used:
netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
This code works well In a local file, but it doesn't work in GreaseMonkey scripts and always alerts a stupid error: "ReferenceError: netscape is not defined"! What should I do?
Any help will be appreciated.

 
Jefferson Scher Scriptwright
FirefoxWindows

Duplicate of http://userscripts.org/topics/82897