A BrowserSetting object that can be used to enable or disable the user's ability to close a tab using double-click.

The underlying value is a boolean.

By default, closeTabsByDoubleClick is false. The setting can be changed by the user in about:config.

Browser compatibility

Update compatibility data on GitHub
ChromeEdgeFirefoxOperaSafariFirefox for Android
closeTabsByDoubleClickChrome No support NoEdge No support NoFirefox Full support 61Opera No support NoSafari No support NoFirefox Android No support No


Full support  
Full support
No support  
No support