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!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Middle mouse opens pdf

  • 2 回覆
  • 0 有這個問題
  • 8 次檢視
  • 最近回覆由 josef.benes

more options

Hello, when I click on link with middle mouse button it will open that link on next tab but doesn't "jump" there, which is fine. But when I do the same with pdf links, it will automaticly "jumps" on the pfd file. And I don't want to. I want to open it like normal link (on next tab in background), because I have a lot of pdf files to open, and this makes it difficult to do it qucikly. Before some weeks this wasn't a probem, it started now.

Bes Regard, Josef

Hello, when I click on link with middle mouse button it will open that link on next tab but doesn't "jump" there, which is fine. But when I do the same with pdf links, it will automaticly "jumps" on the pfd file. And I don't want to. I want to open it like normal link (on next tab in background), because I have a lot of pdf files to open, and this makes it difficult to do it qucikly. Before some weeks this wasn't a probem, it started now. Bes Regard, Josef

被選擇的解決方法

You probably have Firefox set to its default action for PDFs, which is "Open in Firefox." With this setting, Firefox 98+ automatically loads downloaded PDFs in a new tab.

Could you confirm that the ones that switch are downloads? To do that, check the address bar for the PDF: is it a web address (http:// or https://) or a downloaded file address (file:///) ? In the downloaded file case, Firefox definitely will switch to the new tab.

Firefox 103 has a hidden setting which further changes PDF downloading so that more of the downloads open on their web address. Maybe this will help? Here's how to try it:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

More info on about:config: Configuration Editor for Firefox. The moderators would like us to remind you that changes made through this back door aren't fully supported and aren't guaranteed to continue working in the future.

(2) In the search box in the page, type or paste browser.download.open_pdf_attachments_inline and pause while the list is filtered

(3) Double-click the preference (or click the "toggle" button on the right end) to switch the value from false to true

Does that help with the PDFs you're viewing?

從原來的回覆中察看解決方案 👍 2

所有回覆 (2)

more options

選擇的解決方法

You probably have Firefox set to its default action for PDFs, which is "Open in Firefox." With this setting, Firefox 98+ automatically loads downloaded PDFs in a new tab.

Could you confirm that the ones that switch are downloads? To do that, check the address bar for the PDF: is it a web address (http:// or https://) or a downloaded file address (file:///) ? In the downloaded file case, Firefox definitely will switch to the new tab.

Firefox 103 has a hidden setting which further changes PDF downloading so that more of the downloads open on their web address. Maybe this will help? Here's how to try it:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

More info on about:config: Configuration Editor for Firefox. The moderators would like us to remind you that changes made through this back door aren't fully supported and aren't guaranteed to continue working in the future.

(2) In the search box in the page, type or paste browser.download.open_pdf_attachments_inline and pause while the list is filtered

(3) Double-click the preference (or click the "toggle" button on the right end) to switch the value from false to true

Does that help with the PDFs you're viewing?

more options

Thank you. It was that hidden setting thing. I had my pdfs to be opend in tab but they were still doqloading. Changing that line from fals to true helped. Thank you again :)