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
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0
DTA integration requires a "document" expando property on the links array you're passing to be set with the document the link is taken from, or its best approximation.
If you're in the chrome window content, for instance, your code would become something like
I have another question. It seems that "fname" doesn't change the final file name when I send a link to dTa from FlashGot. It works fine in other downloader though. In case of dTa the name is being extracted from link, not "fname". Any idea how to fix this?
Mozilla/5.0 (X11; Linux i686; rv:22.0) Gecko/20100101 Firefox/22.0