changeset 44:ce7dd8d3e055

Hide more stuff; reserve all of *.google.com and *.youtube.com.
author Paul Fisher <paul@pfish.zone>
date Sun, 07 Dec 2025 18:12:54 -0500
parents 1048d30d4e3e
children b18a56a3e11f
files extension/css/_blank.css extension/css/docs.css extension/css/drive.css extension/manifest.json
diffstat 4 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/extension/css/_blank.css	Sun Dec 07 18:12:54 2025 -0500
@@ -0,0 +1,4 @@
+/*
+This blank CSS file exists to "reserve" a place in other Google and YouTube
+domains so that the extension isn’t disabled when I have to add a new subdomain.
+*/
--- a/extension/css/docs.css	Fri Oct 31 16:40:15 2025 -0400
+++ b/extension/css/docs.css	Sun Dec 07 18:12:54 2025 -0500
@@ -20,7 +20,8 @@
 /* "help me create a slide" in toolbar */ #openSidekickForSlideGenerationButton,
 /* "help me create a slide" in menu */ .goog-menuitem:has(.docs-icon-screensaver-auto-18x18),
 /* AI search suggestions */ .gssb_sp,
-/* "Ask Gemini" menu */ #docs-gemini-menu
+/* "Ask Gemini" menu */ #docs-gemini-menu,
+/* "Listen to this tab" */ #textToSpeechToolbarButton
 {
     display: none !important;
 }
--- a/extension/css/drive.css	Fri Oct 31 16:40:15 2025 -0400
+++ b/extension/css/drive.css	Sun Dec 07 18:12:54 2025 -0500
@@ -10,6 +10,7 @@
 /* gemini "catch up" on documents added by others in folder view */ .aXe95b,
 /* gemini summary of document contents in folder view */ .e5dYA,
 /* "summarize this file" context menu */ div[role=menuitem]:has(path[d^="M280-520v-80H600v80H280Zm0"]),
+/* "create an audio overview" context menu */ div[role=menuitem]:has(path[d^="M9 22V4H11V22H9ZM13 18V8H15V18H13ZM5"]),
 /* "create an audio overview" button */ .a-b-od-d-gc-c:has(.a-b-yb-cp5i1d-IWrxCc),
 /* gemini in search menu */ .gssb_sbc,
 /* "Summarize this file" in preview popup */ .oaTPh
--- a/extension/manifest.json	Fri Oct 31 16:40:15 2025 -0400
+++ b/extension/manifest.json	Sun Dec 07 18:12:54 2025 -0500
@@ -15,6 +15,10 @@
     "description": "Hides AI-generated elements from Google properties, like search results, Google Drive, and more.",
     "content_scripts": [
         {
+            "css": ["css/_blank.css"],
+            "matches": ["https://*.google.com/*", "https://*.youtube.com/*"]
+        },
+        {
             "css": ["css/ads.css"],
             "matches": [
                 "https://ads.google.com/aw",