のえら

技術備忘とかメモとか.間違いはつっこんでいただきたい所存.アフィリエイトはやっていません.

jsPDFをIE8-9に対応させたかった→できませんでした

Blobやatob、ArrayBufferをIE9でも使えるようにして出力を試してみたが、dataURIにIEが対応していないっぽい
jquery - how to get base64 pdf string working in IE ( base64 pdf string is coming from odata call) - Stack Overflow

引用:

According to this you cannot use data uri for navigation in IE.
?Internet Explorer through version 7 (approximately 5% of web traffic as of September 2011), lacks support. However this can be overcome by serving browser specific content.
?Internet Explorer 8 limits data URIs to a maximum length of 32 KB. (Internet Explorer 9 does not have this limitation)
?In IE 8 and 9 data URIs can only be used for images, but not for navigation or Javascript generated file downloads.

そしてIE8ではpolyfillで必死に対応しても無理ゲーだったことをここに記す。