Not sure if this is the right place to ask, but anyway:
Is there a way for a web page (probably through JavaScript) to detect if the pdf.js plugin is enabled in Firefox?
FF19 will, as far as I know, enable the plugin by default, but the user can change that with an about:config setting. You cannot, of course, check the about:config settings using JavaScript and the pdf.js plugins doesn't seem to appear in the navigator.plugins object, whether enabled or not.
Background: An application that relies on PDF Forms (which are not supported by pdf.js if I understand that right,
https://github.com/mozilla/pdf.js/issues/1459) sadly needs the Adobe Reader plugin enabled and the pdf.js plugin disabled. So the application should be able to display some hint or warning to the user, depending on whether if pdf.js is enabled or not.
Thanks, Jay