Skip to content

Instantly share code, notes, and snippets.

@gfontenot
Created June 13, 2011 14:51
Show Gist options
  • Save gfontenot/1022906 to your computer and use it in GitHub Desktop.
Save gfontenot/1022906 to your computer and use it in GitHub Desktop.
Twitter.app (Mac) bookmarklet
// Save this line of javascript as a bookmarklet. Will strip out utm_* nonsense
javascript:window.location='twitter://post?message='+encodeURIComponent(document.title+':%20'+window.location.href.replace(/\?utm_.*/i, ''))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment