Last active
November 11, 2016 09:18
-
-
Save mmarcon/070ce434af531e5b2686a62ba1387433 to your computer and use it in GitHub Desktop.
A bookmarklet to convert youtube video links into links that can be opened with Helium on macOS (http://heliumfloats.com/)
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
[].slice.apply(document.querySelectorAll('.yt-lockup-title a.spf-link')).forEach(l => {const h = l.getAttribute('href'); l.setAttribute('href', `helium://https://www.youtube.com${h}`)}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment