On Wed, 11/4/2026 11:06 PM, T wrote:
> Hi All,
>
> I getting a constant call from a customer whose employee will
> not stop double clicking on eMail and opening millions of
> tabs which she refused to close.
>
> I have given up show them how. Even made the a movie of how to.
>
> So, here is my "I don't give a damn and will continue doing
> what I want and call you to fit it" solution:
>
>
>
> Disable opening on double-click:
>
> --> Settings.
> --> Config Editor (at the bottom of General)
>
> Search for: mail.openMessageBehavior
> Change its value to 3.
> Default is 2
>
>
> -T
Updated Dec 15, 2021 (Ghacks)
Thunderbird
The email client Thunderbird opens emails that you select,
for instance by double-clicking on them, in a new tab in the client's interface.
It is possible to switch to opening emails in message windows instead,
and you have the choice between using a single window for messages
or multiple windows instead.
The mail.openMessageBehaviour options:
0 = Open emails in new message windows
1 = Open emails in a single window and replace the previous email in the process
2 = Open emails in tabs (default)
An attempt to select a value outside the range,
may be interpreted as a selection of the (default) choice.
*******
Either there is a new definition for this, or the documentation
is not up-to-date.
Strangely, when I used the CoPilot chat to ask the question,
it did no better than a Google search.
const MC.OpenMessageBehavior = { <=== maybe removed already or re-written
NEW_WINDOW: 0,
EXISTING_WINDOW: 1,
NEW_TAB: 2,
};
Pulling source and unpacking.
all-thunderbird.js
// If a message is opened using Enter or a double click, what should we do?
// 0 - open it in a new window
// 1 - open it in an existing window
// 2 - open it in a new tab
pref("mail.openMessageBehavior", 2);
// If messages or folders are opened using the context menu or a middle click,
// we open them in the background.
pref("mail.tabs.loadInBackground", false);
And the MailConsts.sys.mjs file has a more verbose flowery
listing with the same info basically. It is a file used to
store Javascript preferences. I have removed the comments.
export const MailConsts = {
OpenMessageBehavior: {
NEW_WINDOW: 0,
EXISTING_WINDOW: 1,
NEW_TAB: 2,
},
};
I'm not even sure that preference is being parsed properly,
but I guess someone will test this for us.
In any case, there is no "3" in there. Doing that, relies
on some behavior, a behavior I haven't seen handled in source.
I don't know if there is a sanitizing code in there somewhere
for this, or not.
Paul