This is a card in Dave's Virtual Box of Cards.

Block those insanely annoying Google login popups

Page created: 2025-08-07

Tired of these "Sign in with Google" popups all over the place?

Loathsome Google login popup screenshot

(Example from Stack Overflow))

This incredibly helpful toot on Mastodon had the surprisingly easy answer:

https://mas.to/@markwyner/114941092519598133

Open uBlock Origin

You are running the uBlock Origin plugin, right? And on a non-Chrome browser such as Firefox? Right?

Screenshot showing the uBlock main options

Click on the little gears icon (tooltip: "Open the dashboard").

Add this filter line to My Filters

Screenshot showing the uBlock dashboard with the My Filters tab

Click on the My Filters tab and paste the following into the text area:

||accounts.google.com/gsi/*$xhr,script,3p

Poof! No more Google sign in popups. So nice.

Enjoy

This works as of the document dates at the top of this page. If this needs updating at any point, please let me know.

(Aside: As near as I can tell, if you’re a Chrome user, you have to turn off the popups in your Google account. The popups don’t even seem to be normal page elements - you can’t select them with the browser dev tools or anything! Disgusting. But what did you expect?)