Recurbate Confirm 18 Autoclicker

Autoclicks the 18 plus pop up when you first visit the site.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name         Recurbate Confirm 18 Autoclicker
// @description  Autoclicks the 18 plus pop up when you first visit the site.
// @namespace    http://tampermonkey.net/
// @version      2.1.0
// @author       Labryn
// @match        https://recu.me/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=recu.me
// @grant        none
// @license      MIT
// ==/UserScript==



/* defines PopUp Button button */
const pB1=document.getElementsByClassName("btn btn-secondary btn-recu-outline");



setTimeout(init,0.5*1000)

function init()
{
	if (pB1.length > 0)
	{
        try
        {
            pB1[0].click();
        }
        catch(err)
        {
            console.log('caught the error');
            console.log(err.message);
            setTimeout(init,30*1000);
        }
	}
    else
    {
        setTimeout(init,2*1000);
    }
}