2

How do you prevent websites from issuing a prompt to "Use your Google Account to sign in to X"?

Sign In Prompt

The instructions don't prevent the pop-up from appearing. My accounts have the option disabled.

Is there an add-on for Firefox that can block such prompts? Perhaps a configuration setting for uBlock Origin?

3

2 Answers 2

1

uBlock Origin (uBO)

uBlock Origin (uBO) is a customizable web browser add-on that helps to block ads, trackers, and malware sites. uBO Github Project

One of the features of uBO is the ability to remove specific webpage elements.

This ability is helpful for your use case since:

  1. An element containing the login prompt is overlaying (obstructing) the page content;
  2. Manually dismissing the overlay element is an interruption to your browsing;
  3. You don't intend to login, and logging in is unnecessary to view the content

Instructions

  1. Download and install the FireFox uBO extension
    Links to other versions, see uBO Installation
  2. Navigate to a URL that triggers the Google Sign-In element
  3. Click on the uBO extension icon
  4. In the dialog box that opens, select the Element Picker (eyedropper).
  5. Hover over the element that you want to remove
  6. A dialog box will appear to allow code editing as well as other options including previewing and actually creating the filter
  7. You can select PREVIEW to test out the filter, CREATE to apply it, and QUIT or ESC at any time will exit.
  8. Clicking CREATE will create the filter and save it to your custom list. The filter will only apply to the current website.

Accessing the Custom List of filters

  1. Click on the uBO extension icon
  2. Click on the Open Dashboard icon
  3. Click on the My Filters tab

Resources

2
0

From a GitHub post:

  1. Click the puzzle piece icon (Extensions).

  2. Click uBlock Origin (Open extension).

  3. Click the gears icon (Open the dashboard).

  4. Click the My filters tab.

  5. Insert the following line:

    ||accounts.google.com/gsi/*$xhr,script,3p
    
  6. Click Apply changes.

  7. Enjoy a world without passive-aggressive sign-in prompts.

Note: You may need to install uBlock Origin, if you haven't already done so.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.