Şu anda bakım nedeniyle sitemiz kısıtlı işlevsellik sunmaktadır. Mevcut makaleler sorununuzu çözmediyse ve bize soru sormak isterseniz Twitter’da @FirefoxSupport hesabından ve Reddit’teki /r/firefox subreddit'inden destek gönüllülerimize ulaşabilirsiniz.

Mozilla Destek’te Ara

Destek dolandırıcılığından kaçının. Mozilla sizden asla bir telefon numarasını aramanızı, mesaj göndermenizi veya kişisel bilgilerinizi paylaşmanızı istemez. Şüpheli durumları “Kötüye kullanım bildir” seçeneğini kullanarak bildirebilirsiniz.

Daha Fazlasını Öğren

Using the --new-tab and --search CLI options together doesn't work properly

more options

When I use the `--search` CLI option, Firefox searches the supplied term in a new window.

I want it to open itself in a new tab instead, so I tried out the following combination of CLI options:

``` $ firefox --new-tab --search "example" ```

Firefox does search for the given term, but it opens itself in a new window instead of a new tab, thus ignoring the `--new-tab` option.

Am I doing something wrong?

When I use the `--search` CLI option, Firefox searches the supplied term in a new window. I want it to open itself in a new tab instead, so I tried out the following combination of CLI options: ``` $ firefox --new-tab --search "example" ``` Firefox does search for the given term, but it opens itself in a new window instead of a new tab, thus ignoring the `--new-tab` option. Am I doing something wrong?

Tüm Yanıtlar (3)

more options

What is your default setting for opening external links? Normally, it follows your internal link setting, but here's how to check:

(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 neww and pause while the list is filtered

Firefox will list several preferences.

  • browser.link.open_newwindow => covers your typical link in a page in Firefox that is targeted to open in a new window, and "3" indicates to open it in a new tab instead
  • browser.link.open_newwindow.override.external => covers links launched outside of Firefox, and "-1" indicates to follow the above setting for internal links

(3) To ensure that external links are directed to a new tab instead of a new window: double-click the browser.link.open_newwindow.override.external preference to display an editing field, and change the value to 3 then press Enter or click the blue check mark button to save the change.

İşe yaradı mı?

more options

Thanks for the quick reply!

I've tried out your suggestion, but it sadly didn't fix my issue. The command still opens a new window instead of a new tab, also tried omitting the `--new-tab` option, but it still does the same.

İşe yaradı mı?

more options

Hmm, I don't know why --search and --preferences open in a new window instead of following the default behavior for external links. The command-line interface isn't especially easy to research in the source code repository (https://searchfox.org/mozilla-release/source/), especially with common terms like those.

İşe yaradı mı?

Soru sorun

Mesajlara yanıt verebilmek için hesabınıza giriş yapmalısınız. Henüz hesabınız yoksa lütfen yeni bir soru sorun.