Is it possible to get the highlighted text in a paragraph of a website e.g. by using jQuery?
Use window.getSelection().toString().
window.getSelection().toString()
You can read more on developer.mozilla.org