Is there any way to modify the file upload dialog in firefox with an extension (XUL or Javascript) ?
I’d like to give the user the possibility to encrypt the file(s) before uploading them to whereever (facebook, gmail, gmx, …) and I thought the easiest way is to add a checkbox to the file upload dialog and check for that.
There is no native support for something like that.
So you have to find a workaround to provide this possiblity.
The easiest way would most likely be to simply add the checkbox near the file upload button instead of directly in the dialog that shows up. Most likely it would even be noticed better like this.
An other way would be to create your own file dialog using other technologies like a java applet or some flash content. The advantage of this way is clearly, that you can handle all operation that have to be done for the encryption directly inside that applet. Then your firefox plugin would only have to trigger the loading of your applet for each file upload dialog.