Skip to content

Instantly share code, notes, and snippets.

@fvdm
Created October 20, 2012 23:56
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 fvdm/3925287 to your computer and use it in GitHub Desktop.
Save fvdm/3925287 to your computer and use it in GitHub Desktop.
Safari bookmarklet to open App.net user or post in Netbot app, may work in other browsers too.
javascript:window.location.href.replace(/app\.net\/([\w-]+)(\/post\/([\d]+))?/,function(s,u,s,p){if(p){window.location='netbot:///status/'+p}else{window.location='netbot:///user_profile/'+u}})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment