Greasy Fork is available in English.

GitHub - Confirmations before submitting issues and comments

Creates a confirmation popup whenever attempting to create an issue or post comment via Ctrl+Enter in GitHub

Δημιουργός
darkred
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
16
Βαθμολογίες
0 0 0
Έκδοση
2017.4.26
Δημιουργήθηκε την
13/08/2016
Ενημερώθηκε την
25/06/2020
Άδεια
MIT
Εφαρμόζεται σε

Deprecated: please use the Refined GitHub extension instead (its avoid-accidental-submissions feature, see screen capture )


GitHub by default allows in the issues area for a public repo:

  • submitting a new issue with just 1 character as title and no body, and
  • posting a comment with just 1 character .


This script creates a confirmation popup whenever attempting to submit an issue or post a comment via Ctrl+Enter in GitHub
i.e. it applies in these 3 cases:

  • when attempting to submit a new issue (while having focus in issue title textbox) via Ctrl+Enter or Enter
  • when attempting to submit a new issue (while having focus in issue body textarea) via Ctrl+Enter
  • when attempting to submit a new comment (while having focus in the new comment textarea) via Ctrl+Enter


Thanks to trespassersW for his help here.

Tampermonkey and Violentmonkey are supported - Greasemonkey is not supported.

Hosted at GitHub