So using this line in my HTML
<a target="_blank" href="data:application/pdf;base64,'+base64pdf+'"><img src="/img/files/pdf.png"></a>
the results are as follows:
Chrome: When I left click the < a > it opens a new tab with the URI in the address bar with a blank page and title untitled. If I right click the < a > and select open link in new tab it works fine and opens a tab with title data: and the URI on the address bar.
Firefox: Works fine both ways.
Does anyone know how I can fix this?