为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

why can't i open a link to a PDF in a new tab?

more options

I want to click on a link in an email i was just sent from my teacher after her seminar, which is supposed to open a PDF of info. But when I right click it and select, open in a new tab, only a blank page shows up! But, since i KNOW it must be a proper link, I tried around and found another way: if I select, "save link as", a window pops up and lets me save it as an adobe reader PDF file in my computer, which i can then open and read. Why? I mean, what could be the problem? I have never had the problem before of not being able to right click something and select "open in a new tab", and have it work just that like, without the extra steps!

I want to click on a link in an email i was just sent from my teacher after her seminar, which is supposed to open a PDF of info. But when I right click it and select, open in a new tab, only a blank page shows up! But, since i KNOW it must be a proper link, I tried around and found another way: if I select, "save link as", a window pops up and lets me save it as an adobe reader PDF file in my computer, which i can then open and read. Why? I mean, what could be the problem? I have never had the problem before of not being able to right click something and select "open in a new tab", and have it work just that like, without the extra steps!

被采纳的解决方案

A link can have several different scripts attached to it that supersede the normal behavior. These include actions that occur when you click (mouse down followed by mouse up) or when a mouse button is pressed on the link (mouse down) or when it is released over the link (mouse up). Usually the right-click > Open in New Tab/Window will bypass those.

However, in some cases, when you mouse over a link you may occasionally see that it has no destination address, or seems to point to the same page, or starts with javascript:. In these cases, the right-click operation fails because it copies that nonexistent or dysfunctional link instead of running the script attached to the link.

定位到答案原位置 👍 1

所有回复 (3)

more options

Right-click > Open in New Tab/Open in New Window may not work when the link runs a script. In that case, often you will see something unusual or dysfunctional in the address bar of the new tab/new window. Does that seem relevant here?

more options

yes it does. so what does it mean that a "link runs a script"? in low-tech language please ;)

more options

选择的解决方案

A link can have several different scripts attached to it that supersede the normal behavior. These include actions that occur when you click (mouse down followed by mouse up) or when a mouse button is pressed on the link (mouse down) or when it is released over the link (mouse up). Usually the right-click > Open in New Tab/Window will bypass those.

However, in some cases, when you mouse over a link you may occasionally see that it has no destination address, or seems to point to the same page, or starts with javascript:. In these cases, the right-click operation fails because it copies that nonexistent or dysfunctional link instead of running the script attached to the link.