We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

How can I have two buttons for "new tab" in version 4?

  • 4 个回答
  • 10 人有此问题
  • 2 次查看
  • 最后回复者为 gwilki

more options

In version 3.x, there was a removable button on the toolbar for "new tab" plus a "+" button at the end of the address for the open tab that I could click to create a new tab. In version 4, I can have the removable button, but I can't see how to add the button at the end of the address for the open tab. I can move the single button to the end of the address window, but I can't seem to have two buttons. Can this still be done?

In version 3.x, there was a removable button on the toolbar for "new tab" plus a "+" button at the end of the address for the open tab that I could click to create a new tab. In version 4, I can have the removable button, but I can't see how to add the button at the end of the address for the open tab. I can move the single button to the end of the address window, but I can't seem to have two buttons. Can this still be done?

由gwilki于修改

被采纳的解决方案

You need to drag the New Tab (+) button from the Tab Bar to another toolbar to make the second button to appear.

"Firefox > Options > Toolbar Layout" or "View > Toolbars > Customize"

定位到答案原位置 👍 1

所有回复 (4)

more options

You can do this with code in userChrome.css


Add code to userChrome.css below the @namespace line.

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

#new-tab-button { visibility: visible !important; }
.tabs-newtab-button { visibility: visible !important; }

more options

Thanks. I used ChromeEdit to edit the userChrome.css file. I must have done something wrong, though. In Toolbar, Customize, I now get options for chromedit, profile folder, chrome folder, etc, but I don't get an option to add a button for "new tab". I copied and pasted the text your provided, starting with "new -tab-button" and ending with the } at the end of the second line. What did I do wrong. Thanks for your help.

Grant

more options

选择的解决方案

You need to drag the New Tab (+) button from the Tab Bar to another toolbar to make the second button to appear.

"Firefox > Options > Toolbar Layout" or "View > Toolbars > Customize"

more options

Got it! Thank you very much cor-el.

Grant