Skip to content

Instantly share code, notes, and snippets.

@lilac
Created December 3, 2013 05:51
Show Gist options
  • Save lilac/7764500 to your computer and use it in GitHub Desktop.
Save lilac/7764500 to your computer and use it in GitHub Desktop.
Invoke an action via the browser bookmark.
javascript:(function(w,d){var t=d.title,u=d.location.href;w.open('http://milnk.com/link/submit?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t.split(' - ')[0]));}(window,document));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment