Skip to content

Instantly share code, notes, and snippets.

@philgruneich
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 App.net or Twitter profile on Safari, prompts on Launch Center Pro for action and triggers the chosen app: [Tweetbot](https://itunes.apple.com/us/app/tweetbot-3-for-twitter.-elegant/id722294701?mt=8&uo=4&at=10l4KL) or [Riposte](https://itunes.apple.com/us/app/riposte-for-app.net/id592316697?mt=8&uo=4&at=10l4KL).
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