I am using code like this in an web-based application:
netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString);
Components.classes["@mozilla.org/widget/transferable;1"].createInstance(Components.interfaces.nsITransferable);
Components.interfaces.nsIClipboard;
Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);

On occasions FireFox/Mozilla will prompt the user as to whether the enduser
wants to allow the site to have this functionality, but sometimes it
doesn't and just bombs the javascript.
Telling it to remember my decision sometimes works, but seems to forget
after a while. Is it based on URL + Querystring?
Is there a file/preference I can change to allow a specific URL to have
this functionality? e.g. like the anti-popup functionality.
If so, where and what do I change?

Thanks,

Adi.
_______________________________________________
Mozilla-security mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-security

Reply via email to