From e51a99bc77e9e3baf2ea6e88481925c2e8e19066 Mon Sep 17 00:00:00 2001 From: TheGeneralist <180094941+thegeneralist01@users.noreply.github.com> Date: Wed, 8 Jul 2026 17:12:12 +0200 Subject: [PATCH] fix: gate consent-overlay cleanup on cookie_ext; reset overflow; narrow selectors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Strip overflow:hidden from body/html only when cookie_ext is active for the capture — prevents mutating legitimate pages when the feature is off - Remove .fc-dialog (Google Funding Choices), .qc-cmp2-*, .sp-message-container, #sp-cc, #usercentrics-root as fallback for CMPs the extension misses - Removed overbroad [class^="uc-"] and [id^="usercentrics"] selectors that could match real page content --- .../archivr-core/src/downloader/singlefile.rs | 32 +++++++++++++++---- 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/crates/archivr-core/src/downloader/singlefile.rs b/crates/archivr-core/src/downloader/singlefile.rs index a50d603..4d225aa 100644 --- a/crates/archivr-core/src/downloader/singlefile.rs +++ b/crates/archivr-core/src/downloader/singlefile.rs @@ -263,18 +263,38 @@ fn save_with( // Mandatory user script: strips