Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

How to open a downloaded PDF in a new Firefox tab by default?

  • 3 ответа
  • 1 имеет эту проблему
  • 4 просмотра
  • Последний ответ от cor-el

more options

Recently switched from Chrome to Firefox on macOS, and I'd always open PDFs directly in Chrome. I've set my default PDF viewer to Firefox but when I open any downloaded PDFs from Finder, they go directly to a new Firefox window instead of a new tab (as I'm used to from Chrome).

Any way around this? I'd love to have any offline PDFs to be opened in a new tab by default, but nothing has worked so far.

Recently switched from Chrome to Firefox on macOS, and I'd always open PDFs directly in Chrome. I've set my default PDF viewer to Firefox but when I open any downloaded PDFs from Finder, they go directly to a new Firefox '''window''' instead of a new '''tab''' (as I'm used to from Chrome). Any way around this? I'd love to have any offline PDFs to be opened in a new '''tab''' by default, but nothing has worked so far.

Все ответы (3)

more options

You can override how external links are opened via the browser.link.open_newwindow.override.external pref. If this pref has the default value -1 then browser.link.open_newwindow is used. The meaning of the value of browser.link.open_newwindow.override.external is the same as of browser.link.open_newwindow

  • 1:current tab; 2:new window; 3:new tab;

You can set this pref to 3 to always open external links in a new tab.

  • browser.link.open_newwindow.override.external = 3

You can open the about:config page via the location/address bar. You can click the button to "Accept the Risk and Continue".

more options

cor-el said

You can override how external links are opened via the browser.link.open_newwindow.override.external pref. If this pref has the default value -1 then browser.link.open_newwindow is used. The meaning of the value of browser.link.open_newwindow.override.external is the same as of browser.link.open_newwindow
  • 1:current tab; 2:new window; 3:new tab;
You can set this pref to 3 to always open external links in a new tab.
  • browser.link.open_newwindow.override.external = 3
You can open the about:config page via the location/address bar. You can click the button to "Accept the Risk and Continue".

Tried this but it didn't work :( When opening a PDF from Finder, it still opens in an entirely new Firefox window. Maybe because the PDF isn't technically an "external link" but is an offline file? I'm not sure...

Firefox is currently set as the default PDF reader app on my Mac, which is the same as how I had previously used Chrome. Is there perhaps something else I'm missing that could replicate this behaviour?

more options

If this is about using Firefox as the default application to handle PDF files then it is probably not possible to open this file in a new tab like is possible if you open a link in an email with Firefox being the default browser.