Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Learn More

Trying to open any link from a pdf opens a page with the url resource://pdf.js/web/ instead of opening the link. Help?

more options

Trying to open any link from a pdf opens a page with the url resource://pdf.js/web/ instead of opening the link. The attached image shows what the page that opens looks like. This does not happen on Edge, so it is a Firefox issue.

I have updated to the newest Firefox version and the issue remained the same. I tried clicking on "viewer.html" and it brought me to an empty pdf page that just loads forever and cannot be downloaded.

Please help. I do not want to use Edge or go back to Chrome, but I will if this can't be resolved.

Trying to open any link from a pdf opens a page with the url resource://pdf.js/web/ instead of opening the link. The attached image shows what the page that opens looks like. This does not happen on Edge, so it is a Firefox issue. I have updated to the newest Firefox version and the issue remained the same. I tried clicking on "viewer.html" and it brought me to an empty pdf page that just loads forever and cannot be downloaded. Please help. I do not want to use Edge or go back to Chrome, but I will if this can't be resolved.
Bifogade skärmdumpar

Vald lösning

atanibab.neh said

I can't share the files I'm working on, but your answer lead me to discover that although clicking any of the "copy link" or "save link" or "open link" all open the resource:// page, using "inspect" or "search google for: ..." gives me the correct link with the words "Disabled: " in front of it. (For instance, if the link was youtube.com, copying the link gives me "resource://pdf.js/web/", but inspect leads me to something that says "Disabled: youtube.com".

This might be relevant: Links can not be opened if PDF file is password protected · Issue #15291 · mozilla/pdf.js

Läs svaret i sitt sammanhang 👍 0

Alla svar (4)

more options

Can you give an example of a PDF that has this problem?

If the PDF author embedded the link as a full (complete) URL, it should work even after you download the PDF. If it was set up as a relative (partial) URL that only works when the PDF is loaded online using the original URL, then Firefox probably can't handle it correctly after it is downloaded.

more options

jscher2000 - Support Volunteer said

Can you give an example of a PDF that has this problem? If the PDF author embedded the link as a full (complete) URL, it should work even after you download the PDF. If it was set up as a relative (partial) URL that only works when the PDF is loaded online using the original URL, then Firefox probably can't handle it correctly after it is downloaded.

I can't share the files I'm working on, but your answer lead me to discover that although clicking any of the "copy link" or "save link" or "open link" all open the resource:// page, using "inspect" or "search google for: ..." gives me the correct link with the words "Disabled: " in front of it. (For instance, if the link was youtube.com, copying the link gives me "resource://pdf.js/web/", but inspect leads me to something that says "Disabled: youtube.com".

I can live with having to inspect element every time, since it's not too much trouble for now, but does this information help at all?

more options

Can you open the link in a new tab (e.g. via a middle-click) ?

If inspect element works then a bookmarklet might work as well if you set focus to the link via "Right Alt + left-click".

  • javascript:void(prompt('document.activeElement: '+document.activeElement.nodeName,document.activeElement.href));

If the inspector shows another attribute with the correct URL then use that attribute.

  • javascript:void(prompt('document.activeElement: '+document.activeElement.nodeName,document.activeElement.getAttribute("href")));
more options

Vald lösning

atanibab.neh said

I can't share the files I'm working on, but your answer lead me to discover that although clicking any of the "copy link" or "save link" or "open link" all open the resource:// page, using "inspect" or "search google for: ..." gives me the correct link with the words "Disabled: " in front of it. (For instance, if the link was youtube.com, copying the link gives me "resource://pdf.js/web/", but inspect leads me to something that says "Disabled: youtube.com".

This might be relevant: Links can not be opened if PDF file is password protected · Issue #15291 · mozilla/pdf.js