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
ChromeEdgeFirefoxOperaFirefox for Android
closeTabsByDoubleClickChrome No support NoEdge No support NoFirefox Full support 61Opera No support NoFirefox Android No support No


Full support  
Full support
No support  
No support


Document Tags and Contributors

Contributors to this page: mdnwebdocs-bot, hellosct1, wbamberg, irenesmith
Last updated by: mdnwebdocs-bot,