Hello
I wonder how I could interrupt file uploads in Firefox? I'm making an
extension that makes the user need to verify that files to be uploaded
doesn't contain sensitive information.
At the moment I'm using an GreaseMonkey UserScript wich adds an onsubmit
event listener to each forms wich has an file upload control, but I
wonder if there is any better ways to do this by creating an extension?
I wish to be able to use a custom confirmation dialog, thus the onsubmit
event listener needs to be able to access the chrome, but that might be
a security risk?
So, is there any other ways of interrupting file uploads?
If not, what is the safest way of adding an onsubmit eventlistener to a
open webpage?
-HåvarH-
--
Håvar I. Henriksen
Community Manager Mozilla Norway || "To err is human, to forgive is
[EMAIL PROTECTED] || divine - but to forget it altogether
home.no.net/havarhen || is humane."
firefox.no norwegian Mozilla resource
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners