Base64 pdf link does not open in firefox

I have encoded the pdf to base64 and tried to load this base64encoded pdf into the browser like

  data = "data:application/pdf;base64,"+base64encodedpdf;
  window.open(data);

      

It opens in chrome. But it doesn't open in firefox.

Help me.

+3


source to share


1 answer


You need to change the settings for Firefox applications. From:

enter image description here



To:

enter image description here

0


source







All Articles