FlashGot Integration
Posted: Sun Jul 21, 2013 5:00 am
Hi,
I am trying to integrate my extension with FlashGot. Here is the code I am using
It works okay for all download managers except DownThemAll. If I set my default downloader to dTa by executing this code noting happens (no error in Error Console as well); however, if I set the download manager to something else like FlashGet, the code brings up the manager. Any idea what could case this?
Thanks
I am trying to integrate my extension with FlashGot. Here is the code I am using
Code: Select all
var flashgot = Cc["@maone.net/flashgot-service;1"]
.getService(Ci.nsISupports).wrappedJSObject;
try {
flashgot.download([{
href: link,
fname : title
}], flashgot.OP_ALL, flashgot.defaultDM);
}
catch (e) { }
Thanks