Skip to content

Instantly share code, notes, and snippets.

@tyru tyru/bookmarklet
Created Sep 17, 2017

Embed
What would you like to do?
GoDoc <-> GitHub switcher
javascript:(function(godoc,gh){location.href='https://'+(location.hostname==gh?godoc+'/'+gh+location.pathname:location.pathname)})('godoc.org','github.com')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.