- JavaScript 87.6%
- CSS 6%
- HTML 3.3%
- Dockerfile 1.9%
- Makefile 1.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| icons | ||
| .containerignore | ||
| .gitignore | ||
| AGENTS.md | ||
| background.js | ||
| CHANGELOG.md | ||
| Containerfile | ||
| LICENSE | ||
| Makefile | ||
| manifest.json | ||
| page-helper.js | ||
| popup.css | ||
| popup.html | ||
| popup.js | ||
| README.md | ||
| viewer.css | ||
| viewer.html | ||
| viewer.js | ||
Full Page Capture
A Firefox extension that captures the entire page, including everything you would only see by scrolling, and opens it in a new tab. From there you can copy the image to the clipboard or save it as a PNG.
Unlike Firefox's built-in screenshot tool, it also handles web apps that scroll an inner element instead of the page itself (Grafana, Kibana, many dashboards and webmails).
Features
- Captures the full height of the page with one click or Ctrl+Shift+Y.
- Automatically detects the scrolling element when the page itself doesn't scroll.
- Preloading: scrolls through the page once to trigger lazy loading (images, dashboard panels) and waits for loading indicators to disappear.
- Fixed and sticky elements (headers, toolbars) appear only once.
- Background gradients that would repeat on every stitched screen are replaced by a solid color during the capture.
- A popup under the toolbar icon shows progress, with a Stop button that keeps what has been captured so far: useful on pages with infinite scrolling. It is browser UI, so it never shows up in the capture.
- High-resolution captures on HiDPI screens, automatically scaled down when the image would exceed Firefox's limits.
- Viewer tab with Copy (Ctrl+C), Save (Ctrl+S) and Actual size / Fit to width buttons.
- No data collection, no network requests: everything stays in your browser.
Installation
From addons.mozilla.org
Install it from addons.mozilla.org. Firefox then keeps it up to date automatically.
From source (development)
- Clone this repository.
- Open
about:debugging#/runtime/this-firefoxin Firefox. - Click "Load Temporary Add-on…" and select
manifest.json.
The extension stays installed until Firefox is closed.
Requires Firefox 140 or later (Firefox 142 on Android). This is the first
version supporting the data_collection_permissions manifest key, which
addons.mozilla.org now requires to declare that no data is collected.
Usage
- Open the page you want to capture.
- Click the extension icon (in the toolbar or the extensions menu 🧩), or press Ctrl+Shift+Y.
- A popup opens under the icon and shows the progress. The page scrolls by
itself for a few seconds: this is expected, don't scroll or move the mouse
over the page (hover effects would show up in the capture).
- On a page that loads more content endlessly as you scroll, click Stop in the popup once enough content has been loaded: the capture ends right away with what has been captured or loaded so far.
- If the popup closes (for example after clicking elsewhere), the capture goes on: click the icon again to see it, or press Esc on the page to stop it. The icon shows "…" while a capture is running.
- The capture opens in a new tab next to the original page:
- Copy (or Ctrl+C) copies the PNG image to the clipboard.
- Save (or Ctrl+S) downloads
<page title> YYYY-MM-DD_HH-MM-SS.png. - Actual size / Fit to width toggles the display size.
- Right-clicking the image works as usual too.
The keyboard shortcut can be changed in about:addons → ⚙️ → "Manage
Extension Shortcuts".
If the capture fails, the icon shows "!" and its tooltip explains why.
Known limitations
- Firefox does not allow capturing internal pages (
about:…), addons.mozilla.org pages and some other protected pages. - The capture is only kept in memory: if you reload its tab before saving it, it is lost.
- On pages with an inner scrolling area, the parts next to that area (such as a side menu) are only captured for the height of the first screen.
- Running animations or videos can produce visible seams between the stitched parts of the capture.
- Backgrounds that stay still while the page scrolls (
background-attachment: fixed, or the frame around an inner scrolling area) are captured as a solid color (the first color of their gradient), otherwise they would repeat down the capture.
Development
There is no build step: Firefox loads the repository files as they are. The
tooling uses web-ext through npx
(requires Node.js):
npx web-ext run # start a test Firefox with the extension loaded
npx web-ext lint # check the manifest and code
npx web-ext build # create the .zip in web-ext-artifacts/
Building the package with Podman
To build the .zip without installing Node.js, use the provided
Containerfile. It lints the extension, builds it with a
pinned version of web-ext, and writes the package to dist/:
make # same as: podman build --output type=local,dest=dist -f Containerfile .
make clean # remove dist/
Docker works too: make PODMAN=docker.
See AGENTS.md for the architecture and coding conventions, which apply to human contributors and AI agents alike.
Contributing
Bug reports and pull requests are welcome. For a capture problem, please include the URL (or the kind of app, such as "Grafana 10"), your Firefox version, zoom level and display scaling, and attach the resulting capture if possible.
Credits
The code was developed by Claude Opus 5.5 (Anthropic) and challenged by Mistral Large 4 (Mistral AI), which reviewed it.