X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

A PDF from a website does not download even though a window pops up, how do I fix this?

Posted

The website I am accessing is https://ebill.3rivers.net/siscss/pt/logonSubmitForward.do. I am able to get a PDF from it with IE and to get PDFs from other websites in Firefox, but not this one. I also have Firefox set to use it's PDF viewer. I am using version 20.0.1 of Firefox.

Chosen solution

Okay, yes, that's the issue with this site. If they were launching you directly to the PDF, Firefox would close the window. But instead they are launching a page that frames the PDF together with another web page. In that case, Firefox doesn't close the window.

Read this answer in context 1

Additional System Details

Installed Plug-ins

  • Shockwave Flash 11.7 r700
  • Next Generation Java Plug-in 10.21.2 for Mozilla browsers
  • Adobe PDF Plug-In For Firefox and Netscape 10.1.6
  • LogMeIn, Inc. Remote Access Components
  • 5.1.20125.0
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • Intel web components for Intel® Identity Protection Technology
  • Intel web components updater - Installs and updates the Intel web components
  • The plug-in allows you to open and edit files using Microsoft Office applications
  • Office Authorization plug-in for NPAPI browsers

Application

  • Firefox 20.0.1
  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0
  • Support URL: http://support.mozilla.org/1/firefox/20.0.1/WINNT/en-US/

Extensions

  • LogMeIn, Inc. Remote Access Plugin 1.0.0.1007 (LogMeInClient@logmein.com)
  • Troubleshooter 1.1a (troubleshooter@mozilla.org)
  • Adobe Acrobat - Create PDF 1.2 (web2pdfextension@web2pdf.adobedotcom) (Inactive)

Javascript

  • incrementalGCEnabled: True

Graphics

  • adapterDescription: Intel(R) HD Graphics 3000
  • adapterDescription2: NVIDIA GeForce GT 630M
  • adapterDeviceID: 0x0126
  • adapterDeviceID2: 0x0de9
  • adapterDrivers: igdumd64 igd10umd64 igd10umd64 igdumd32 igd10umd32 igd10umd32
  • adapterDrivers2: nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
  • adapterRAM: Unknown
  • adapterRAM2: 2047
  • adapterVendorID: 0x8086
  • adapterVendorID2: 0x10de
  • direct2DEnabled: True
  • directWriteEnabled: True
  • directWriteVersion: 6.2.9200.16492
  • driverDate: 2-14-2012
  • driverDate2: 10-2-2012
  • driverVersion: 8.15.10.2653
  • driverVersion2: 9.18.13.697
  • info: {u'AzureCanvasBackend': u'direct2d', u'AzureFallbackCanvasBackend': u'cairo', u'AzureContentBackend': u'direct2d'}
  • isGPU2Active: False
  • numAcceleratedWindows: 1
  • numTotalWindows: 1
  • webglRenderer: Google Inc. -- ANGLE (Intel(R) HD Graphics 3000)
  • windowLayerManagerType: Direct3D 10

Modified Preferences

  • accessibility.typeaheadfind: True
  • accessibility.typeaheadfind.flashBar: 0
  • browser.cache.disk.capacity: 358400
  • browser.cache.disk.smart_size.first_run: False
  • browser.cache.disk.smart_size.use_old_max: False
  • browser.cache.disk.smart_size_cached_value: 358400
  • browser.places.smartBookmarksVersion: 4
  • browser.startup.homepage_override.buildID: 20130409194949
  • browser.startup.homepage_override.mstone: 20.0.1
  • dom.mozApps.used: True
  • dom.w3c_touch_events.expose: False
  • extensions.lastAppVersion: 20.0.1
  • gfx.direct3d.prefer_10_1: True
  • network.cookie.prefsMigrated: True
  • places.database.lastMaintenance: 1366748641
  • places.history.expiration.transient_current_max_pages: 104858
  • plugin.disable_full_page_plugin_for_types:
  • privacy.donottrackheader.enabled: True
  • privacy.sanitize.migrateFx3Prefs: True

Misc

  • User JS: No
  • Accessibility: No
