I need to do drag and drop in FF - from the browser into a file. This requires the UniversalXPConnect privilege. I based my solution on the eample to be found at
http://straxus.javadevelopersjournal...d_script_p.htm
and
http://straxus.javadevelopersjournal...script_p_1.htm
Since the pages which require this privilege are dynamic, they can not be placed in advance into a signed JAR with all requisite JS contained in the same JAR - which is the soltuion in the above demo.
Thus, I desired to place the JS which requests/requires the privilege into a single file (e.g. drganddrop.js) and place it into a signed JAR, and then have the dynamic HTML pages call the signed JS in the JAR.
It doesn't work - the JS in the signed JAR called by the external HTML doesn't get the requested privilege. I know the JS code is OK because if I place it directly in an HTML and put that HTML file into the signed JAR, everything works fine.
The second of the two links I gave above (the second part of a 2-part series) includes comments from users who had a similar problem to mine. Some of them discuss solution based on iframes and "intializing" the JS and then using an OBJECT tag in the calling HTML - but i don't understand what they mean and the thread is old so no one is probably watching it.
I'd really appreciate help.
TIA
Lavie