Firefox is really, really, really bad when it comes to getting blobs out of the browser and onto the user's filesystem.
Dragging an image with a blob or data URL to the desktop is completely useless in Firefox (it works fine in Chrome though). Using the download attribute does the job when in a normal browser tab, but in a sidebar it uselessly opens the image in a new browser tab.
We'll likely have to change the sidebar to post a message to the addon, which will then use some obscure, undocumented Gecko API to open a download dialog for the user.
For the time being, though, it looks like users will just need to right-click the image and choose "Save As...".
Good to know. I think that most people will want to share, not download. (Eager downloaders are less likely to need to the addon). Emailing an image might be difficult b/c of this issue.
Firefox is really, really, really bad when it comes to getting blobs out of the browser and onto the user's filesystem.
Dragging an image with a blob or data URL to the desktop is completely useless in Firefox (it works fine in Chrome though). Using the download attribute does the job when in a normal browser tab, but in a sidebar it uselessly opens the image in a new browser tab.
We'll likely have to change the sidebar to post a message to the addon, which will then use some obscure, undocumented Gecko API to open a download dialog for the user.
For the time being, though, it looks like users will just need to right-click the image and choose "Save As...".