The issue has been closed

Nice GitHub lost my comment when I tried to edit it. In short itās meant to just make you focus rather than completely prevent it. That feature can be written as a userscript in 4 lines of code, but Iād rather not do that here because it would be as annoying as dropping the āBackspace to go backā in Chrome IMHO
posted by fregante over 3 years ago
Nice GitHub lost my comment
Here it is if you need it:
The feature was changed to show the message in order to make you focus while typing, rather than annoyingly change field or completely block the key. If you want a global block of the enter key, it can be written separately with a few lines (but not as part of Refined GitHub), probably:
document.addEventListener(event => {
if (event.target.closest('input') && !$('.suggester')
event.preventDefault()
}
})
E-mails-for-comments only fire exactly once, immediately š
because it would be as annoying as dropping the āBackspace to go backā in Chrome IMHO
I was wondering: can't scripts have options? If so, this looks like a prime candidate (it's just a boolean)
posted by stdedos over 3 years ago
posted by fregante over 3 years ago 
I think the feature accomplishes its purpose the way it is now
posted by fregante over 3 years ago