Skip to content

Releases

LeoSnap agent v0.1.0

Choose a tag to compare

@LeoHChen LeoHChen released this 04 Dec 07:01
agent-v0.1.0
ecf5100

LeoSnap’s first agent release adds a full-page screenshot skill for Codex, Claude Code, and other compatible agents. It uses the browser tools available in your session to save the entire page and can preserve selectable PDF text when those tools support browser printing. The bundled JPEG-to-PDF converter runs locally with Node.js 18 or newer.

  • leosnap-agent-v0.1.0.zip contains the plugin, its manifests, and the skill.
  • leosnap-skill-v0.1.0.zip contains the standalone skill folder and its scripts.

See the agent installation guide for the Skills CLI and GitHub marketplace commands. LeoSnap is free and completely open source under the MIT license. Feature requests are welcome.

The Chrome extension is available separately from the Chrome Web Store.

LeoSnap v0.6.1 — Overlapping-text fix, MIT licence

Choose a tag to compare

@LeoHChen LeoHChen released this 01 Dec 16:55
45f2c96

LeoSnap v0.6.1

Fix: page blocks printed over the article

On some sites the text PDF could show another part of the page, such as a “popular articles” list, printed on top of the end of the article. This happened when LeoSnap zoomed the layout to fill the sheet and the site moved a block without making room for it, usually because its scripts had chosen a layout for the original window.

LeoSnap now checks the zoomed layout before printing. If text is drawn over other text that did not overlap in your window, it tries a desktop width of 1,024 px, and otherwise prints the page exactly as laid out in your window. It also waits for the page to settle after changing the width, and keeps floating elements where they sit on screen instead of letting them jump to the edge of their container.

Open source, and your ideas are welcome

LeoSnap is free and completely open source, and the code now carries the MIT licence, so anyone may reuse and adapt it. The settings page and the preview now link to the code and to the place to request a feature or report a problem: https://github.com/LeoHChen/LeoSnap/issues

Install or update

Download and unzip leosnap-v0.6.1.zip. At chrome://extensions, enable Developer mode and load the extracted folder containing manifest.json. To update an unpacked installation, replace its files with the new ZIP contents and click Reload. No new permissions are requested.

Verification

34 Node tests pass. The Chrome integration test has a new fixture that reproduces the overlap, a script that reacts late to a resize, and a floating element inside a positioned container. The site on which the problem was reported shows a verification challenge to automated browsers, so the fix was checked on the fixture and not on that site: please capture that page again and report back if it still looks wrong.

LeoSnap v0.6 — New name and icon, blank-page fix

Choose a tag to compare

@LeoHChen LeoHChen released this 01 Dec 08:22
3e00782

LeoSnap v0.6

Full Page Capture is now LeoSnap, with a new icon and a fix for PDFs that end at selected text.

New name and icon

The extension is named LeoSnap; in Chrome it appears as “LeoSnap: Full Page Screenshot & PDF”. The new icon is a long page running through a capture frame: the capture goes beyond what is on screen. Nothing else changes: saved captures and preferences carry over, and the keyboard shortcut is the same. Release archives are now named leosnap-vX.Y.zip.

Fix: blank pages after ending at a selection

When a capture ended at selected text, the text PDF could finish with blank pages. The content below the selection was removed, but containers on the page kept their old height (minimum heights, heights set by script, columns stretched beside the article). Those containers now end with the content they still show, and the cut is located again after the page is zoomed to the print width. PNG output was not affected.

The README is reorganised around features, capture options, PDF formats, and limits.

Install or update

Download and unzip leosnap-v0.6.zip. At chrome://extensions, enable Developer mode and load the extracted folder containing manifest.json. To update an unpacked installation, replace its files with the new ZIP contents and click Reload. No new permissions are requested.

Verification

33 Node tests pass. The Chrome integration test includes a page whose containers keep their height: ending at its “Comments” heading printed 6 pages before the fix and prints 1 now, with styles, document height, window width, and the selection restored afterwards. The page where the blank pages were first reported was not available to test, so that remains a manual check, as does use from the installed extension through chrome.debugger.

