mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-10-09 12:51:45 -04:00
render: add "clutter" option to --strip-mode
Adds a `clutter` option to --strip-mode. This is based on readability.js. It isn't a direct port (e.g. it doesn't strop bylines). It fallsback to `shell` if it strips too much (and shell itself can fallback to not stripping anything). But clutter rarely fallback to shell, only when a page is very small or when it strips out _a lot_. Also expanded shell to look at class names and ids.
This commit is contained in:
13 files changed
+1165
-150
No files matched your search
File diff suppressed because one or more lines are too long.
Reference in new issue
Block a user