How to block sign in with Google popups on sites

Martin Brinkmann
Dec 24, 2022
Updated • May 29, 2024
Google
|
26

Sign in with Google is a relatively new wave of popups that Google customers may see on third-party sites that they are not signed-in on. The sites are able to check that a Google account exists and give visitors the option to sign-in using the Google account.

Major sites such as Fiverr or eBay use the feature. Its main purpose is to speed up the registration of an account on the site by using information provided through the Google account; this may result in more sign-ups and more business for the site.

While some users may like the idea, as it requires less interaction to get started, others find it annoying or even creepy.

DuckDuckGo launched a new protective feature against Google sign-in prompts recently in its apps and extensions. The company suggests that accepting them gives Google consent for tracking.

Not every Internet user wants to use DuckDuckGo apps or extensions, and there are ways to get rid of the Google sign-in prompts on sites without using products made by the company.

The following paragraphs highlight options that users have to deal with Google sign in pop-ups on third-party sites.

First, the basics. If you have never signed-in to a Google account in the browser, then you won't see the popups. The popups are displayed in all major browsers, not just when Google Chrome is used.

Option 1: sign-out of Google

The first option is simple: sign-out of the active Google session in the browser that you are using, and you should not see the Google sign in popups anymore.

  1. Google Chrome:  Activate the profile icon in the top right corner of the browser and select Sign out.
  2. Other browsers: Load https://www.google.com/, click on the profile icon in the top right-corner of the page, and select sign out.

Option 2: use private browsing mode or a Guest account

The second option requires more work, as you need to use a second profile for browsing or use private browsing / Incognito mode instead for that. The main idea behind this is to separate the profile with the Google account from the browsing activity.

It may be better to use different browsers for different purposes, e.g., one browser for all Google activity, and another browser for all other activity.

Still, select Menu and then the available private browsing option to start such a session.

Option 3 (New): Disable the feature in Chrome

Google moved the preference from the Google Account management page into Chrome.

  1. Load chrome://settings/content/federatedIdentityApi in the Chrome address bar.
  2. Switch to Block sign-in prompts from identity servers under default behavior.

Option 3 (Old, no longer working): Disable Google Account sign-in prompts in the Google Account settings

Google added a setting to the Account settings to disable the functionality. Here is how you block the feature:

  1. Load https://myaccount.google.com/u/0/permissions?pli=1 in the browser of choice.
  2. Scroll down to the "Signing in with Google" section.
  3. Toggle "Google Account sign-in prompts" to off.

Sites won't display popups anymore after you have made the change.

Option 4: block the popup with content blockers

Another option that you have is to block the popup with content blockers. Most include options to add custom filter rules.

Users of uBlock Origin, for example, may add the following line to the custom filter list to block the popup:

||accounts.google.com/gsi/iframe/select$subdocument

Now You: how do you deal with these popups?

Summary
Article Name
How to block sign in with Google popups on sites
Description
Find out how to block sign in with Google popup prompts on third-party sites in any browser.
Author
Publisher
Ghacks Technology News
Logo
Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. Justin Beveraly said on January 31, 2024 at 7:28 pm
    Reply

    This is completely useless! Any time a person has to create an account for a company they do not want to engage with because they are constantly being harassed is pure stupidity. Googles hates privacy and is a pure bad actor that should be eradicated. How does one actually stop the on slot of harassment by Google to join their cult?

  2. Anonymous said on August 2, 2023 at 11:30 pm
    Reply

    I did this. They do NOT stop. I have to click go away 3X before. I open another email. Same thing. OVER AND OVER AND OVER. I HATE GOOGLE.

  3. Jane said on July 22, 2023 at 2:49 pm
    Reply

    Disabling Google Account Sign-in Prompts in Google settings does nothing; at least not in Firefox. I’ve always had that setting turned off. I get the ‘Sign In With Google’ pop up everywhere. Literally, everywhere.

  4. Mike said on April 4, 2023 at 5:00 am
    Reply

    Sign in disabled, even on a test machine that has never had Google used, it still happens. I HATE Google

  5. K Eddy said on February 12, 2023 at 6:19 pm
    Reply

    My “Sign in with Google” prompt was already toggled off in the settings, but I am still getting the Pop up in Firefox. I am thinking about ridding my computer of any and all things Google!

  6. Josef said on February 7, 2023 at 9:48 am
    Reply

    Doesn’t work.
    Even in Privacy Mode, never signed in on google account do this popups occur.
    Why cant anyone write a good explanation how to block this?

    1. Daffy said on April 19, 2023 at 4:48 pm
      Reply

      On ublock or whatever adblocker you use, add the custom filter

      ||accounts.google.com/gsi/iframe

      1. Dennis said on May 31, 2024 at 1:25 am
        Reply

        I do this……

  7. Mark said on January 31, 2023 at 10:31 am
    Reply

    I deleted my google account as I got so fed up with them, but I still get them on Firefox and iphone Safari one month later.

  8. Strad Ofline said on December 29, 2022 at 10:00 am
    Reply

    “If you have never signed-in to a Google account in the browser, then you won’t see the popups.”

    I think this is incorrect. Define “never”. What about when I signed one time into a gmail account last month and then signed out . Do you mean that this singular event is stored on Firefox, and if so where and how?

    “The first option is simple: sign-out of the active Google session in the browser that you are using, and you should not see the Google sign in popups anymore.”

    Reponse: I am not signed in currently, and still get the popup.

    “Derro”‘s solution with ublock origin seems to work.

    1. Daffy Jones said on January 1, 2023 at 3:35 pm
      Reply

      It’s definitely incorrect. I see that “sign in with Google” prompt all the time, even when I use Firefox Klar (Focus) which is always in incognito mode – I have literally never signed in to Google on this browser yet it keeps prompting me to log into Google so that I can use Google sign in for sites like Twitter

      See screenshot: https://imgur.com/a/jIv1O2l

  9. not sure said on December 28, 2022 at 7:27 pm
    Reply

    thanks. one day when AI is really good, i’ll simply tell my operating system to block all jews and stuff like this won’t be so much of a problem. YE 24

  10. Anonymous said on December 27, 2022 at 5:14 pm
    Reply

    With popups or not, same goes for “log in with Facebook” and so on, avoid those tracking tricks.

  11. HelpDeskUntiliDie said on December 27, 2022 at 2:01 pm
    Reply

    On mobile I get this all the time even though I browse privately and have never signed into Google on mobile. So, I really don’t get the explanation that it checks for a signed-in Google account before displaying the popup.

  12. Derro said on December 25, 2022 at 2:39 am
    Reply

    Using Ublock Origin

    right click on that Google annoyance

    scroll down to Ublock- mouse over——block element in frame- click

    make sure all of it is selected [pink]- click – create …finished

    shown in ”my filters” accounts.google.com###animated-container

  13. Anonymous said on December 25, 2022 at 2:36 am
    Reply

    I just use uMatrix to block 3rd party scripts like those.

  14. Carr said on December 24, 2022 at 5:15 pm
    Reply

    Changing the toggle in Google doesn’t “fix” anything. The pop up still happens. Nobody checks if it even works. I have read E-bay allows this junk and must be monetizing the popup. As far as I can tell it’s browser related as it doesn’t happen in brave. Yes Google is violating #1 security rule.

  15. Karene said on December 24, 2022 at 4:27 pm
    Reply

    None of those work; did you test them?

    1. Martin Brinkmann said on December 25, 2022 at 7:30 am
      Reply

      I did, and they worked on the test system.

  16. just an Ed said on December 24, 2022 at 3:22 pm
    Reply

    A very helpful article, Mr. B. Thank you. Allow me to take this opportunity to wish you a Merry Christmas and a Happy, Healthy New Year.

  17. Anonymous said on December 24, 2022 at 2:54 pm
    Reply

    With ad blockers you should use

    ||accounts.google.com/gsi/*$xmlhttprequest,script,third-party

    because iframe is created by script, so it’s created after Google was contacted.

  18. TelV said on December 24, 2022 at 12:48 pm
    Reply

    I remain signed in to Google on my Android phone because it’s just such a hassle to have sign in again just to update it. But I hardly ever use the phone for browsing and even if I do, I use Firefox private browsing mode.

    Apart from that I can never understand why anyone would want to sign into a search engine. You get the same search results without signing in.

    1. Marleen said on February 7, 2023 at 2:52 am
      Reply

      You seem to have missed the point that Google is so much more than a search engine. And anyway, if you are not signed in, those popups still appear. So uBlock Origin is again the only cure.

  19. Tom Hawack said on December 24, 2022 at 10:42 am
    Reply

    It’s Christmas eve, time for friendship, reconciliation. Let us love everyone, even those we’d be reluctant to :)
    No hatred, I’ll love GAFAM, all of its components, their entrepreneurs, Google included.
    I’ll love, try to, yet will avoid some of them, and that includes Google.
    No Google means no Google account, means no Google products, means no Google tracking (provided the company and its numerous servers accessed as third-party practically everywhere are blocked) … means no Google sign-in pop-up.

    Now, should I use Google products, have an account, one thing I’d avoid is using that account to register to a whatever Website together with remaining logged into the account when elsewhere than on a Google site. Between extreme positions (never and always) there is always a medium approach, and avoiding registration via a 3rd-party is one of them, essential IMO.

    Merry Christmas to all :=)

  20. Service Pack said on December 24, 2022 at 10:35 am
    Reply

    A how to article written by Martin for a change…

    I am still here wishing the old Ghacks comes back, when Martin was still fully in charge of the site…

  21. Tachy said on December 24, 2022 at 7:53 am
    Reply

    @Martin

    It’s “main purpose” is to build a more accurate advertising profile.

    “Signing in with google” is breaking the #1 security rule. Don’t use the same username and password for multiple sites.

    I’ve never “signed into” a browser on purpose and I don’t use chrome.

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.