Skip to content

Instantly share code, notes, and snippets.

@klinkby
Last active January 24, 2025 06:44
Show Gist options
  • Select an option

  • Save klinkby/5f99c68a47edb77407c084acac50f4eb to your computer and use it in GitHub Desktop.

Select an option

Save klinkby/5f99c68a47edb77407c084acac50f4eb to your computer and use it in GitHub Desktop.
Tampermonkey script to get of that sparkling personal assistant in gmail.
// ==UserScript==
// @name Gemini f# off
// @namespace http://tampermonkey.net/
// @version 2025-01-18
// @description Get rid of that sparkling personal assistant in gmail.
// @author @klinkby
// @match *://mail.google.com/*
// @exclude *://accounts.google.com/*
// @exclude *://chat.google.com/*
// @exclude *://contacts.google.com/*
// @exclude *://feedback-*.google.com/*
// @exclude *://ogs.google.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=google.com
// @grant none
// @run-at document-start
// @noframes
// ==/UserScript==
(function() {
'use strict';
var el = document.createElement("style");
el.type = "text/css";
el.textContent = "div[jscontroller]:has(button[aria-label='Ask Gemini']) { display: none; }";
document.body.appendChild(el);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment