Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

[macOS,osx] Opening links from other application in "blank tab"

  • 4 відповіді
  • 1 має цю проблему
  • 38 переглядів
  • Остання відповідь від Wojtek

more options

Case:

  • have a window with single "blank tab"
  • open link from external application.

Expected result:

  • link is opened in this blank tab

Actual result:

  • link is opened in new tab.

I completely understand that links by default should be opened in new tab, but in case of having only blank tab this creates second tab and I have to close this blank tab (to the left). It's also not possible to have window without any tabs (at least on mac with multiple windows already open)

Similar thing happens with Container addon - in case of having blank tab as current tab (without history) it should make it a container (with selected profile) instead of opening new tab.

(also - please don't post silly replays with "updated your flash and other junk - those are not helpful)

Case: * have a window with single "blank tab" * open link from external application. Expected result: * link is opened in this blank tab Actual result: * link is opened in new tab. I completely understand that links by default should be opened in new tab, but in case of having only blank tab this creates second tab and I have to close this blank tab (to the left). It's also not possible to have window without any tabs (at least on mac with multiple windows already open) Similar thing happens with Container addon - in case of having blank tab as current tab (without history) it should make it a container (with selected profile) instead of opening new tab. (also - please don't post silly replays with "updated your flash and other junk - those are not helpful)

Усі відповіді (4)

more options

The behavior of opening a link from an external application is controlled via this pref on the about:config page. To open an external link you need to set this pref to '1'. The default is '-1' and this means the same action as browser.link.open_newwindow.

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

See this article from the values of this pref. See:

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

more options

Hmm, this is not exactly what I asked for. I would like '1' *but* on condition that this is 'blank' page. Setting it to '1' will always replace current tab, whether I have some page there or not.

more options

Modifying this pref is the only way to get the link opening in the current tab and not in a new tab or new window. There is no way to make this only work in a blank tab. You can consider to always use a new window or new tab for external links if you do not want lose the current tab. You can always drag a tab from one window to the tab bar (plus button) in another window.

more options

Relevant issue in bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=320989 (It's only 13y old)