I've tried implementing image download from blob by following the answer from this post (the one from @Jonathan Amend). The download function works perfectly in Google Chrome. However, upon testing it on Firefox, the file I end up getting is blob instead of jpg/png/etc. Is there any additional code necessary to make it work properly in Firefox? My code looks exactly the same in the ajax with the exception using atob on my data before passing it as new blob like so:
var blob = new Blob([atob(data)], { type: type });