Skip to content

Instantly share code, notes, and snippets.

@thomasjbradley
Created October 4, 2014 19:24
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 thomasjbradley/317241765b002e5ee986 to your computer and use it in GitHub Desktop.
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
/**
* 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