Created
October 4, 2014 19:24
-
-
Save thomasjbradley/317241765b002e5ee986 to your computer and use it in GitHub Desktop.
Opens the GitHub Issues page for the current repo in a new tab
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
/** | |
* Opens the GitHub Issues page for the current repo in a new tab | |
*/ | |
javascript:(function () { | |
var url = document.location.href, finalUrl; | |
if (!url.match(/github/)) { return; } | |
finalUrl = url.match(/https\:\/\/github\.com\/[^\/]+\/[^\/]+/)[0]; | |
window.open(finalUrl + '/issues'); | |
}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment