Google Smart Lock Blocker

Blocks the Google Smart Lock popup (credentials-picker-container) from appearing.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name         Google Smart Lock Blocker
// @name:ru      Блокировка окна Google Smart Lock
// @namespace    https://greasyfork.org/users/your-username
// @version      1.0
// @description  Blocks the Google Smart Lock popup (credentials-picker-container) from appearing.
// @description:ru Удаляет всплывающее окно входа Google Smart Lock (credentials-picker-container).
// @author       Anonymous
// @license      MIT
// @match        *://*/*
// @grant        none
// @run-at       document-start
// ==/UserScript==

(function () {
    'use strict';

    const hidePopup = () => {
        const el = document.getElementById('credentials-picker-container');
        if (el) {
            el.remove();
            console.info('[Smart Lock Blocker] Удалено окно Google Smart Lock.');
        }
    };

    const observer = new MutationObserver(hidePopup);
    observer.observe(document.documentElement, { childList: true, subtree: true });

    hidePopup();
})();