In the browser, i didn’t login in the google account, and I didn’t accept the cookies on that site. Using privacybadger that supposedly should block the 3rd party spyware like that

  • verassol@lemmy.ml
    link
    fedilink
    arrow-up
    196
    ·
    edit-2
    4 months ago
    1. Install UBlock Origin
    2. Click the extension’s icon
    3. Click the gears icon for settings
    4. Open the “My filters” tab
    5. Add a line with ||accounts.google.com/gsi/iframe/select?*

    Steps 2 and 3 can be replaced by going to about:addons, finding UBlock Origin, clicking the ... button and selecting “Preferences”.

    • miss phant@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      105
      arrow-down
      1
      ·
      edit-2
      4 months ago

      As an additional note this rule is already included in either EasyList – Other Annoyances or AdGuard – Popup Overlays. I recommend just enabling either full category for a more usable internet.

      • verassol@lemmy.ml
        link
        fedilink
        arrow-up
        13
        ·
        4 months ago

        I can’t seem to block them by just enabling annoyances blocks on my end.

        “EasyList – Other Annoyances” has this:

        ! Google signin popup
        ###credential_picker_container
        ###credential_picker_iframe
        

        “AdGuard – Popup Overlays” has this:

        ! Warning: check, if auth using Google is not broken
        ||accounts.google.com/gsi/client^$third-party,script,domain=<several specific domains here>
        

        My impression is that the rules want to avoid breaking Google sign-in completely, which this rule may do.

      • bl4kers@lemmy.ml
        link
        fedilink
        English
        arrow-up
        5
        ·
        4 months ago

        It must be the former because I have the latter enabled and still see them

  • ExtremeDullard@lemmy.sdf.org
    link
    fedilink
    arrow-up
    58
    arrow-down
    3
    ·
    edit-2
    4 months ago

    Set your language to English: you’ll get the nag in English.

    🥁🪘🥁

    Sorry…

    Seriously though, install Ublock Origin and block as many Google domains as possible. In Reddit, to get rid of that particular nag, block accounts.google.com and google.com.

    Alternatively, don’t do Reddit.

  • tomas@lm.eke.li
    link
    fedilink
    arrow-up
    17
    ·
    4 months ago

    noscript stops these dead.

    also stops most other nefarious things sites want to do in your browser.

    also stops many good things, so your day to day surfing will encounter more friction, but be safer.

    • Jako301@feddit.de
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      4 months ago

      Technically yes, but the Google and Googlegetmanager scripts are used in so many cases that you want to keep them active permanently.

  • mustbe3to20signs@feddit.org
    link
    fedilink
    English
    arrow-up
    11
    ·
    4 months ago

    For optics only:
    Use uBlock Origin, choose the object picker and remove the banner.

    For real blocking: Use uBlock Origin and block the Google domains as suggested in another answer.

    • HumanPerson@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 months ago

      I’ve tried to remove the banner with ubo on firefox and it has never worked. I think google is doing some weirdness with it.

      • mustbe3to20signs@feddit.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        4 months ago

        You can always try out some premade blocking lists as someone who knows way better than both of us has probably already encountered the same problem.
        You can also try to use wildcards with your blocking list as some ad and tracking companies add random alphanumeric characters to their URLs to circumvent blocking.

      • aaaaace@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 months ago

        This is how the relationship is with them. I moved on 10 years ago, they fought my every step, e.g. suddenly exporting from Drive didn’t work.

        Like all toxic relationships, you’re better off without them.

      • DessertStorms@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        1
        ·
        4 months ago

        That sucks. I had an issue at first with it only giving the option for android even though I’m on pc, but eventually I managed to get it right, I think there was another sub menu or something, I can’t remember exactly since it was a few months ago now… If that’s not it, I guess give some of the other options given here a try?

  • AMON@lemmy.ml
    link
    fedilink
    arrow-up
    10
    ·
    4 months ago

    Non usare chrome nel caso fosse il tuo browser e installa ublock su firefox

  • morgin@lemm.ee
    link
    fedilink
    arrow-up
    7
    ·
    4 months ago

    Install ublock, add a filter to block the login prompt in the “my rules” section

    Can’t find the exact rules I have but when I’m on my desktop i can reply with them, there’s a bunch of variants I found searching for it but they should all work (unless googles changed stuff)

    https://forums.linuxmint.com/viewtopic.php?t=382324

      • morgin@lemm.ee
        link
        fedilink
        arrow-up
        4
        ·
        4 months ago

        Yep!

        ||id.google.com^ ||accounts.google.com/gsi/$3p ||smartlock.google.com^ ||accounts.google.com/gsi/iframe

        Feels pretty overkill at this point, can’t help assume most of its redundant but I haven’t run into any issues yet. I got them from this firefox support thread a while back

      • hatter@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 months ago

        That’s the one I use as well and it gets rid of the sign in popup without breaking or blocking other Google sites.

  • merc@sh.itjust.works
    link
    fedilink
    arrow-up
    8
    arrow-down
    3
    ·
    4 months ago

    Worth noting, this isn’t really a Google thing. It’s something other websites do to allow you to login with various other credentials: Facebook, Google, Amazon – Twitter used to be common. It’s just that Google is obnoxious because when say Reddit allows you to login with your Google account, the login widget Google uses is an obnoxious pop-up.

    • Moonrise2473@feddit.itOP
      link
      fedilink
      arrow-up
      7
      ·
      4 months ago

      It Is a Google thing. It’s a script that Google gives to third party to promote logging in with their account, and it can access Google cookies, so it can get populated with your name and email (which is absurd as some other malicious js on the same page could parse the HTML to extract the personal data of the user without consent)

      If you’re logged in, there’s a setting buried in the Google account (really buried, very difficult to find) which hides this nag.

      • merc@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        4 months ago

        What I mean by it not being a Google thing is that it doesn’t just appear there on its own, like it might if it were a Doubleclick ad or something.

        This is something that companies like Reddit see and think “Yes, I want that obnoxious thing on my site”.

        • unwarlikeExtortion@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          4 months ago

          I think it’s exactly the same as a Doubleclick ad as in it’s a 3rd-party script that adds obnoxious content (be it ads or a signin popup) to the site. I think Doubleclick is owned by google which ironically makes it even more similar than if it was, say, a Facebook popup.

          • merc@sh.itjust.works
            link
            fedilink
            arrow-up
            1
            ·
            4 months ago

            Doubleclick has been Google for decades now. The difference is that (at least these days) most companies wouldn’t accept it if doubleclick ads had obnoxious pop-ups. But, they choose to have a Google sign-in form that has an obnoxious pop-up. Yes, it’s annoying that Google made an annoying login pop-up. But, much worse is that places like Reddit choose to go with that obnoxious pop-up instead of saying “we don’t want to force that on our users”.

            • unwarlikeExtortion@lemmy.ml
              link
              fedilink
              arrow-up
              1
              ·
              4 months ago

              Yeah. Also, it’s the difference between ads (a very obnoxious thing for 99% of users) and something potentially genuinely useful for a good portion of users like the sign in - I assume the popup isn’t there to annoy us Lemmy users, a large percentage of whom I assume use uBlock Origin and find it annoying, but rather for the ~2-5% of users who wouldn’t bother creating an account but don’t mind signing in with Google due to the convenience (and wouldn’t do so on the signin page). And eveb for us who find it annoying, it isn’t like ads where you’re not supposed to be able to get rid of the popup or the popup being a constant PITA

  • fossphi@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    4 months ago

    Firefox on its own blocks some of these popups (in some countries). Otherwise, add some annoyance filters in ublock origin

  • ssm@lemmy.sdf.org
    link
    fedilink
    arrow-up
    3
    ·
    4 months ago

    I disable javascript by default (with a keybind toggle, I think noscript can do something similar in normie browsers), and I never get these.