I'm developing a FF extension which will be downloading zip files from server(s), saving to specific local location and unzipping the file.
But my problem is IDM plugin which is installed in my FF. Whenever I try to download a file from server IDM catches it and shows its download dialog.
I want to save file(s) at specific location (other than downloads dir), so I dont want IDM to catch it or else myPlugin will not get the file and download untill it gets file.
I guess IDM has implemented nslDownloadManager How to hook the download dialog in a Firefox extension? -------- https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIDownloadManagerUI?redirectlocale=en-US&redirectslug=nsIDownloadManagerUI
Should I implement this also to escape from IDM or any other downloader? I don't want to catch downloads; from; other than my plugin.
I'm using https://developer.mozilla.org/en-US/docs/Code_snippets/Downloading_Files#Downloading_files this function to download file. For testing purpose I press Control
key to disable IDM plugin.
Can you please tell me what should I do to download zipped files from my plugin without getting caught in IDM???