chrome.downloads.download ignores saveAs option and opens the dialog regardless

前端 未结 2 1024
一生所求
一生所求 2021-01-20 00:53

I\'m trying to create an extension which downloads multiple files at once.

In order to accomplish that, I\'m using chrome downloads api, here is the code (with Angul

2条回答
  •  青春惊慌失措
    2021-01-20 01:33

    You can instruct your user to set Chrome settings to have

    Ask where to save each file before downloading
    

    "Save As" turned on/off.

    https://lifehacker.com/make-chrome-ask-where-to-save-downloaded-files-by-chang-1790840372

提交回复
热议问题