Created
October 26, 2020 15:31
-
-
Save severnt/e3d1430bc25423c7119909e0feaa735a to your computer and use it in GitHub Desktop.
Bookmarklet to jump to PR
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ m=document.location.href.match(/^https:\/\/github\.com\/[^/]+\/[^/]+/);if (!m) { window.alert('Not github window!') } else { pr=window.prompt('PR number?'); if(pr){document.location.href = m[0]+'/pull/'+pr;}}; })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment