Skip to content

Instantly share code, notes, and snippets.

@hogashi
Created July 5, 2022 13:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hogashi/ef036b598398d379fbcaa91c451f6c2d to your computer and use it in GitHub Desktop.
Save hogashi/ef036b598398d379fbcaa91c451f6c2d to your computer and use it in GitHub Desktop.
pull request の description を edit 状態にするブックマークレット
javascript: (() => {
document.querySelector('.timeline-comment-header .timeline-comment-actions > .details-overlay summary').click();
setTimeout(() => {
document.querySelector('button[aria-label="Edit comment"]').click();
}, 1500); /* メニューを開いてから Edit ボタン出るまでに通信があるので待つ */
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment