@@ -7,13 +7,13 @@ FileSaver.js
77============
88
99FileSaver.js is the solution to saving files on the client-side, and is perfect for
10- webapps that generates files on the client, However if the file is coming from the
11- server we recomend you to first try to use [ Content-Disposition] [ 8 ] attachment response header as it has more cross browser compatible
10+ web apps that generates files on the client, However if the file is coming from the
11+ server we recommend you to first try to use [ Content-Disposition] [ 8 ] attachment response header as it has more cross- browser compatible
1212
1313Looking for ` canvas.toBlob() ` for saving canvases? Check out
1414[ canvas-toBlob.js] [ 2 ] for a cross-browser implementation.
1515
16- Supported browsers
16+ Supported Browsers
1717------------------
1818
1919| Browser | Constructs as | Filenames | Max Blob Size | Dependencies |
@@ -82,14 +82,14 @@ var blob = new Blob(["Hello, world!"], {type: "text/plain;charset=utf-8"});
8282FileSaver .saveAs (blob, " hello world.txt" );
8383```
8484
85- ### Saving urls
85+ ### Saving URLs
8686
8787``` js
8888FileSaver .saveAs (" https://httpbin.org/image" , " image.jpg" );
8989```
90- Using urls within the same origin will just use ` a[download] `
91- Otherwise it will first check if it supports cors header with a synchronously head request
92- if it does it will download the data and save it using blob urls
90+ Using URLs within the same origin will just use ` a[download] `
91+ Otherwise, it will first check if it supports cors header with a synchronously head request
92+ if it does it will download the data and save it using blob URLs
9393if not it will try to download it using ` a[download] `
9494
9595The standard W3C File API [ ` Blob ` ] [ 4 ] interface is not available in all browsers.
0 commit comments