Inline base64 encoded link not working in Firefox

Posted by Sjoerd on Stack Overflow See other posts from Stack Overflow or by Sjoerd
Published on 2010-03-25T09:22:36Z Indexed on 2010/03/25 9:23 UTC
Read the original article Hit count: 626

Filed under:
|
|
|

I have this link:

<a href="data:application/pdf;base64,JVBERi0x...KJSVFT0YK">PDF</a>

In Safari on MacOsX, clicking the link instantly opens the PDF. In Firefox 3.6.2, it doesn't. When I choose Download, it saves it as "u7WYuJME.pdf(2).part", which is a valid PDF file. When I choose "Open with Preview", it downloads it but does not open it. Can I change something so that Firefox opens it correctly?

© Stack Overflow or respective owner

Related posts about firefox

Related posts about base64