Skip to content

Comment on Show HN: PDF Recover – Chrome extension for yanking PDFs out of webpages

Comments

Short and simple Chrome extension that reads the requests in a page looking for '.pdf'in URL or 'pdf' in MIME type, and then reads all the chunks and reassembles the file from the base64 provided by Chrome. Uses `Network.getResponseBody` to get the data - select a tab from the dropdown, go and reload the content (scroll all the way through if it's long), and it should find all the pieces, reassemble, and present them as a download.

Designed for getting a file out when you have to from a page that doesn't have a download button and has a CDN that you have to parse through all the chunks in order to acquire the file from raw requests.

EDIT - uses `chrome.debugger` API, so wont' work in Firefox without totally reworking it (but probably possible!)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.