I am developing a chrome extension to extract a highlighted text from a PDF.
I there any way to accomplish this task using javascript? I am able to select text from HTML pages, however, I am not able to do the same from PDF files opened in the browser.