On Sat, Dec 31, 2011 at 6:13 AM, John Yani <[email protected]> wrote: >> I agree with you that NPAPI plugin is a bad option, but what I want to >> do is a function demo, not for real >> product. So, if NPAPI could achieve this target, I will give it a try. >> But I did not understand what you said "you'll need to return all the >> MIME types you could think of from NP_GetMimeDescription". >> I only want to download jar files, only jar files would appear in the >> refresh links. I guess I only need to return MIME Type of jar files. >> Am I wrong about it? > > So, you want only jar files to be downloaded? I still can't figure out > use case here. > User loads html page with redirect to jar file. Plugin gets loaded and > shows download progress. Plugin downloads jar file and shows > "Completed" message. What's next? Should previous page with redirect > to jar file be loaded again?
Maybe I forgot mentioning something. I explain more in below. > User loads html page with redirect to jar file. Yes. > Plugin gets loaded and > shows download progress. Plugin downloads jar file and shows > "Completed" message. No, partially. I hope the plugin takes over totally the refresh of jar file link. And the web page still stay at the page with the redirect link to jar file. In the <body> part of html page, it will show that the downloading has started in background. > Should previous page with redirect to jar file be loaded again? So, this should not be a problem. Previous page is not the html page with a refresh link to a jar file. _______________________________________________ webkit-help mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
