Skip to content

Instantly share code, notes, and snippets.

@jrk
Created May 24, 2010 04:16
Show Gist options
  • Save jrk/411515 to your computer and use it in GitHub Desktop.
Save jrk/411515 to your computer and use it in GitHub Desktop.
<a href="javascript:var%20http%20=%20new%20XMLHttpRequest();var%20url%20=%20%22https://prowl.weks.net/publicapi/add%22;var%20apikey%20=%20%qqqqqq%22;var%20application%20=%20%22the%20web%22;var%20evt%20=%20%22Browser!%22;var%20description%20=%20encodeURIComponent(document.title.replace(/^\s*|\s*$/g,%27%27))+%20escape(%22\n%22)%20+%20encodeURIComponent(location.href);var%20params%20=%20%22apikey=%22+apikey+%22&application=%22+escape(application)+%22&event=%22+escape(evt)+%22&description=%22+description;http.open(%22POST%22,%20url,%20true);http.setRequestHeader(%22Content-type%22,%20%22application/x-www-form-urlencoded%22);http.send(params);">Prowl!</a>
(Replace "qqqqqq" in the bookmarklet string with your Prowl <a href="https://prowl.weks.net/settings.php">API key</a> before using.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment