Mercurial > personal > no-gemini
changeset 12:f62ccc5b03c8
Hide more items and fix URL patterns.
- Hides a bunch of Gemini menu items and buttons within Sheets and Docs.
(Thanks, Laura!)
- Fixes multilogin issues / the fact that things wouldn't hide when you
when to docs.new / sheets.new / slides.new. (Thanks, Ben!)
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Tue, 11 Feb 2025 23:11:21 -0500 |
parents | ad2ca744bcbb |
children | e4e909f5fd65 |
files | extension/css/docs.css extension/manifest.json |
diffstat | 2 files changed, 21 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/extension/css/docs.css Mon Feb 03 23:54:00 2025 -0500 +++ b/extension/css/docs.css Tue Feb 11 23:11:21 2025 -0500 @@ -2,6 +2,8 @@ /* 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) { +/* "Help me write"/GenAI menu items */ .goog-menuitem:has(.docs-icon-ai-text-generator-18, .docs-icon-image-generation-18, .docs-icon-spark-18x18), +/* "Help me create a table" */ .building-blocks-sidekick-entrypoint-button, +/* "summarize this file" */ .docs-link-bubble-sidekick-prompt-button-card-component { display: none !important; }
--- a/extension/manifest.json Mon Feb 03 23:54:00 2025 -0500 +++ b/extension/manifest.json Tue Feb 11 23:11:21 2025 -0500 @@ -25,15 +25,31 @@ "css": ["css/docs.css"], "matches": [ "https://docs.google.com/document/d/*", + "https://docs.google.com/document/u/*/d/*", + "https://docs.google.com/document/create", + "https://docs.google.com/document/create?*", + "https://docs.google.com/document/u/*/create", + "https://docs.google.com/document/u/*/create?*", "https://docs.google.com/presentation/d/*", - "https://docs.google.com/spreadsheets/d/*" + "https://docs.google.com/presentation/u/*/d/*", + "https://docs.google.com/presentation/create", + "https://docs.google.com/presentation/create?*", + "https://docs.google.com/presentation/u/*/create", + "https://docs.google.com/presentation/u/*/create?*", + "https://docs.google.com/spreadsheets/d/*", + "https://docs.google.com/spreadsheets/u/*/d/*", + "https://docs.google.com/spreadsheets/create", + "https://docs.google.com/spreadsheets/create?*", + "https://docs.google.com/spreadsheets/u/*/create", + "https://docs.google.com/spreadsheets/u/*/create?*" ] }, { "css": ["css/drive.css"], "matches": [ "https://drive.google.com/drive/*", - "https://drive.google.com/file/d/*" + "https://drive.google.com/file/d/*", + "https://drive.google.com/file/u/*/d/*" ] }, {