X
Thinta lapha ukuze uye kuveshini yamakhalekhukhwini kusayithi.

Isithangami Sabeseki

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

How to force open links in same tab?

Kuphostiwe

Hello all,

I'm trying to find a way to always open links in the same tab, including external links. I tried the following: browser.link.open_newwindow = 1 browser.link.open_newwindow.override.external = 1 (created) browser.link.open_external = 1 But no success =/ Is there anything else to change?

Thanks!

Hello all, I'm trying to find a way to always open links in the same tab, including external links. I tried the following: browser.link.open_newwindow = 1 browser.link.open_newwindow.override.external = 1 (created) browser.link.open_external = 1 But no success =/ Is there anything else to change? Thanks!

Eminye Imininingwane Yohlelo

Isisebenziso

  • I-ejenti Engumsebenzisi: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31

Eminye Imininingwane

jscher2000
  • Top 10 Contributor
8695 izisombululo 71066 izimpendulo
Kuphostiwe

Impendulo Ewusizo

Whoops, I missed that this question is for Firefox for Android. I don't know whether these settings are applicable to the mobile version.


Are there particular sites that create the problem? Or add-ons?

I think you are very close with your settings, but if you notice scripted windows opening separately, there is one more setting you need to change. Please see the bolded lines in the following list:

In a new tab, type or paste about:config and press Enter. Click the button promising to be careful.

In the filter box, type or paste link.o and pause while the list is filtered.

Double click these and set the value as desired:

(A) browser.link.open_newwindow

3 = divert new window to a new tab (default) (checked*)
2 = allow link to open a new window (unchecked*)
1 = force new window into same tab

* First checkbox in Options > Tabs

(B) browser.link.open_newwindow.restriction - for links in Firefox tabs

0 = apply the setting under (A) to ALL new windows (even script windows)
2 = apply the setting under (A) to normal windows, but NOT to script windows with features (default)
1 = override the setting under (A) and always use new windows

(C) browser.link.open_newwindow.override.external - for links in other programs

-1 = apply the setting under (A) to external links (default)
3 = open external links in a new tab in the last active window
2 = open external links in a new window
1 = open external links in the last active tab replacing the current page

Sorry, that's a lot of data, but since someone may find this in Google, I don't want to leave out the detail.

'''Whoops, I missed that this question is for Firefox for Android. I don't know whether these settings are applicable to the mobile version.''' ---- Are there particular sites that create the problem? Or add-ons? I think you are very close with your settings, but if you notice scripted windows opening separately, there is one more setting you need to change. Please see the bolded lines in the following list: In a new tab, type or paste '''about:config''' and press Enter. Click the button promising to be careful. In the filter box, type or paste '''link.o''' and pause while the list is filtered. Double click these and set the value as desired: '''(A) browser.link.open_newwindow''' 3 = divert new window to a new tab (<u>default</u>) (checked*)<br> 2 = allow link to open a new window (unchecked*)<br> '''1 = force new window into same tab''' '''*''' First checkbox in Options > Tabs '''(B) browser.link.open_newwindow.restriction''' - for links in Firefox tabs '''0 = apply the setting under (A) to ALL new windows (even script windows)'''<br> 2 = apply the setting under (A) to normal windows, but NOT to script windows with features (<u>default</u>)<br> 1 = override the setting under (A) and always use new windows '''(C) browser.link.open_newwindow.override.external''' - for links in other programs -1 = apply the setting under (A) to external links (<u>default</u>)<br> 3 = open external links in a <u>new tab</u> in the last active window<br> 2 = open external links in a <u>new window</u><br> '''1 = open external links in the <u>last active tab</u> replacing the current page''' Sorry, that's a lot of data, but since someone may find this in Google, I don't want to leave out the detail.

Okulungisiwe ngu jscher2000

jscher2000
  • Top 10 Contributor
8695 izisombululo 71066 izimpendulo
Kuphostiwe

Whoops, I missed that this question is for Firefox for Android. I don't know whether these settings are applicable to the mobile version.


There are ways to configure Firefox that may cause external links not to be able to start in an existing window. If the above settings do not work, can you think about whether any of the following might be involved:

  • You started Firefox in a security sandbox or virtual machine separate from the external program launching the link
  • You started Firefox using a particular profile (either through the Profile Manager or on the command line in the shortcut)
  • You started Firefox using a the -no-profile command line parameter to isolate it from other instances of Firefox
'''Whoops, I missed that this question is for Firefox for Android. I don't know whether these settings are applicable to the mobile version.''' ---- There are ways to configure Firefox that may cause external links not to be able to start in an existing window. If the above settings do not work, can you think about whether any of the following might be involved: * You started Firefox in a security sandbox or virtual machine separate from the external program launching the link * You started Firefox using a particular profile (either through the Profile Manager or on the command line in the shortcut) * You started Firefox using a the -no-profile command line parameter to isolate it from other instances of Firefox

Okulungisiwe ngu jscher2000

Umnikazi wombuzo

Hi,

I've already tried with those options and didn't work. I didn't say before (my bad) but this is about Firefox mobile for Android. Also, I didn't started firefox with any of the last options.

Thanks!

Hi, I've already tried with those options and didn't work. I didn't say before (my bad) but this is about Firefox mobile for Android. Also, I didn't started firefox with any of the last options. Thanks!
jscher2000
  • Top 10 Contributor
8695 izisombululo 71066 izimpendulo
Kuphostiwe

In the mobile version, I think browser.link.open_external is the applicable preference. Not sure why it isn't working.

In the mobile version, I think '''browser.link.open_external''' is the applicable preference. Not sure why it isn't working.
kkorotev 0 izisombululo 10 izimpendulo
Kuphostiwe

Jefferson, I vote you Firefox Guru of the Day! Wow...does this instruction help!

Caveats: (of course) Let's say I want to create a certain AMOUNT of tabs...let's say: 3, my last three.

Is this already a function or is there a way to make it so?

(History ?)

Jefferson, I vote you Firefox Guru of the Day! Wow...does this instruction help! Caveats: (of course) Let's say I want to create a certain AMOUNT of tabs...let's say: 3, my last three. Is this already a function or is there a way to make it so? (History ?)
jscher2000
  • Top 10 Contributor
8695 izisombululo 71066 izimpendulo
Kuphostiwe

Hi kkorotev, I don't fully understand your question. You want to start Firefox (for desktop OS's?) with the last 3 tabs that were active in your previous session, but none of the others? There's no built-in feature for that, but you could search for an add-on, maybe the Session Manager extension, and see whether it has anything like that.

Or if I completely missed the point, could you explain in more detail?

Hi kkorotev, I don't fully understand your question. You want to start Firefox (for desktop OS's?) with the last 3 tabs that were active in your previous session, but none of the others? There's no built-in feature for that, but you could search for an add-on, maybe the Session Manager extension, and see whether it has anything like that. Or if I completely missed the point, could you explain in more detail?
kkorotev 0 izisombululo 10 izimpendulo
Kuphostiwe

Impendulo Ewusizo

Nope...you nailed it. I'll try the extension. Thanks, Jefferson!

Nope...you nailed it. I'll try the extension. Thanks, Jefferson!