sndwrm / Gmail shortcut disabler

// ==UserScript==
// @name        Gmail shortcut disabler
// @namespace   Anonymous
// @description Disables hardcoded Send[Ctrl+Enter] shortcut for gmail. 
// @version     1
// @match https://mail.google.com/mail/u/0/*
// @require https://code.jquery.com/jquery-2.2.4.min.js
// @run-at document-end
// @license GPL-3.0-or-later
// ==/UserScript==
var enterKey = 13;
unsafeWindow.document.addEventListener('keydown', function (e) {
  e = e || window.event;
  if (e.keyCode == enterKey && e.ctrlKey && !e.shiftKey && !e.altKey) e.stopImmediatePropagation();
}, true);