Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: PDF Recover – Chrome extension for yanking PDFs out of webpages (github.com/unprovable)
4 points by unprovable 80 days ago | hide | past | favorite | 2 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!)


Well, that could be useful... thanks!




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: