Skip to content

Linux: set browser.tabs.searchclipboardfor.middleclick to false

similar to #10089 (closed)

FF115+ 1418462 Middle clicking on new tab should search or open what's in the selection clipboard on linux

/* 2612: disable middle click on new tab button opening URLs or searches using clipboard [FF115+] [LINUX]
 * When true, middle clicks on the new tab button will open the xclipboard contents in a new tab. If the
 * xclipboard content is an URL, that URL is opened, and any other text is opened with your default search provider. */
user_pref("browser.tabs.searchclipboardfor.middleclick", false); // [DEFAULT: true Linux]

Someone said can you accidentally click a new tab button ...

The new tab button is specifically designed to be CLICKED .. it's a click magnet ... with multiple results - e.g. right click = containers menu, left click = newtab, and now middle-click (on linux). So it's VERY likely to be magnitudes of order greater as an accidental wrong click-type vs say, some page content. So to answer your question ... YES :)

Do we wish to do anything about this. Note, keyword.enabled = true, so this will leak to search engines. And URLs will go to URLs.

Edited by Thorin
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information