Disable CTRL+Enter shortcut

Discussion of general topics about Mozilla Thunderbird
Posts: 144
Joined: September 1st, 2005, 7:22 pm

Post Posted April 21st, 2017, 9:47 pm

What is the easiest way to disable CTRL+Enter from sending mail. Is it possible to do it without installing an extension? I found an old post about it from 8 years ago but I am wondering if there is a better way than the extension mentioned in the thread, which is locked now. viewtopic.php?f=28&t=1209615


User avatar
Posts: 485
Joined: April 15th, 2017, 10:25 am
Location: Never-Never-Land

Post Posted April 22nd, 2017, 2:55 am

Hi post2forum !
Unfortunately I can't think of another way to disable shortcuts than to use an extension.
Would you give one of these a try :
(This is not 'the old' keyconfig)
And also :
Sure hope this will work for you !

Posts: 144
Joined: September 1st, 2005, 7:22 pm

Post Posted April 22nd, 2017, 9:09 pm

Thanks but Menu Wizard doesn't work to disable the shortcut. There is an entry for CTRL + Return but disabling it does nothing, and restarting doesn't help. Dorando Keyconfig isn't compatible with my Thunderbird 54 and also it's experimental. Isn't there some javascript or something I could add to thunderbird to stop that keyboard shortcut?

Posts: 2823
Joined: February 3rd, 2009, 6:29 pm

Post Posted April 23rd, 2017, 7:51 am

I can disable the key element with the original keyconfig extension.


I can disable the key element with the userChromeJS extension.

Code: Select all
/* Thunderbird userChrome.js */

(function() {

if (location == "chrome://messenger/content/messenger.xul") {}
if (location == "chrome://messenger/content/messageWindow.xul") {}
if (location == "chrome://messenger/content/messengercompose/messengercompose.xul") {

  var menuitem = document.getElementById("menu-item-send-now");
  var key = document.getElementById("key_send");
  if (menuitem && menuitem.hasAttribute("key")) {
  if (menuitem && menuitem.hasAttribute("acceltext")) {
  if (key && key.hasAttribute("oncommand")) {




1. install userChromeJS extension
2. close email client
3. create or edit the userChrome.js file in the chrome folder in the profile folder
4. open email client with the -purgecaches command line option


thunderbird.exe -purgecaches
ThunderbirdPortable.exe -purgecaches

You have to purge the caches only after creating or editing the userChrome.js file.

Reference: ... ompose.xul

userChromeJS 2.0 (signed)
Thunderbird 52.0
Windows 7 SP1 32-bit

Return to Thunderbird General

Who is online

Users browsing this forum: Google [Bot] and 1 guest