2

I'm writing a Firefox extension and I need to hook the download dialog that comes up when the user tries to download a file.

In other words, I need a script-defined function to be notified instead of the dialog appearing as normal.

Where do I begin? I tried reading through the XPCOM API Reference... but this is the closest thing I could find.

Brock Adams
  • 90,639
  • 22
  • 233
  • 295
Nathan Osman
  • 71,149
  • 71
  • 256
  • 361

1 Answers1

2

You need to override nsIDownloadManagerUI (by implementing it).

sdwilsh
  • 4,674
  • 1
  • 22
  • 20