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

搜索 | 用户支持

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

详细了解

How can I remove the "x" from each tab and make it so a single "right-click" will close the tab instead?

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

more options

The one feature I use to love about CoolNovo was the ability to Right click a tab to close it, and hide the X button from each tab. I couldn't find any add-ons that did this. I do know how to customize my userChrome.css file, what could I put inside to make these things a feature?

The one feature I use to love about CoolNovo was the ability to Right click a tab to close it, and hide the X button from each tab. I couldn't find any add-ons that did this. I do know how to customize my userChrome.css file, what could I put inside to make these things a feature?

所有回复 (4)

more options

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


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

.tab-close-button { display:none!important; }

The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

由cor-el于修改

more options

cor-el said

Add code to the userChrome.css file below the default @namespace line.
@namespace url("https://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

.tab-close-button { display:none!important; }

The customization files userChrome.css (user interface) and userContent.css (websites) are located in the chrome folder in the Firefox profile folder.

Okay Great! you answered my X question; Do u have a way for me to allow Right Clicks to close tabs? I found an addon that enables Double Left Click, but im looking for a single right click

more options

Close Tab by Double Click {web link} Allows you to close tabs by double-clicking using the right mouse button.

Rights To Close {web link} Right double-click anywhere on web page to close current tab.

more options

You normally click the mouse wheel to close a tab and leave the right mouse button for the context menu.