Source code
Revision control
Copy as Markdown
Other Tools
browser.downloads.download({
filename: "banana.gif",
method: "POST",
body: "postbody",
headers: [
{
name: "User-Agent",
value: "Mozilla Firefox",
},
],
allowHttpErrors: true,
conflictAction: "overwrite",
saveAs: true,
incognito: true,
});