Greasemonkey: Clarify why the new Download permission is needed

Created on 23 May 2018  路  5Comments  路  Source: greasemonkey/greasemonkey

So firefox just told me that I need to accept the new permission that greasemonkey requires to update it:
"Download files and read and modify the browser's download history"

I didn't see it mentioned in the blogpost so I thought I'd ask.

Most helpful comment

In Firefox >= 60, downloads could be put in optional_permissions:
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/manifest.json/optional_permissions

All 5 comments

For exporting the database. It's much simpler to utilize the Downloads API to initiate the save request. It's possible to do without but the code is not quite as clean. Honestly there should be a 'save this file' API (that prompts the user) that doesn't require Downloads permissions, but unfortunately there isn't.

That.

In Firefox >= 60, downloads could be put in optional_permissions:
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/manifest.json/optional_permissions

I want to do other Fx-60-minimum changes in the next release anyway, so that sounds great.

Oh, #2962

Was this page helpful?
0 / 5 - 0 ratings