DC Egg Grab AutoRefresh

If you fail to grab an egg, it automatically brings you back to the biome you were in.

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

You will need to install an extension such as Tampermonkey to install this 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         DC Egg Grab AutoRefresh
// @version      1.0.5
// @author       Mythbyte
// @namespace    Mythbyte
// @description  If you fail to grab an egg, it automatically brings you back to the biome you were in.
// @include      https://dragcave.net/get/*
// @grant        none
// @license     CC0-1.0; See https://creativecommons.org/publicdomain/zero/1.0/legalcode for more information
// ==/UserScript==

setTimeout(function() {
    if (document.getElementsByClassName('_j_0')[0]) {
        var Biomeclick = document.querySelector("#middle");
        Biomeclick.querySelector("a").click();
    }
}, 500);