Skip to content

Instantly share code, notes, and snippets.

@geekdada
Last active July 6, 2024 13:50
Show Gist options
  • Save geekdada/2d757233a220bfdb0b118187e201a0d5 to your computer and use it in GitHub Desktop.
Save geekdada/2d757233a220bfdb0b118187e201a0d5 to your computer and use it in GitHub Desktop.
GoodLinks Script
(function() {
const scheme = 'goodlinks://x-callback-url/save'
const search = new URLSearchParams()
search.append('url', document.URL)
window.open(`${scheme}?${search.toString()}`)
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment