is a JavaScript bookmarklet that will submit the browser's current selection, and the document's title, to the pasta service.

drag this link to your bookmarks tab — Safari users, if you try to use the bookmarklet in the page itself it will fail.

 function pasta () {

  var txt; 

  if      (window.getSelection) txt = window.getSelection();
  else if (document.selection)  txt = document.selection.createRange().text;

  if (txt) location.href=''+document.title+'&content='+txt;
  else     alert('no selection');

[ questions; bug reports; clue-bats ]