Skip to content

Instantly share code, notes, and snippets.

Created November 17, 2014 03:23
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save philgruneich/1bf2bbd6ef740c07ba81 to your computer and use it in GitHub Desktop.
Grabs username from or Twitter profile on Safari, prompts on Launch Center Pro for action and triggers the chosen app: [Tweetbot]( or [Riposte](
javascript:window.location='launchpro://?url='+encodeURIComponent('[list:Open '+location.pathname.substring(1)+'|Mention on Tweetbot=tweetbot:///post?text=%40|Open on Tweetbot=tweetbot:///user_profile/|Mention on Riposte=riposte://x-callback-url/createNewPost?text=%40]'+location.pathname.substring(1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment