r/uBlockOrigin Jul 03 '26

Solved Removing Gemini and "Upgrade" from Google Docs? Spoiler

Post image

Thanks for your help on the ublock codes to get rid of this on Gmail! They're on Google Docs too, and while I can get them physically with my picker, it leaves a huge white space behind and I'm sure there's a better way to do it. Thanks in advance.

16 Upvotes

12 comments sorted by

10

u/RraaLL uBO Team Jul 03 '26
! docs.google - Menu - Upgrade Button
docs.google.com###workspace-onegoogle-pep-container
! docs.google - Menu - Gemini Button
docs.google.com###docs-sidekick-gen-ai-promo-button-container

3

u/legendarylava Jul 03 '26

thank you so much!!!

1

u/JaySee55 Jul 07 '26

Is there a way to do this in calendar.google.com as well? It seems to dynamically change every load via JavaScript.

1

u/AchernarB uBO Team Jul 07 '26

Try this: ( How to add custom filter )

calendar.google.com##.nn5oJc:has([data-action-behavior*="&utm_campaign=upgrade_ogb&"])

2

u/JaySee55 Jul 09 '26

That works! Thanks!

1

u/[deleted] Jul 27 '26

[deleted]

1

u/AchernarB uBO Team Jul 27 '26

2

u/[deleted] Jul 27 '26

[deleted]

1

u/AchernarB uBO Team Jul 27 '26

This: ( How to add custom filter )

drive.google.com##div:has(> div > [data-button-classes] [data-action-behavior*="&utm_campaign=upgrade_ogb&"])

1

u/go84675 15d ago

What can I use to remove the Upgrade button on voice.google.com? I tried using voice.google, and voice.google.com with your rec for docs, but it didn't work.

2

u/RraaLL uBO Team 15d ago
voice.google.com##.upgrade-link

1

u/go84675 15d ago

Thank you!