John99
  • Top 25 Contributor
  • Moderator
622 solutions 8010 answers

Helpful Reply

Try temporarily disabling the new pdf viewer that is now built into Firefox

This is fairly new and sometimes has problems.

Question owner

Thanks you for your reply. While waiting, I did try that and it worked but interestingly Firefox still opened up the download window and then the PDF showed up in an Acrobat window. So in other words, it opened two windows.

jscher2000
  • Top 10 Contributor
2356 solutions 20868 answers

By download window do you mean a blank new window or tab, or the Download Manager dialog? You can get the blank window/tab if you Shift+click/Ctrl+click the link to the PDF. Otherwise, Firefox should close it for you. There may be situations in which it doesn't close, depending on how the site is set up.

cor-el
  • Top 10 Contributor
  • Moderator
10746 solutions 96695 answers

You can set the pdfjs.disabled pref to true on the about:config page to disable the build-in PDF viewer.

You can also check the value of the plugin.disable_full_page_plugin_for_types pref and remove the application/pdf part if present. Otherwise Firefox won't use the Adobe Reader plugin, but will offer to open the files in the external viewer.

Question owner

By download window do you mean a blank new window or tab, or the Download Manager dialog? You can get the blank window/tab if you Shift+click/Ctrl+click the link to the PDF. Otherwise, Firefox should close it for you. There may be situations in which it doesn't close, depending on how the site is set up.

I mean a blank new window. It comes up when I click on one of there links to bring up a pdf of a bill, and that was w/o using shift or ctrl.

Question owner

You can set the pdfjs.disabled pref to true on the about:config page to disable the build-in PDF viewer.

  This option made no apparent difference in the functioning probably because the built-in wasn't working anyway for this website.

You can also check the value of the plugin.disable_full_page_plugin_for_types pref and remove the application/pdf part if present. Otherwise Firefox won't use the Adobe Reader plugin, but will offer to open the files in the external viewer.

  This stopped the Adobe viewer from opening which I needed to be open given that the internal viewer was not working for this website.  So I added the PDF part back.
   http://kb.mozillazine.org/about:config
jscher2000
  • Top 10 Contributor
2356 solutions 20868 answers

I mean a blank new window. It comes up when I click on one of there links to bring up a pdf of a bill, and that was w/o using shift or ctrl.

Yes, I've seen that on some sites. They pop up a window on the assumption that the PDF will open in that window using the Adobe plugin, since that is how most people have worked over the years.

At this point, is your PDF preference (Options > Applications) set to:

  • Use Adobe Acrobat (in Firefox) -- should open in that pop-up window
  • Use Adobe Reader (default) -- should launch in stand-alone Adobe Reader
  • something else?

Question owner

Anything referencing Adobe I have set to use Adobe by default now, but that blank window still pops up before Adobe does.

jscher2000
  • Top 10 Contributor
2356 solutions 20868 answers

I'm not in a position to test that site myself, so could you take a look at this:

(1) Does the URL of the blank window end with .pdf?

(2) If you right-click the blank window and choose View Page Info, what is listed for Type?

(3) If you view the source code of the blank window (Ctrl+u), is it basically empty? If not, does it contain any <object or <embed tags?

(4) If you close the blank window and return to the main page, then disable JavaScript before clicking the link again, does it behave any differently?

orange Firefox button (or Tools menu) > Options > Content

Question owner

(1) No
(2) text/html
(3)

<frameset border="0" rows="100,*">

    <frame src="BillImagePdfNav.jsp" name="nav" scrolling="no" frameborder="0">
    <frame name="billPage" src="fetchPdf.do;jsessionid=YxArZccusFXavJ3uafG+Ng**"/>

</frameset>


(4) No

Modified by cor-el

jscher2000
  • Top 10 Contributor
2356 solutions 20868 answers

Chosen Solution

Okay, yes, that's the issue with this site. If they were launching you directly to the PDF, Firefox would close the window. But instead they are launching a page that frames the PDF together with another web page. In that case, Firefox doesn't close the window.