This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Natao arisiva ity resaka mitohy ity. Mametraha fanontaniana azafady raha mila fanampiana.

How to disable double-click for new tab?

  • 4 valiny
  • 1 manana an'ity olana ity
  • 190 views
  • Valiny farany nomen'i cor-el

more options

Since updating Firefox, double-clicking in the title bar creates new tabs instead of scaling the window. How do I disable this double-click-to-create-new-tab feature? I checked the browser.tabs.* configuration options in about:config and there does not appear to be an option for this change.

Since updating Firefox, double-clicking in the title bar creates new tabs instead of scaling the window. How do I disable this double-click-to-create-new-tab feature? I checked the browser.tabs.* configuration options in about:config and there does not appear to be an option for this change.

Vahaolana nofidina

The CSS code for userChrome.css I posted above should disable the feature to open a new tab if you double-click in free space on the Tab bar, so you may want to give that a try.


It is not that difficult to create userChrome.css if you have never used it.

The first step is to open the "Help -> Troubleshooting Information" page and find the button to access the profile folder.

You can find this button under the "Application Basics" section as "Profile Folder -> Open Folder". If you click this button then you open the profile folder in the Windows File Explorer. You need to create a folder with the name chrome in this folder (name is all lowercase). In the chrome folder you need to create a plain text file with the name userChrome.css (name is case sensitive). In this userChrome.css text file you paste the text posted. On Mac you can use the TextEdit utility to create the userChrome.css file as a plain text file.

In Windows saving the file is usually the only time things get more complicated because Windows can silently add a .txt file extension and you end up with a file named userChrome.css.txt. To avoid this you need to make sure to select "All files" in the dialog to save the file in the text editor using "Save File as".

You need to close (Quit/Exit) and restart Firefox when you create or modify the userChrome.css file.

See also:

In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.

  • toolkit.legacyUserProfileCustomizations.stylesheets = true

See:

Hamaky an'ity valiny ity @ sehatra 👍 1

All Replies (4)

more options

hello sam


You can check for problems with the localstore.rdf file.

   http://kb.mozillazine.org/Corrupt_localstore.rdf
more options

You can possibly disable placing the tabs in the title bar via the customize window.


You can also try to add this code to userChrome.css.


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

/* TAB - Pointer Events [74] */
#tabbrowser-arrowscrollbox {pointer-events: none}
toolbarbutton#scrollbutton-up, toolbarbutton#scrollbutton-down {pointer-events:auto}
.tabbrowser-tab, #tabs-newtab-button, .tabs-newtab-button {pointer-events: auto}
.new-tab-popup, .new-tab-popup > * {pointer-events: auto}  /*container tabs - longpress*/

See also:

more options

There does not appear to be an option to control double-clicking behavior in the Customize windows. I noticed something though: this double-click-for-new-tab-behavior only occurs when browser.tabs.drawInTitlebar is False (the default is True). I had set this to False, as I want to have a titlebar, but this unexpectedly causes the tab area to behavior differently, it causes the tab areas respond to double-clicking by creating new tabs.

more options

Vahaolana Nofidina

The CSS code for userChrome.css I posted above should disable the feature to open a new tab if you double-click in free space on the Tab bar, so you may want to give that a try.


It is not that difficult to create userChrome.css if you have never used it.

The first step is to open the "Help -> Troubleshooting Information" page and find the button to access the profile folder.

You can find this button under the "Application Basics" section as "Profile Folder -> Open Folder". If you click this button then you open the profile folder in the Windows File Explorer. You need to create a folder with the name chrome in this folder (name is all lowercase). In the chrome folder you need to create a plain text file with the name userChrome.css (name is case sensitive). In this userChrome.css text file you paste the text posted. On Mac you can use the TextEdit utility to create the userChrome.css file as a plain text file.

In Windows saving the file is usually the only time things get more complicated because Windows can silently add a .txt file extension and you end up with a file named userChrome.css.txt. To avoid this you need to make sure to select "All files" in the dialog to save the file in the text editor using "Save File as".

You need to close (Quit/Exit) and restart Firefox when you create or modify the userChrome.css file.

See also:

In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.

  • toolkit.legacyUserProfileCustomizations.stylesheets = true

See: