featurist / browser-pdf-support

detect PDF support in the browser
7 stars 2 forks source link

Doesn't work with adobe reader and FireFox #3

Open daneshka opened 7 years ago

daneshka commented 7 years ago

I have adobe reader and I use FireFox PDF preview works fine but "browser-pdf-support" returns me false.

FF version: 55.0.3 (32-bit)

leomontenegro6 commented 5 years ago

I'm having the same issue, but in my case I don't have Adobe Reader.

However, Firefox has a built-in PDF viewer already (called PDF.js if I'm not mistaken). Even without Adobe Reader, it should detect pdf.js internally.

The-MAZZTer commented 4 years ago

This code seems to expect Firefox to populate navigator.mimeTypes["application/pdf"] but Firefox does not do so.