changeset 23:393f6eb1d9a8

Hide "AI mode" buttons in Google Search and results pages.
author Paul Fisher <paul@pfish.zone>
date Sun, 21 Sep 2025 15:30:26 -0400
parents a1fb69eaf3ec
children b2f47c058610
files extension/css/search.css extension/manifest.json notes
diffstat 3 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/extension/css/search.css	Tue Jun 17 10:24:31 2025 -0400
+++ b/extension/css/search.css	Sun Sep 21 15:30:26 2025 -0400
@@ -1,5 +1,8 @@
 /* AI summary */ .h7Tj7e,
 /* AI-generated "people also ask" */ .related-question-pair:has(.XTvndd),
-/* AI-generated "things to know" */ [jscontroller=Elkdbc] {
+/* AI-generated "things to know" */ [jscontroller=Elkdbc],
+/* AI Mode homepage button */ button.plR5qb,
+/* AI Mode search tab */ .olrp5b,
+/* Labs icon */ .gb_D a[href^="https://labs.google.com/"] {
     display: none !important;
 }
--- a/extension/manifest.json	Tue Jun 17 10:24:31 2025 -0400
+++ b/extension/manifest.json	Sun Sep 21 15:30:26 2025 -0400
@@ -64,6 +64,8 @@
         {
             "css": ["css/search.css"],
             "matches": [
+                "https://www.google.com/webhp",
+                "https://www.google.com/webhp?*",
                 "https://www.google.com/search",
                 "https://www.google.com/search?*",
                 "https://www.google.ad/search",
--- a/notes	Tue Jun 17 10:24:31 2025 -0400
+++ b/notes	Sun Sep 21 15:30:26 2025 -0400
@@ -1,3 +1,6 @@
 The list of all Google domains is:
 
 https://www.google.com/supported_domains
+
+Google has said they are only going to use google.com from now on:
+https://blog.google/products/search/country-code-top-level-domains/