0

On many websites that require login, these annoying Google login prompts appear:

enter image description here

How can I block them?

stumblebee
  • 4,397

2 Answers2

3

Add this line to "my filters" in uBlock origin:

accounts.google.com/gsi/*

Click on the three gears in uBlock Origin, then go over to "My Filters" and paste the above line into the page below and then click "Apply Changes".

Answer moved here from @totalconfusion's original question.

stumblebee
  • 4,397
1

These popups are a pest on many sites now. 2 ways I know of to block:

  1. Any adblocker that allows you to dynamically block an element, you can choose that option and then highlight the popup. That is usually enough although you will need to do that on every site the window appears (unless you configure a more generic filter).

or

  1. You could install a script blocker such as NoScript which allows you to enable/disable scripts from domains. So on that site you enable scripts from colonist.io but leave all other (e.g. google) scripts blocked.
codlord
  • 3,248
  • Adblocker element blocking doesn't persist through a refresh. Will NoScript break a lot of sites? – totalconfusion Jul 18 '24 at 16:26
  • 1
    Probably you are adding an exact filter, add a more generic filter such as ||accounts.google.com/gsi/iframe/select?client_id= NoScriipt allows you to enable scripts on from the domains you want and use but disable scripts for sites you don't want or need. – codlord Jul 18 '24 at 18:01
  • NoScript is a Firefox extension right? Can we first 100% rule out this being a browser thing? It's so consistent over so many sites... I'm running Firefox ESR on Debian 12 (bookworm) – totalconfusion Jul 19 '24 at 08:13
  • @totalconfusion It's not a browser thing. Most websites that can be logged into using Google account display this thing recently. – raj Jul 19 '24 at 16:34
  • 1
    thanks @raj you're right it's not a browser thing. I killed it with a custom filter in ublock origin – totalconfusion Jul 20 '24 at 02:33