X
Tap here to go to the mobile version of the site.

Support Forum

Why does Firefox insist on dowloading yamagata.repo.nii.ac.jp/sakuma_1-171_187.html instead of taking me to that page so I can access the PDFs listed there?

Posted

When using Windows 7 Pro and Explorer 11, I used to be able to access PDFs at the Yamagata University library, such as the ones listed in this index. I have since switch to Windows 10 and Firefox, and the Yamagata Repository interface has changed. Because so many things are different, I have struggled to troubleshoot the problem: I cannot get Firefox to take me to the page yamagata.repo.nii.ac.jp/sakuma_1-171_187.html. Since it downloads it instead, I cannot get the PDFs listed on it.

  I have made both https://yamagata.repo.nii.ac.jp and https://repo.lib.yamagata-u.ac.up trusted sites in Windows 10 and in Firefox, though it is unclear to what extent that alters Firefox's behavior.  On the other hand, MS Edge also fails.  Evidently, something more needs to be done.  
  Archived messages on line suggest that the problem could be a hang-up when "index.php" is encountered and/or that "html" files are treated differently from "htm" files.  Perhaps so:  but how does one fix it?
When using Windows 7 Pro and Explorer 11, I used to be able to access PDFs at the Yamagata University library, such as the ones listed in this index. I have since switch to Windows 10 and Firefox, and the Yamagata Repository interface has changed. Because so many things are different, I have struggled to troubleshoot the problem: I cannot get Firefox to take me to the page yamagata.repo.nii.ac.jp/sakuma_1-171_187.html. Since it downloads it instead, I cannot get the PDFs listed on it. I have made both https://yamagata.repo.nii.ac.jp and https://repo.lib.yamagata-u.ac.up trusted sites in Windows 10 and in Firefox, though it is unclear to what extent that alters Firefox's behavior. On the other hand, MS Edge also fails. Evidently, something more needs to be done. Archived messages on line suggest that the problem could be a hang-up when "index.php" is encountered and/or that "html" files are treated differently from "htm" files. Perhaps so: but how does one fix it?

Chosen solution

The server sends the header content-disposition:attachment with the file, which triggers the download dialog. (Screen shot) There is no built-in way to override that.

But there is an add-on for that. This extension was already suggested, but in case you missed it because its purpose was not explained, here is the link again:

https://addons.mozilla.org/firefox/addon/inlinedisposition/

Read this answer in context 0

Additional System Details

Installed Plug-ins

  • Adobe PDF Plug-In For Firefox and Netscape 15.9.20069
  • GEPlugin
  • Google Update
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Next Generation Java Plug-in 11.65.2 for Mozilla browsers
  • Office Authorization plug-in for NPAPI browsers
  • The plug-in allows you to open and edit files using Microsoft Office applications
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • Shockwave Flash 19.0 r0
  • Adobe Shockwave for Director Netscape plug-in, version 11.6.5.635
  • 5.1.40728.0
  • Enables interaction with CDF content.

Application

  • Firefox 41.0.2
  • User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
  • Support URL: https://support.mozilla.org/1/firefox/41.0.2/WINNT/en-US/

Extensions

  • Right Encoding 0.3.5 (rightencoding@oops.org)
  • DigitalPersona Extension 5.0.0.4246 (otis@digitalpersona.com) (Inactive)

Javascript

  • incrementalGCEnabled: True

Graphics

  • adapterDescription: ATI Radeon HD 4550
  • adapterDescription2:
  • adapterDeviceID: 0x9540
  • adapterDeviceID2:
  • adapterDrivers: aticfx64 aticfx64 aticfx32 aticfx32 atiumd64 atidxx64 atiumdag atidxx32 atiumdva atiumd6a atitmm64
  • adapterDrivers2:
  • adapterRAM: 512
  • adapterRAM2:
  • adapterSubsysID: 01041002
  • adapterSubsysID2:
  • adapterVendorID: 0x1002
  • adapterVendorID2:
  • direct2DEnabled: True
  • directWriteEnabled: True
  • directWriteVersion: 10.0.10240.16430
  • driverDate: 1-13-2015
  • driverDate2:
  • driverVersion: 8.970.100.9001
  • driverVersion2:
  • info: {u'AzureCanvasBackend': u'direct2d 1.1', u'AzureFallbackCanvasBackend': u'cairo', u'AzureContentBackend': u'direct2d 1.1', u'AzureSkiaAccelerated': 0}
  • isGPU2Active: False
  • numAcceleratedWindows: 1
  • numTotalWindows: 1
  • supportsHardwareH264: True
  • webglRenderer: Google Inc. -- ANGLE (ATI Radeon HD 4550 Direct3D11 vs_4_1 ps_4_1)
  • windowLayerManagerRemote: True
  • windowLayerManagerType: Direct3D 11

Modified Preferences

Misc

  • User JS: No
  • Accessibility: No
Supreme Eagle
  • Locale Leader
11 solutions 120 answers

https://yamagata.repo.nii.ac.jp This link is working,

And the   linkhttp://yamagata.repo.nii.ac.jp/sakuma_1-171_187.html Is showing page not found. I was able to access and download the PDF by going through the index list that is present there. 

Try clearing the cookies and browser data and then again login. After login use the link in the address bar and it may work ( I am using the word 'may' because the error shows that the page does not exist, so it can be that they may have changed the URL of that PDF page that you are looking for)

