

- #HOW TO OPEN PDF ATTACHMENTS IN FIREFOX HOW TO#
- #HOW TO OPEN PDF ATTACHMENTS IN FIREFOX FULL#
- #HOW TO OPEN PDF ATTACHMENTS IN FIREFOX PORTABLE#
- #HOW TO OPEN PDF ATTACHMENTS IN FIREFOX CODE#
/ The filename that will be shown if the file is downloaded or saved. / Determines if the file should be shown in the browser or downloaded as a file
#HOW TO OPEN PDF ATTACHMENTS IN FIREFOX CODE#
pdf filename and the inline setting.Įdit: Here is the source code that I'm using to serve up the PDF files.įirst, the Controller Action: public ActionResult ComplianceCertificate(int id) pdf extension, but we do set the content-disposition header with a valid. The PDF file is being generated on-the-fly, and all the content headers are being set appropriately.

The link to the PDF file has target=_blank so that it opens in a new window. This is an ASP.NET MVC application, and has jQuery available. The image was a browser window, with the regular toolbar, but a solid gray background, no UI whatsoever.Īlthough I don't think the following information is related to my issue, I'll include it for reference:
#HOW TO OPEN PDF ATTACHMENTS IN FIREFOX HOW TO#
I'm really hoping for a solution that is seamless to the end-user, because I can't rely on them to know how to change their Adobe Reader settings, or to automatically install updates.Įdit: screenshot was deleted from file server! Sorry! Has anyone else experienced this issue? What are some possible solutions or workarounds?

I've considered providing a "Download PDF" link (that sets the Content-Disposition header to attachment instead of inline), but my company does not like that solution at all, because we really want these PDF files to display in the browser. So, I am trying to figure out a way to fix this issue for my users. Honestly, until I researched the issue, I blamed the PDF too! Most of my users get very confused at seeing this gray screen, and end up blaming the PDF file and blaming the website for being broken. However, all of these solutions require the user to figure it out. Upgrading to Adobe Reader 10.1.*, or downgrading to 9.*, fixes the issue too. For example, hitting "Refresh" will load the document properly. It works perfectly fine with Firefox, Chrome, or with Adobe Reader 10.1.*. The browser window loads with an empty gray screen (and doesn't even have a Reader toolbar). Next, search for pdfjs.disabled, then double-click on the entry, which will turn the boolean value from "false" to "true.There is a known issue with opening a PDF in Internet Explorer (v 6, 7, 8, 9) with Adobe Reader X (version 10.0.*). If you want to disable the built-in PDF viewer entirely, type, "about:config" in the address bar, then click on the "I'll be careful, I promise!" button. Or, you can set it to Always ask, so you'll get a prompt every time. You can also choose to save PDF files by default when you click on them, rather than opening them. Click the drop-down list to select an alternate PDF viewer. Under the Action column, you'll see that it's set for Preview in Firefox.
#HOW TO OPEN PDF ATTACHMENTS IN FIREFOX PORTABLE#
Go to Options > Applications, then find the listing for Portable Document Format (PDF). If you prefer to use another PDF viewer, like Adobe Acrobat, you can change the default PDF viewer. If they don't, make sure you've disabled any PDF plug-ins you may have previously installed. The Firefox PDF viewer is enabled by default and will display PDFs within the browser when you click on PDF links. It's a feature that most people will find convenient as is, but if you're looking to take some control over how Firefox handles PDF files on the Web, here's how: While Chrome has had an internal PDF viewer for a couple of years now, Mozilla only just added the feature to Firefox 19.
#HOW TO OPEN PDF ATTACHMENTS IN FIREFOX FULL#
