Zynga farmville 2 figuccio

click automatico accesso connect with facebook farmville 2

// ==UserScript==
// @name          Zynga farmville 2 figuccio
// @namespace     https://greasyfork.org/users/237458
// @version       0.8
// @description   click automatico accesso connect with facebook  farmville 2
// @author        figuccio
// @match         https://zyngagames.com/*
// @match         https://*.facebook.com/*
// @icon          https://www.google.com/s2/favicons?sz=64&domain=zyngagames.com
// @grant         GM_addStyle
// @noframes
// @license       MIT
// ==/UserScript==
(function() {
    'use strict';
    // Funzione per cercare e cliccare sull'elemento
    function clickOnAccept() {
     const elements = document.querySelectorAll('*');
     elements.forEach(element => {
 if (element.textContent.includes('Connect with Facebook') ||

     element.textContent.includes('Continua come Giuseppe')) {
     element.click();
            }
        });
    }

    // Esegui la funzione al caricamento della pagina
    window.addEventListener('load', function() {
        // Ripeti la funzione dopo 2 secondi
        setTimeout(clickOnAccept, 2000);
    });
    /////////////////////////////////

//popup zynga
GM_addStyle("#noty_layout__topRight{display:none!important;}");

})();