So I\'m working on a bookmarklet where it would be ideal for me to grab the content selected by the user using the \"loop\". Both window.getSelection and document.getSelection a
I think you would have to have the bookmarklet insert some content into the page that would operate on the selection. You might add a button to the top or bottom of the page, and when clicked it would act on the current selection. It could then clean up the added content or leave it there.