Aller au contenu

How to Hide Gemini, Refine, and Floating Buttons in Google Docs™

Ce contenu n’est pas encore disponible dans votre langue.

Google Docs™ has a few features that can also be distractions. You’ve likely noticed the floating buttons that appear on the right side when you click anywhere on the document.

Floating buttons on the side of the document

These buttons provide quick access to Add Comment, Add Emoji Reaction, and Suggest Edits.

Additionally, when you select text, a Refine button often appears, offering AI-powered writing suggestions. Refine button appearing over selected text

Finally, Google has added a prominent Ask Gemini button to the top toolbar, which you may not need during focused writing sessions. The "Ask Gemini" button in the top right corner of Google Docs

While useful, these pop-ups can clutter your workspace. Luckily, you can easily hide all of them using the Stylus browser extension, which lets you apply custom CSS to any website.


Step 1: Install the Stylus Extension

Disclaimer: We are not affiliated with the Stylus extension or its developers. This is a third-party tool we recommend for customizing your browser experience.

First, install the Stylus extension for your browser.

Install Stylus for Chrome Install Stylus for Firefox

Step 2: Create a Custom Style for Google Docs

  1. Open a Google Doc, then click the Stylus icon in your browser toolbar and select Manage.
  2. On the left, click the Write new style button.
  3. Change Everything to URLs starting with.
  4. Enter this URL into the box:
https://docs.google.com/document/
  1. Paste this CSS code into the main code editor. It includes rules for all three elements:
/* Hides the floating comment buttons on the right side */
.inlineFabBubbleContainer {
visibility: hidden !important;
}
/* Hides the "Refine" pop-up for selected text */
#docs-instant-bubble {
display: none !important;
}
/* Hides the "Ask Gemini" button in the top toolbar */
.appsElementsSidekickEntryPointRoot {
display: none !important;
}
  1. Click the Save button on the left, and make sure the Enabled checkbox for your new style is active.

Step 3: Enjoy a Cleaner Interface

That’s it! The floating buttons and the “Ask Gemini” button are now hidden, giving you a completely distraction-free editing experience.

Next Step: Organize Your Entire Document

Now that your interface is clean, take your document organization to the next level.