Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

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 can I stop a new tab from opening? RESOLVED (There is no actual solution)

  • 10 trả lời
  • 8 gặp vấn đề này
  • 26 lượt xem
  • Trả lời mới nhất được viết bởi Lee

more options

I am using Tab Mix Plus and have it set to open links in a new tab. However, there are a few times I don't want that to happen, e.g., online banking. Short of changing the setting in Tab Mix Plus and then changing it back, is there a method (shortcut?) for making the link open in the current tab?

I am using Tab Mix Plus and have it set to open links in a new tab. However, there are a few times I don't want that to happen, e.g., online banking. Short of changing the setting in Tab Mix Plus and then changing it back, is there a method (shortcut?) for making the link open in the current tab?

Được chỉnh sửa bởi Lee vào

Giải pháp được chọn

Like I wrote above, if you use an extension to open all links by default in a new tab then you can't override this unless TMP has this also as a feature. You would have to disable this feature in TMP and use the normal methods to open links in a new tab (middle-click or hold CTRL and left-click).

Đọc câu trả lời này trong ngữ cảnh 👍 1

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

more options

Right-click and select Open In New Window.

more options

Are you overriding how links open if you left-click and divert all these links to a new tab?

Note that you can easisly open a link in a new tab with a middle-click with the mouse scroll wheel. Additionally holding shift toggles opening in the background. If you use an extension then it is a lot more difficult to change how a link opens.

Se also:

For links opened via JavaScript you can look at this pref:

more options

Thanks for all the help but I am trying to find out how to open a new link in the same tab.

Được chỉnh sửa bởi Lee vào

more options

LeeU said

Thanks for all the help but I am trying to find out how to open a new link in the same tab.

You may have overlooked it, but cor-el mentioned this pref setting :

Type in the address bar : about:config (press Enter) (promise to be careful, if asked) Type and look for the preference : browser.link.open_newwindow and set its value to   1 (one)

(which means : current tab)

more options

All that does is open the link in a new tab.

more options

How about changing this pref in about:config  :

browser.link.open_newwindow.restriction

and set its value to 0 (zero)



But : When you click on a link and don't hold Ctrl, the link will open in the same tab .........

Also see : https://www.ghacks.net/2009/07/03/force-firefox-to-open-links-in-same-tab/

more options

Mine is already like that, for both of them. Remember, I have told Tab Mix Plus to open all links in a new tab. What I am trying to find is a way to bypass that command, e.g., In a regular session, when you hold down CTRL the link opens in a new tab. I am looking for is something like that to open the link in the same tab.

more options

LeeU said

when you hold down CTRL the link opens in a new tab. I am looking for is something like that to open the link in the same tab.

I said : " When you click on a link and don't hold Ctrl, the link will open in the same tab ......... "

more options

Giải pháp được chọn

Like I wrote above, if you use an extension to open all links by default in a new tab then you can't override this unless TMP has this also as a feature. You would have to disable this feature in TMP and use the normal methods to open links in a new tab (middle-click or hold CTRL and left-click).

more options

@cor-el: That's all I really wanted to know. I appreciate it. (And I guess I missed it above, my fault.)