https://yamagata.repo.nii.ac.jp This link is working, And the linkhttp://yamagata.repo.nii.ac.jp/sakuma_1-171_187.html Is showing page not found. I was able to access and download the PDF by going through the index list that is present there. Try clearing the cookies and browser data and then again login. After login use the link in the address bar and it may work ( I am using the word 'may' because the error shows that the page does not exist, so it can be that they may have changed the URL of that PDF page that you are looking for)

Question owner

I cleared everything, but still no luck. Getting to the page

https://yamagata.repo.nii.ac.jp/?action=pages_view_main&active_action=repository_view_main_item_detail&item_id=2630&item_no=1&page_id=13&block_id=29

is not a problem. (I e-mailed the Library, and they confirmed that this link is correct.) The problem is that, if I click on the link sakuma_1-171_187.html on this page, Firefox does not go to the referenced page. Instead, it asks "What should Firefox do with this file?" There are two choices: Open with and Save. No matter which you choose (or which program you elect to open the file with), it saves to C:\. (Also, even if you check "Do this automatically for files like this from now on," it always asks. Could this be a clue to the problem?)

Is there a way to get Firefox to change its behavior at the I click the link?

I cleared everything, but still no luck. Getting to the page https://yamagata.repo.nii.ac.jp/?action=pages_view_main&active_action=repository_view_main_item_detail&item_id=2630&item_no=1&page_id=13&block_id=29 is not a problem. (I e-mailed the Library, and they confirmed that this link is correct.) The problem is that, if I click on the link sakuma_1-171_187.html on this page, Firefox does not go to the referenced page. Instead, it asks "What should Firefox do with this file?" There are two choices: Open with and Save. No matter which you choose (or which program you elect to open the file with), it saves to C:\. (Also, even if you check "Do this automatically for files like this from now on," it always asks. Could this be a clue to the problem?) Is there a way to get Firefox to change its behavior at the I click the link?

Modified by Philologist

Supreme Eagle
  • Locale Leader
11 solutions 120 answers

Helpful Reply

https://yamagata.repo.nii.ac.jp/index.php?action=repository_view_main_item_detail&item_id=2630&item_no=1&page_id=13&block_id=29 Look at the image, is it the page you are looking for? Try this add-on, this might help you https://addons.mozilla.org/addon/inlinedisposition/

Modified by Supreme Eagle

Supreme Eagle
  • Locale Leader
11 solutions 120 answers
https://addons.mozilla.org/addon/inlinedisposition/

Modified by Supreme Eagle

Question owner

The image above is the page on which the problem occurs, not the page I seek. Notice the link in the middle of the page with ending in .html. If I click it, Firefox does not take me to the page with that name. instead, it asks what program I wish to use at that point. Whether I choose Firefox or Explorer, the result is the same: a copy of the page is downloaded to my computer. On that page, there is a list of links to PDFs, as you correctly observed in your first response. I want to examine each PDF in that list. However, since I only have a copy of the list on my computer, the links don't work.

What should happen is that, when I click the link referred to, I should next see the corresponding page on-line. Firefox should not ask me how to handle it: it should automatically go to that page---but it does not, and I do not know why it does not.

The image above is the page on which the problem occurs, not the page I seek. Notice the link in the middle of the page with ending in .html. If I click it, Firefox does not take me to the page with that name. instead, it asks what program I wish to use at that point. Whether I choose Firefox or Explorer, the result is the same: a copy of the page is downloaded to my computer. On that page, there is a list of links to PDFs, as you correctly observed in your first response. I want to examine each PDF in that list. However, since I only have a copy of the list on my computer, the links don't work. What should happen is that, when I click the link referred to, I should next see the corresponding page on-line. Firefox should not ask me how to handle it: it should automatically go to that page---but it does not, and I do not know why it does not.
cor-el
  • Top 10 Contributor
  • Moderator
17763 solutions 160635 answers

Maybe open the page source in a tab and click the PDF links on that page.

view-source:https://yamagata.repo.nii.ac.jp/?action=repository_uri&item_id=2630&file_id=17&file_no=1
Maybe open the page source in a tab and click the PDF links on that page. <pre><nowiki>view-source:https://yamagata.repo.nii.ac.jp/?action=repository_uri&item_id=2630&file_id=17&file_no=1 </nowiki></pre>
jscher2000
  • Top 10 Contributor
8875 solutions 72620 answers

Chosen Solution

The server sends the header content-disposition:attachment with the file, which triggers the download dialog. (Screen shot) There is no built-in way to override that.

But there is an add-on for that. This extension was already suggested, but in case you missed it because its purpose was not explained, here is the link again:

https://addons.mozilla.org/firefox/addon/inlinedisposition/

The server sends the header '''content-disposition:attachment''' with the file, which triggers the download dialog. (Screen shot) There is no built-in way to override that. But there is an add-on for that. This extension was already suggested, but in case you missed it because its purpose was not explained, here is the link again: https://addons.mozilla.org/firefox/addon/inlinedisposition/

Question owner

Thank you for the diagnosis and add-on! That solved the key problem. There is still a problem with timing-out when accessing the PDF, but that's a matter I will work on separately.

Thank you for the diagnosis and add-on! That solved the key problem. There is still a problem with timing-out when accessing the PDF, but that's a matter I will work on separately.