Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

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

openng links

  • 2 பதிலளிப்புகள்
  • 0 இந்த பிரச்னைகள் உள்ளது
  • 36 views
  • Last reply by jscher2000 - Support Volunteer

When I click on a link, it opens in a new tab. I do not want the link to open in a new tab but to open in the current tab, how can I change to this please? Thanks, Andrew.

When I click on a link, it opens in a new tab. I do not want the link to open in a new tab but to open in the current tab, how can I change to this please? Thanks, Andrew.

All Replies (2)

go to settings>general and see "tabs" settings...

Helpful?

Hi Andrew, is it a regular tab or a pinned tab? Pinned tabs have a special behavior to stay on the site you pinned and not change to other sites in that tab. If you click a link to another site, it will always need to open in a new tab. (Ref. Pinned Tabs - keep favorite websites open and just a click away)

For regular tabs:

There are two ways that a page can set up links to open in a separate window or tab:

(A) Add a target="_blank" attribute to a regular link (B) Override standard links behavior using the window.open() script function

I have a demo/test page with examples here: https://www.jeffersonscher.com/res/popit.html

If this is only a problem on a specific site, there might be a site setting to resolve it (like on search engine results pages), or there might be an add-on to modify the links in the page just for your selected site(s).

If you need a universal approach for all sites:

Global Targeted Link Settings

Firefox has an obscure method to force targeted links to stay in the same tab, which then requires you to manually direct links to new windows/tabs when needed. That would involve either right-click context menu options or Ctrl+click (new tab), Middle-click (new tab), or Shift+click (new window). Here's how:

(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 should list at least 4 preferences (please ignore the bar at the bottom with Boolean Number String)

(3) Double-click the browser.link.open_newwindow preference to display an editing field, and change the value to 1 then press Enter or click the blue check mark button to save the change. These are the valid values for this this preference:

  • 3 = divert new window to new tab instead
  • 2 = allow new window
  • 1 = force into current tab

(4) 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. These are the valid values for this this preference:

  • -1 = follow browser.link.open_newwindow (with 1 this replaces the active tab)
  • 3 = new tab in the active window
  • 2 = new window
  • 1 = replace active tab in the active window

What do you think?

Helpful?

கேள்வி எழுப்பு

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.