ie9 Error: 'Blob' is undefined

15,842

Check Blob object browser compatibility:

Browser compatibility

Chrome  Firefox (Gecko) Internet Explorer   Opera   Safari (WebKit)
20      13.0 (13.0)     10                  12.10   6 (536.10)

Please note that this is not supported by all browsers including IE9 or ealier:

https://developer.mozilla.org/en-US/docs/Web/API/Blob

Share:
15,842
user3641778
Author by

user3641778

Updated on June 04, 2022

Comments

  • user3641778
    user3641778 almost 2 years

    this http://jsfiddle.net/bCRm3/17/

    (Kendo grid export to csv)

    works fine in firefox, chrome and IE11

    in ie9 im getting

                blob = new Blob([csv], { type: 'text/csv;charset=utf-8' }); //Blob.js
                saveAs(blob, fileName); //FileSaver.js
    

    'Blob' is undefined show, line 141 character 17

    is there a way around this for ie9? (im not sure if this works on ie10)