Get selected text from the browswer window