Mayank wrote:
If I use "netscape.security.PrivilegeManager.enablePrivilege" in my
JS, it works but a dialog box appears asking for permissionfrom the
user. Is there a way to get extended priviledges in my code without
getting any permission pop ups. The application code and xulrunner
will be packaged together and installed on the client machine.

For now, you can set preferences to allow this; there has been earlier discussion on this list about that.

That said, we're planning on removing enablePrivilege. The right way to do what you want to do is to have the webpage dispatch events that your chrome listens for and acts on.

-Boris
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to