Recommended way to embed PDF in HTML? - Stack Overflow The term *plugin* refers to a user-agent defined set of content handlers used by the user agent that can take part in the user agent's rendering of a Document object, but that neither act as child browsing contexts of the Document nor introduce any Node objects to the Document's DOM. Because the PDF form that opens with the looks fine at first sight. The reason why we don't use the IFrame solution for all browsers, is that although the PDF is displayed correctly in all our tested browsers, Chrome makes another request to the server function as soon as you want to download the PDF in the Chrome-PDF Reader.
Expose as a plugin navigator.plugins when enabled You can technically even copy the file to any Chromium-based browsers (putting a legal matter aside). That said, I agree it would be reasonable to add a navigator.plugin entry for compatibility even if our implementation is not a genuine plug-in. JS for sure, but I hope we don't make these nodes "visible" to the web page. (2) AFAIK, the "Open With Different Viewer" opens the PDF document in a new standalone Adobe Reader, outside the Firefox context. JS viewer is enabled in Firefox, add an entry to the navigator.plugins. filename "PDF.plugin", length 2, name "Chrome PDF Viewer" } There is a "user story". not guaranteed to work forever, as there is no official API yet to detect