From cdceca37c3eea691bd2e4bcac0648f0b344d174b Mon Sep 17 00:00:00 2001 From: Karl Seguin Date: Mon, 7 Sep 2026 08:44:33 +0800 Subject: [PATCH] render: add "shell" option to --strip-mode Some additional API changes: - Add strip-mode support to pdf/png generation. - Add LP.dump which provides greater content gathering capability to CDP, exposing most `fetch` dump-related parameters (e.g. format, strip, selector, ...) The new "--strip-mode shell" is designed to try to remove non-content elements such as the header and footer. The end goal is to use readibility.js test cases as a baseline, but this isn't a port of readibility.js. This is just the basic implementation of this, e.g removing a few key tags, e.g.
,