Full Page Capture v0.5 — Page numbers, source page, fit to page, end at selection

Choose a tag to compare

@LeoHChen LeoHChen released this 01 Dec 07:55
f6cf73d

Full Page Capture v0.5

Four additions to PDF output and capture control.

Page numbers and a source page

Paginated PDFs number their pages at the bottom (“3 / 12”) when the capture runs to more than one page. Every paginated PDF, with text or cut from the screenshot, ends with a separate page giving the captured URL as a clickable link and the capture time. The single continuous page is unchanged.

Pages that fill the sheet

Printing a wide browser window as-is gave small text between empty margins. The text PDF now measures where the page's content sits and how large its text is, and lays the page out at a width that fills the Letter sheet, as zooming the page would. It reflows the page at that width and checks the result first: if content would be pushed off the side it zooms back out, and if only a sliver would spill onto a last sheet it zooms out slightly to save the sheet. The window is restored afterwards and the preview reports the layout width used. On a 1,440 px window, Wikipedia and MDN articles were laid out at 922 px, a narrow fixed-width essay at 600 px, and a short page that spilled one line onto a second sheet was brought back to one.

End the capture where you choose

Select a heading or some text on the page, then capture: the capture ends there. The popup's If text is selected on the page choice ends the capture after the selection (default), before it, or ignores it. The PNG and all PDF formats follow it. The highlight is not captured and the selection is restored afterwards.

The installed version is shown beside the name in the popup, preview, and Download settings (added in 0.4.1).

Install or update

Download and unzip full-page-capture-v0.5.zip. At chrome://extensions, enable Developer mode and load the extracted folder containing manifest.json. To update an unpacked installation, replace its files with the new ZIP contents and click Reload. No new permissions are requested.

Verification

33 Node tests pass. The Chrome integration test checks numbered footers, the appended source page on Chrome's own PDF, printing while reflowed to the fitted width with the window restored, ending before and after a selection with the selection restored, and all download formats from the real preview. Live pages were captured through the same code and the rendered PDFs inspected. Use from the installed extension through chrome.debugger remains a manual check.

Full Page Capture v0.4 — Paginated text PDFs

Choose a tag to compare

@LeoHChen LeoHChen released this 01 Dec 07:15
3f575f0

Full Page Capture v0.4

PDFs are now paginated to US Letter (8.5 × 11 in) and, by default, contain real text instead of one large image.

Letter pages with selectable text

While a page is captured, Chrome's print engine also lays it out on Letter sheets with half-inch margins. The on-screen styles and layout width are kept, fixed-position elements are pinned so they appear once, and the page is restored afterwards. Text is selectable and searchable, lines are not split across pages, and the file is much smaller: a long Wikipedia article produced a 1.5 MB, 12-page text PDF against a 5.3 MB single-page image PDF. This is the page's own text, not OCR of the screenshot.

The text PDF is a second rendering, so it can differ slightly from the screenshot. Open Download settings and choose PDF format to use Letter pages cut from the screenshot (exact pixels, breaks moved to blank rows where possible) or the previous One continuous screenshot page. The text PDF is made during capture; if it is unavailable, the preview falls back to screenshot pages and says why.

The skill's export-pdf.mjs writes Letter pages by default. Pass --continuous for one tall page.

Install or update

Download and unzip full-page-capture-v0.4.zip. At chrome://extensions, enable Developer mode and load the extracted folder containing manifest.json. To update an unpacked installation, replace its files with the new ZIP contents and click Reload. No new permissions are requested.

Verification

27 Node tests pass. The Chrome integration test prints the fixture through the real capture code, checks Letter page boxes, pinned fixed elements, screen styles, and exact page restoration after success and an injected print failure, then downloads all three PDF formats and the fallback from the real preview. Page.printToPDF was confirmed in a regular (non-headless) Chrome window through the DevTools Protocol. Printing from the installed extension through chrome.debugger remains a manual check.

