freeze-dry icon indicating copy to clipboard operation
freeze-dry copied to clipboard

Snapshots a web page to get it as a static, self-contained HTML document.

Results 21 freeze-dry issues
Sort by recently updated
recently updated
newest added

Hi! Thank you for this awesome library! I'm building a simple website archival API (currently just submits URLs to selected archive sites) and I'd love to add freeze-dry as an...

Hi, Any idea which adjustments we need to make to `package.json` in order to get `` to work? right now it resolves to the unbundled `index.js` > REASON: would be...

How?

snapshot quality

One of the use cases of freeze-dry is to snapshot web pages in order to share them with others. If a page is personalised, e.g. a user snapshots their shopping...

See upstream issue https://github.com/nolanlawson/blob-util/issues/61 (Clean up media type in blobToDataUrl)

At least one bug is caused by using `querySelectorAll` and assuming it only returns HTML elements: ``` const linkElements = Array.from(rootElement.querySelectorAll('a, area')) linkElements .filter(element => element.href.startsWith('javascript:')) ``` The HTML ``...

bug

Like issue #29, but for subdocuments inside frames. As remarked [here](https://github.com/WebMemex/freeze-dry/blob/3f1cc62892202aa1f5f226ba2b385d23a0d9be89/src/capture-dom.js#L68-L72): ``` get blob() { return new Blob([this.string], { type: 'text/html' }) }, get string() { // TODO Add if...

snapshot quality

Scripts can modify stylesheets using the CSSOM functions like [`CSSStylesheet.insertRule()`](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet/insertRule), [used](https://github.com/emotion-js/emotion/issues/1248) by e.g. [emotion.js](https://emotion.sh/). The contents of a `` element appear to not be updated to reflect the new rules,...

snapshot quality

Some inspiration in [these lines](https://github.com/ianb/pagearchive/blob/01f832583380309ec167c77f9af61e6f0af8f6aa/extension/make-static-html.js#L566-L581) of pagearchive.

snapshot quality

For example, we currently happily inline an html 404 page as if it was the desired resource, producing e.g. ``. We could consider alternatives, such as replacing such URLs with...

snapshot quality