Om de ûnderfining foar jo te ferbetterjen is tydlik de funksjonaliteit dan dizze website troch ûnderhâldswurk beheind. Wannear in artikel jo probleem net oplost en jo in fraach stelle wolle, kin ús stipemienskip jo helpe yn @FirefoxSupport op Twitter en /r/firefox op Reddit.

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

How to open local pdf files in a new tab instead of a new window in mac os?

  • 2 antwurd
  • 2 hawwe dit probleem
  • 1 werjefte
  • Lêste antwurd fan lbrocki90

more options

I am using Firefox to open and read local PDF files on mac os. My problem is that Firefox opens a new window for every PDF file I open but I would like them to be opened in a new tab instead. I have already tried the following settings in about:config

browser.link.open_newwindow 3 browser.link.open_newwindow.override.external 3 browser.link.open_newwindow.restriction 0

but that does not solve the problem. Interestingly, when I use the terminal to open a PDF with Firefox it does open in a new tab instead of a new window. Anyone has an idea how to fix that?

I am using Firefox to open and read local PDF files on mac os. My problem is that Firefox opens a new window for every PDF file I open but I would like them to be opened in a new tab instead. I have already tried the following settings in about:config browser.link.open_newwindow 3 browser.link.open_newwindow.override.external 3 browser.link.open_newwindow.restriction 0 but that does not solve the problem. Interestingly, when I use the terminal to open a PDF with Firefox it does open in a new tab instead of a new window. Anyone has an idea how to fix that?

Alle antwurden (2)

more options

Did you look at browser.link.open_newwindow.override.external ?

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;
more options

Thank you for your answer. Yes, I have looked at browser.link.open_newwindow.override.external and tried the different numbers but it does not change the behavior.

However, the behavior does change as expected when I open the pdf with Firefox via the terminal, i.e. using the command /Applications/Firefox.app/Contents/MacOS/firefox some.pdf

I therefore suspect that mac os is messing something up..