diff options
Diffstat (limited to 'godoc-links.user.js')
-rw-r--r-- | godoc-links.user.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/godoc-links.user.js b/godoc-links.user.js index 0543fc4..8f92fc5 100644 --- a/godoc-links.user.js +++ b/godoc-links.user.js @@ -1,3 +1,12 @@ +// ==UserScript== +// @name GoDoc Links +// @description Add GoDoc documentation links to relevant pages +// @namespace com.teddywing +// @match https://godoc.org/* +// @match https://pkg.go.dev/* +// @match https://github.com/* +// ==/UserScript== + function init () { switch (window.location.hostname) { case 'godoc.org': |