Google 網路論壇不再支援新的 Usenet 貼文或訂閱項目,但過往內容仍可供查看。

Obtain nsIChannel for a downloaded file in an extension

瀏覽次數:4 次
跳到第一則未讀訊息

lci...@gmail.com

未讀,
2007年8月6日 上午10:29:162007/8/6
收件者:
I'm working on a Firefox extension which overlays the "Open with..."
form (chrome://mozapps/content/downloads/unknownContentType.xul) and
adds a custom option for bittorent files.

In the "ondialogaccept" event handler, I can only obtain the URI of
the file which is being downloaded. Is there a way for the
ondialogaccept handler to obtain the nsIChannel object that Firefox
created when downloading the file in the first place?

Regards
Ludek Cigler

0 則新訊息