Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Stop new tabs from being focused

  • 1 个回答
  • 0 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

On some websites (namely, twitter), middle clicking a post opens it in a new tab. However, whenever this happens, the new tab is always focused, is there a way to prevent this from happening?

This does not occur on websites such as Youtube.com, where middle clicking a video opens it in a new tab, but does not focus it. This is the preferred result.

Likewise, when middle clicking a bookmark, the newly created tab is also immediately focused. Is this preventable aswell?

Thank you for your time.

On some websites (namely, twitter), middle clicking a post opens it in a new tab. However, whenever this happens, the new tab is always focused, is there a way to prevent this from happening? This does not occur on websites such as Youtube.com, where middle clicking a video opens it in a new tab, but does not focus it. This is the preferred result. Likewise, when middle clicking a bookmark, the newly created tab is also immediately focused. Is this preventable aswell? Thank you for your time.

被采纳的解决方案

These prefs on the about:config page control whether links are opened with a left-click in the background or get focus.

  • browser.tabs.loadInBackground (normal links)
  • browser.tabs.loadDivertedInBackground (javascript and external links)
  • browser.tabs.loadBookmarksInBackground (bookmarks)
  • browser.search.context.loadInBackground (context menu: Search)

You can toggle the default action for opening a link in the background by holding down the Shift key when you use Ctrl plus left-click or middle-click a link.

You can open the about:config page via the location/address bar. On the warning page, you can click "Accept the Risk and Continue"to open about:config.

定位到答案原位置 👍 2

所有回复 (1)

more options

选择的解决方案

These prefs on the about:config page control whether links are opened with a left-click in the background or get focus.

  • browser.tabs.loadInBackground (normal links)
  • browser.tabs.loadDivertedInBackground (javascript and external links)
  • browser.tabs.loadBookmarksInBackground (bookmarks)
  • browser.search.context.loadInBackground (context menu: Search)

You can toggle the default action for opening a link in the background by holding down the Shift key when you use Ctrl plus left-click or middle-click a link.

You can open the about:config page via the location/address bar. On the warning page, you can click "Accept the Risk and Continue"to open about:config.