Skip to content

Instantly share code, notes, and snippets.



Last active Nov 11, 2016
What would you like to do?
A bookmarklet to convert youtube video links into links that can be opened with Helium on macOS (
[].slice.apply(document.querySelectorAll('.yt-lockup-title a.spf-link')).forEach(l => {const h = l.getAttribute('href'); l.setAttribute('href', `helium://${h}`)})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment