Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I get when I click on a link it will not open in new tab? I want to open in the same tab where I clicked on that click. I use mozilla browser. Thanks

  • 3 replies
  • 2 have this problem
  • 4 views
  • Last reply by IFDANY

more options

How do I get when I click on a link it will not open in new tab? I want to open in the same tab where I clicked on that click. I use mozilla browser. Thanks !

How do I get when I click on a link it will not open in new tab? I want to open in the same tab where I clicked on that click. I use mozilla browser. Thanks !

Chosen solution

Maybe? Normal web links open in the same tab, but there are two ways that websites commonly direct links to open in a new tab or new window:

  • adding a "target" to the link
  • using a script

You may be able to overcome this normal behavior by changing some settings under the covers.

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

On that last one, you might not want links from other programs (like the Adobe Flash updater) to overwrite a page you were viewing in Firefox, so in that case, you might want to choose 2 or 3 for that one.

Any luck?

Read this answer in context 👍 3

All Replies (3)

more options

Chosen Solution

Maybe? Normal web links open in the same tab, but there are two ways that websites commonly direct links to open in a new tab or new window:

  • adding a "target" to the link
  • using a script

You may be able to overcome this normal behavior by changing some settings under the covers.

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

On that last one, you might not want links from other programs (like the Adobe Flash updater) to overwrite a page you were viewing in Firefox, so in that case, you might want to choose 2 or 3 for that one.

Any luck?

more options

By the way, if you mainly have this problem in Google search results, you can turn off the option to redirect results to a new window/tab on the Search Settings page:

https://www.google.com/preferences#nwc ("Where results open")

more options

Yes. Thanks !