Access DOM embedded PDF in Chrome

Viewed 423

Is it possible to access the DOM of a embedded PDF file opened in Chrome? If you simply open the DevTools in Chrome, only the EMBED tag is visible:

enter image description here

But there is a mouse over PDF file opened in Chrome and right-click => code view, then a completely different page code opens: enter image description here

Can I get access to it?

Thank you in advance!

1 Answers

Yeah so it looks like you've got multiple documents on a page. Its similar to iFrames in web design. I'm not sure 100% because I cant look through the link.

But I'd highly recommend downloading the PDF as a file, then using ADOBE Pro's library to scrape or w/e with the PDF functions. You eliminate the whole aspect of timing, page loads, and page changes, when you get a direct link to a pdf, and then manipulate the data on the user or cloud PC.

Related