Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

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?

  • 8 odpovedí
  • 1 má tento problém
  • 17 zobrazení
  • Posledná odpoveď od Philologist

more options

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?

Vybrané riešenie

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/

Čítať túto odpoveď v kontexte 👍 0

Všetky odpovede (8)

more options

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)

more options

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?

Upravil(a) Philologist dňa

more options

Upravil(a) Supreme Eagle dňa

more options

Upravil(a) Supreme Eagle dňa

more options

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.

more options

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
more options

Vybrané riešenie

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/

more options

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.