About
This user script disables the default behavior of the enter key submitting a comment. With this script installed, you must explicitly click the Add Comment button to submit your comment.
Source
If you have Firefox+GreaseMonkey, Opera, or Google Chrome, try this GreaseMonkey script that will disable enter in comments.
// ==UserScript==
// @name Disable Enter key on comments on Stack Exchange.
// @namespace http://networkpx.googlecode.com
// @description Disable Enter key on comments on Stack Exchange.
// @include http://*.stackexchange.com/*
// @include http://stackoverflow.com/*
// @include https://meta.stackoverflow.com/*
// @include http://serverfault.com/*
// @include http://meta.serverfault.com/*
// @include http://superuser.com/*
// @include http://meta.superuser.com/*
// @include http://askubuntu.com/*
// @include http://meta.askubuntu.com/*
// ==/UserScript==
var s = document.createElement("script");
s.innerHTML = '$(document).delegate(".comments-link, .comment-edit", "click", function(e) { \
var events = $(this).closest("td").find("textarea[name=comment]").data("events"); \
var makeShift = { handler: function(e) { e.shiftKey = true; } }; \
events.keyup.splice(0, 0, makeShift); \
events.keypress.splice(0, 0, makeShift); \
});';
document.body.appendChild(s);
Installation
Click here to download this script.
See the script info page for step-by-step install instructions