Disable chrome "sign in as" popup

Solution 1:

I've been annoyed by the same thing for a while on several sites, mainly Twitter and Instagram, and I recently did some research to find out what was causing it.

I learned that the "Sign in as" pop-up is caused by sites using the Credential Management API. There doesn't seem to be a way to disable it in Chrome's settings, but if you happen to be using an userscript extension such as Tampermonkey, you can use a simple script to make the API inaccessible, getting rid of the pop-ups while retaining all other Chrome's password storing functionality.

// ==UserScript==
// @name         Disable Credential Management API
// @include      *
// @run-at       document-start
// @grant        none
// ==/UserScript==

delete Object.getPrototypeOf(navigator).credentials;