I am trying implement a download manager using “https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/downloads/download” . One of my requirment is users able to download multiple files with single click and don’t force user to select the folder for each file .
I was trying to implement the download the example but it says browser is not defined . how do i get browser object . I am trying plain javascript .
I hope the this going to work on browsers except IE Edge