download
download copied to clipboard
file downloading using client-side javascript
Not sure if this is a proper solution for this issue.
Fixed a bug when extracting the filename from url while the url is like below:  Before fixed, it getted 'SouthEast' as filename.
It seems the library cannot be loaded with module imports on modern browsers. The purpose would be to allow such imports since JavaScript imports are now available with all major...
if the script is included with "use strict", Chrome throws an error at this point: Uncaught TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions...
change code ``` if(url && url.length< 2048){ // if no filename and no mime, assume a url was passed as the only argument fileName = url.split("/").pop().split("?")[0]; anchor.href = url; //...
I need some help to use download(), passing the first parameter (data) to download a .docx file. Thank you!
``` function dataUrlToBlob(strUrl) { var parts= strUrl.split(/[:;,]/), type= parts[1], decoder= parts[2] == "base64" ? atob : decodeURIComponent, ... } ``` https://github.com/rndme/download/blob/master/download.js#L90 This one fails, it is generated with [google first...
Got an audio file coming in through ajax and when ajax receives it the file is the right size with correct headers but once its run through download it almost...
I am using REST API @ back and it provides the byteStream of the excel file and I am trying to generate file @ client Side. File is downloaded but...
Here is a fix, taken from https://github.com/bpampuch/pdfmake/issues/294: line 82: try { blob = payload instanceof myBlob ? payload : new myBlob([payload], {type: mimeType}) ; } catch (e) { // Old...