Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

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.
Attached screenshots

Réiteach roghnaithe

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

Read this answer in context 👍 0

All Replies (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

Réiteach Roghnaithe

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