9

I have spent hours researching how to do this, but I think it is time to ask for help.

80% of websites I visit display a box in the upper right corner asking me to "Sign in with Google."

This is very annoying. I don't want to make accounts for lots of the sites I visit, and the ones I do have accounts for I usually don't want to sign in.

At first (maybe a year ago) it was just pesky. Now these days it is absolutely horrible. The number of times I have to click the little X to get rid of the prompt is driving me crazy.

I have tried going into my Google account and toggling off the Third Party Apps and Services -> Sigh in with Google toggle, this did not work.

I tried to log out of my Google account, also to no avail.

I tried to install uBlock extension, that did not work.

I am at my wits end, please, someone help me.

I am on Windows 7 (32bit) using Firefox 115.

Giacomo1968
  • 58,727

2 Answers2

10

The "Sign in with Google" popup is generated by the associated client library, which is just a js script. As such, this uBlock rule works for me, to disable the popup on all sites I've seen so far:

||accounts.google.com/gsi/client$3p

Add this text to the "My filters" tab in the uBlock settings, then hit "Apply". This rule blocks all network requests to the js script that are 3rd-party (i.e. not on accounts.google.com, in case Google also uses the script).

kaka
  • 196
2

You can remove the "Sign in with Google" prompts on a per-page basis using third-party tools, such as the uBlock Origin Firefox add-on. Using that extension,

  • Right-click on the Google sign-in prompt.
  • Select Block element.
  • Move the cursor to select the elements of the screen you wish removed.
  • When satisfied, select Create.

The following is an example of the rule created to block that prompt on YouTube:

[2022-10-15] youtube.com##ytd-popup-container

youtube.com##ytd-consent-bump-lightbox.style-scope

www.youtube.com##.opened www.google.com###lb

www.google.com##:root:style(overflow-y: visible !important;)

N.B. This must be done for each site that displays the message, and for each page of that site with the message. Further, if a site changes a page, that rule may need to be recreated. Therefore, this is not worth the trouble for an infrequently visited site.