Created
May 7, 2019 08:19
-
-
Save X140Yu/88faa194b5b34181a4ddb139654ecb6f to your computer and use it in GitHub Desktop.
open current tab(github repo) in sourcegraph
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() { | |
url = 'https://sourcegraph.com/' + location.href.replace(/(^\w+:|^)\/\//, ''); | |
window.open(url, '__blank'); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment