# HG changeset patch # User Paul Fisher # Date 1739333481 18000 # Node ID f62ccc5b03c86fca4db1335dce57273eb9fcbb78 # Parent ad2ca744bcbb9e5f8905f4103002ff332bd29234 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!) diff -r ad2ca744bcbb -r f62ccc5b03c8 extension/css/docs.css --- 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; } diff -r ad2ca744bcbb -r f62ccc5b03c8 extension/manifest.json --- 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/*" ] }, {