diff --git a/manifest.firefox.json b/manifest.firefox.json index a04a142..c8c7da6 100644 --- a/manifest.firefox.json +++ b/manifest.firefox.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "Silent Send", - "version": "0.9.16", + "version": "0.9.17", "description": "Intercepts personal info and substitutes it with user-defined replacements before sending to AI services.", "browser_specific_settings": { "gecko": { diff --git a/manifest.json b/manifest.json index 334d5a9..68bbc72 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "Silent Send", - "version": "0.9.16", + "version": "0.9.17", "description": "Intercepts personal info and substitutes it with user-defined replacements before sending to AI services.", "permissions": [ "storage", diff --git a/package.json b/package.json index c3edf07..4b8a460 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "silent-send", - "version": "0.9.16", + "version": "0.9.17", "private": true, "license": "MIT", "description": "Browser extension that substitutes personal data before sending to AI services", diff --git a/src/content/content.js b/src/content/content.js index 696cd74..d8da2dd 100644 --- a/src/content/content.js +++ b/src/content/content.js @@ -1698,13 +1698,13 @@ // Elements to skip when revealing (inputs, scripts, styles, extension UI, navigation) const SKIP_REVEAL_TAGS = new Set([ 'SCRIPT', 'STYLE', 'NOSCRIPT', 'IFRAME', 'INPUT', 'TEXTAREA', 'SELECT', - 'NAV', 'ASIDE', 'HEADER', 'FOOTER', ]); - // Skip reveal in navigation, sidebars, headers, and other non-chat UI + // Skip reveal in navigation and sidebars — but NOT broadly by class name, + // as sites like Claude.ai use "header" in class names for chat content areas function isInNonChatArea(el) { if (!el) return false; - return !!el.closest('nav, aside, header, footer, [role="navigation"], [role="banner"], [role="complementary"], [data-sidebar], [class*="sidebar"], [class*="Sidebar"], [class*="nav-"], [class*="Nav"], [class*="menu"], [class*="Menu"], [class*="header"], [class*="Header"]'); + return !!el.closest('nav, aside, [role="navigation"], [role="complementary"], [data-sidebar]'); } // Reveal ALL text on the page + apply highlights diff --git a/src/options/options.html b/src/options/options.html index 36074c8..3687e3e 100644 --- a/src/options/options.html +++ b/src/options/options.html @@ -631,7 +631,7 @@