window.getSelection().toString()
doesn't get selected text in Chrome.
How can I do that?
Asked
Active
Viewed 479 times
0
1 Answers
0
Remember, that should be done within a content script, I explained how its done here: Chrome Extension: how to capture selected text and send to a web service

Community
- 1
- 1

Mohamed Mansour
- 39,445
- 10
- 116
- 90