Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

how to complete block new tabs from opening?

more options

I want to be in one tab in firefox and block all new tabs from opening how do I do this?

When I visit a website it keeps opening new tabs everything I click. I want things to open only in that one tab.

I want to be in one tab in firefox and block all new tabs from opening how do I do this? When I visit a website it keeps opening new tabs everything I click. I want things to open only in that one tab.

Tất cả các câu trả lời (2)

more options

Type about:preferences#general<enter> in the address bar. Under Tabs, unmark Open new windows in a new tab instead.

more options

If this problem is on a search engine results page, it may be a setting you can modify. For example:

  • If it's another site, please check the settings available from the results page to see whether the site is set to launch results in a new window.

If it's a different site, you're probably at their mercy. They may be using either:

(A) Link target attribute (e.g., target="_blank") (B) window.open script method

To force links targeted toward a new window back into the same tab, you can change a hidden setting:

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

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

(3) There are three similarly named preferences for different scenarios, we're going to focus on the second one, but I mention the others in case you have a question when you see them:

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

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

(B) browser.link.open_newwindow.restriction

0 = apply the setting under (A) to ALL new windows including script windows with features (dialog 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

You might want to choose 2 for this one after testing the first change.

Does that do what you want?