changeset 8:42cdeba9bdb9 default tip

Add summarize button in Sheets and AI elements in Ads.
author Paul Fisher <paul@pfish.zone>
date Tue, 21 Jan 2025 17:21:22 -0500
parents cf7ff331dacc
children
files extension/css/ads.css extension/css/docs.css extension/manifest.json
diffstat 3 files changed, 21 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /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;
+}
--- 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;
 }
--- 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/*",