# HG changeset patch # User Paul Fisher # Date 1737498082 18000 # Node ID 42cdeba9bdb967fe54b49269b315623c7f17c1cf # Parent cf7ff331daccbe00368ce0d3b9e1c99aca638900 Add summarize button in Sheets and AI elements in Ads. diff -r cf7ff331dacc -r 42cdeba9bdb9 extension/css/ads.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/extension/css/ads.css Tue Jan 21 17:21:22 2025 -0500 @@ -0,0 +1,12 @@ +/* asset generation ad creation step */ .caa-asset-generation-plugin, +/* "get help creating your ad" */ caa-multiturn-view { + display: none !important; +} + +/* Add caption explaining *why* there is a blank screen */ +.caa-generate-button .mdc-button__label::before { + content: "AI step hidden; skip" !important; + background: #c5221f; + color: white; + padding: 2px; +} diff -r cf7ff331dacc -r 42cdeba9bdb9 extension/css/docs.css --- a/extension/css/docs.css Thu Jan 16 16:16:48 2025 -0500 +++ b/extension/css/docs.css Tue Jan 21 17:21:22 2025 -0500 @@ -1,6 +1,7 @@ /* top toolbar */ #docs-sidekick-button-container, /* slides mini-toolbar */ #docs-side-toolbar .image-generation-prominent-toolbar-button, /* docs floating comment thingy */ .docs-instant-bubble-container .superfab-aitextgeneratormenu-button, +/* Drive "summarize this table" */ .FormulaBarContainerGeminiSummarizeButton, /* "Help me write" menu items */ .goog-menuitem:has(.docs-icon-ai-text-generator-18) { display: none !important; } diff -r cf7ff331dacc -r 42cdeba9bdb9 extension/manifest.json --- a/extension/manifest.json Thu Jan 16 16:16:48 2025 -0500 +++ b/extension/manifest.json Tue Jan 21 17:21:22 2025 -0500 @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "Hide Gemini", - "version": "0.2.4", + "version": "0.2.5", "icons": { "16": "icons/16.png", "32": "icons/32.png", @@ -12,6 +12,13 @@ "description": "Hides Gemini elements from Google properties.", "content_scripts": [ { + "css": ["css/ads.css"], + "matches": [ + "https://ads.google.com/aw", + "https://ads.google.com/aw/*" + ] + }, + { "css": ["css/docs.css"], "matches": [ "https://docs.google.com/document/d/*",