问题
I am trying to puase a download but it doesnt work, the file is downloaded. here my code:
In my background script:
chrome.downloads.onCreated.addListener(function (e) {
chrome.downloads.pause(e.id);
});
Here chrome.downloads.pause the API documentation
来源:https://stackoverflow.com/questions/63500467/pause-a-download-with-chrome-doesnt-work-as-expected