Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

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.
Đính kèm ảnh chụp màn hình

Giải pháp được chọn

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

Đọc câu trả lời này trong ngữ cảnh 👍 0

Tất cả các câu trả lời (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

Giải pháp được chọn

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