Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

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".

Learn More

Emulate Chrome/Edge Open In New Tab Behaviour

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

more options

Hi,

I'm switching from Edge and have a frustrating issue.

In Edge I am very used to having separate behaviour for links with left and middle click.

i.e. from Gmail, if I left click a link it opens in a new tab and switches to the tab, if I middle click a link it opens in a new tab but stays on the current tab

In Firefox both seem to be controlled by the single setting.

I have looked in about:config and tried changing a few flags but cannot seem to find a combination that works how I want it.

Can anyone help?

This is a real dealbreaker for me and I will switch back if there's no solution :(

TIA

Hi, I'm switching from Edge and have a frustrating issue. In Edge I am very used to having separate behaviour for links with left and middle click. i.e. from Gmail, if I left click a link it opens in a new tab and switches to the tab, if I middle click a link it opens in a new tab but stays on the current tab In Firefox both seem to be controlled by the single setting. I have looked in about:config and tried changing a few flags but cannot seem to find a combination that works how I want it. Can anyone help? This is a real dealbreaker for me and I will switch back if there's no solution :( TIA

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

more options

In Firefox you can middle-click a link to force opening this link in a new tab. You can hold down the Shift key in addition to toggle the open in background setting (switch to it immediately) as set in "Settings -> General -> Tabs". With a left-click you need to hold the Ctrl key and possibly the Shift key.

Hữu ích?

more options

cor-el said

In Firefox you can middle-click a link to force opening this link in a new tab. You can hold down the Shift key in addition to toggle the open in background setting (switch to it immediately) as set in "Settings -> General -> Tabs". With a left-click you need to hold the Ctrl key and possibly the Shift key.

In Edge/Chrome this works without any modifiers

Left click - open and switch Middle click - open in background

I don't want to have to reach for my keyboard all the time!

Hữu ích?

more options

Play with this setting. see screenshot Left click - open in background Middle click - open in background

I found this. https://www.reddit.com/r/firefox/comments/xbpzau/when_i_open_a_new_tab_it_switches_to_the_tab/

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

Hữu ích?

more options

jonzn4SUSE said

Play with this setting. see screenshot Left click - open in background Middle click - open in background I found this. https://www.reddit.com/r/firefox/comments/xbpzau/when_i_open_a_new_tab_it_switches_to_the_tab/

I already have that enabled - this works great for JavaScript links such as used on Twitter

However, it does not solve the issue I posted about - I only want middle click to open in background, I want left click to not open in background. Firefox seems to only have a single setting which controls both left and middle

Hữu ích?

more options

You want this right? Left click - open and switch Middle click - open in background

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

Hữu ích?

more options

With this browser.tabs.loadDivertedInBackground set to false. I get left click opens new tab and it switches to the new tab.

Hữu ích?

more options

jonzn4SUSE said

With this browser.tabs.loadDivertedInBackground set to false. I get left click opens new tab and it switches to the new tab.

Ah, ok, yes, this does provide the required functionality for normal links.

However, this now makes middle click on JavaScript links focus the new tab

For example, middle clicking on a Tweet or a Trending entry on Twitter (both handled by JS) now switch to the new tab - I had specifically enabled loadDivertedInBackground to force those into background.

I now need to CTRL+Click to get them to open in background.

I'm hoping there's an option combination which covers all situations - I really don't want to have to reach for my keyboard all the time

Hữu ích?

more options

.....

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

Hữu ích?

more options

On Firefox twitter page, if i middle click a link I do see that it opens and switches to the tab, but on this forum page for example, if I middle click on one of the "See also" post on the right, it opens a new tab, but in the background.

Hữu ích?

more options

doowruc said

I'm hoping there's an option combination which covers all situations - I really don't want to have to reach for my keyboard all the time

All sites are not designed the same. You will have to make a choice. Good Luck.

Hữu ích?

more options

Yep, Twitter makes a whole Tweet a clickable link via JavaScript,

see the highlighted parts in the first screenshot

The Trending section is the same.

If you hover over them there is no link shown in the bottom left tooltip -

These are affected by the loadDivertedInBackground setting - if its on they load in background, off they load in foreground.

My use case is that I scroll through multiple sources - Email (normal links), Feedly (normal links), Twitter (JavaSctript/"diverted" links) - and will either left click if I want to look at something immediately, or middle click if I want to "collect" it to read later, opening in a background tab

Edge/Chrome behavior is to treat left and middle clicks entirely separately - left open now, middle open in background

Firefox seems to treat them the same and there is no way to have split behavior, the only solution being right click and/or key+click

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

Hữu ích?

more options

jonzn4SUSE said

doowruc said

I'm hoping there's an option combination which covers all situations - I really don't want to have to reach for my keyboard all the time

All sites are not designed the same. You will have to make a choice. Good Luck.

And yet it "just works" in Edge & Chrome by treating the left & middle clicks entirely separately

This is entirely down to how mouse clicks are implemented in Firefox

So yeah, my choice is to not use Firefox!

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

Hữu ích?

Đặt một câu hỏi

Bạn phải đăng nhập vào tài khoản của bạn để trả lời bài viết. Vui lòng bắt đầu một câu hỏi mới, nếu bạn chưa có tài khoản.