I would like to get selection from PDF files.
I'm firing window.getSelection(). It's always empty in Chrome's default PDF handler. But with pdf.js extension, it works well from developer console.
My extension has access to file urls. (I added permission for file://*/*, <all_urls>) But still I can't retrieve text from pdf with my extension. My extension uses this method to get selection from page. (I use that method with updated API rules)