Skip to content

Instantly share code, notes, and snippets.

@riddle
Created June 5, 2009 22:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save riddle/124554 to your computer and use it in GitHub Desktop.
Save riddle/124554 to your computer and use it in GitHub Desktop.
Get YouTube Video bookmarklet
javascript:if(document.location.href.match(/http:\/\/[a-zA-Z\.]*youtube\.com\/watch/)){document.location.href='http://www.youtube.com/get_video?fmt='+(isHDAvailable?'22':'18')+'&video_id='+swfArgs['video_id']+'&t='+swfArgs['t']}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment