Http POST using the HttpURLConnection java class.
There's a great site I've come accross explaining the firefox model in the following links..
Part 1
http://straxus.javadevelopersjournal.com/creating_a_mozillafirefox_drag_and_drop_file_upload_script_p.htmPart 2
http://straxus.javadevelopersjournal.com/creating_a_mozillafirefox_drag_and_drop_file_upload_script_p_1.htmIt still depends on java though (it needs to be packaged as a signed jar to work).