Full Page Capture v0.3 — Download settings

Choose a tag to compare

@LeoHChen LeoHChen released this 08 Sep 20:14

Full Page Capture v0.3

Implements feature request #2: saved download-folder preferences.

PNG and PDF downloads now default to screenshots/ inside Chrome's Downloads directory, normally ~/Downloads/screenshots, without a save dialog. Open Download settings in the popup or preview to configure a different subfolder, use Downloads itself (empty folder), or enable Ask where to save each file. Preferences persist locally and apply to downloads from previews already open. Conflicting filenames are made unique.

Chrome only permits automatic downloads relative to its configured Downloads location. To save elsewhere, use the save dialog or change Chrome's Downloads location. The extension adds the storage permission to remember preferences.

Install or update

Download and unzip full-page-capture-v0.3.zip. At chrome://extensions, enable Developer mode and load the extracted folder containing manifest.json. To update an unpacked installation, replace its files with the new ZIP contents and click Reload.

Verification

20 Node tests pass. Chrome UI tests verify settings defaults, persistence, validation, save failures, resetting, and PNG/PDF download requests using current preferences. Existing cleanup screenshot tests also pass. The harness stubs extension storage and downloads; actual native saving in your installed extension remains a manual check.

Full Page Capture v0.2 — Smart cleanup

Choose a tag to compare

@LeoHChen LeoHChen released this 08 Sep 19:33

Full Page Capture v0.2

Implements feature request #1: optional smart cleanup of advertisements, floating toolbars/images, and the regular site footer.

Enable Clean page: ads, floating items & footer in the popup. It is off by default. Both PNG and PDF use the cleaned capture; the preview reports removal counts. Ads and site footers are collapsed before capture dimensions are measured. Article/section footers, inline images, dialogs, and identifiable consent/access prompts are preserved. Original page styles and scroll position are restored after success or failure.

Install or update

  1. Download and unzip full-page-capture-v0.2.zip.
  2. Open chrome://extensions and enable Developer mode.
  3. Choose Load unpacked and select the extracted folder containing manifest.json. For an existing unpacked installation, replace that folder's files with the new ZIP contents and click Reload.
  4. Open a webpage, invoke the extension, and enable the new cleanup option.

Verification and limits

16 Node tests and a real headless Chrome screenshot test pass. The fixture removes 2 ad containers, 3 floating items, and 1 site footer, reducing height from 1,765 to 1,301 px. Pixel comparisons confirm inline images and article footers remain. Styles and scroll position are restored after a successful capture and an injected screenshot failure.

Detection is heuristic: unusual ads may remain and useful floating controls may be hidden. Turn cleanup off and recapture if needed. Cleanup does not inspect shadow DOM or iframe contents, block ad requests, or bypass access barriers. The browser test uses the real capture code through a CDP shim; installation and click-through in your Chrome profile remain manual.

Full Page Capture v0.1

Choose a tag to compare

@LeoHChen LeoHChen released this 08 Sep 18:58

Changelog

v0.1 — 2026-09-08

  • Prevent silent corruption above Chrome's 16,384-device-pixel compositor limit with DPR-aware capture scaling.
  • Report CSS size, device pixel ratio, output size, and resolution reduction in the preview.
  • Keep the source tab active during capture and bound DevTools Protocol operations with watchdogs.
  • Load native lazy images eagerly and enable scroll preloading by default.
  • Optionally hide bottom-fixed overlays during capture and restore them during cleanup.
  • Validate unsupported pages in the popup before opening an error tab.
  • Speed up base64 decoding with Uint8Array.fromBase64 and a loop fallback.
  • Correct PDF physical sizing for DPR, add Unicode title metadata, and keep PDF implementations in sync.
  • Add dated, host-aware filenames, capture deletion, startup cleanup, a keyboard shortcut, package metadata, and release hygiene.