Rapi para Ika

Script que cliquea automáticamente el primer botón de abordar de la Fortaleza Pirata de Ika.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name        Rapi para Ika
// @description Script que cliquea automáticamente el primer botón de abordar de la Fortaleza Pirata de Ika.
// @namespace   jam
// @include     *-*ikariam.gameforge.com*
// @version     1.1
// @grant       none
// ==/UserScript==
var brio = function() {
	var button = $('#pirateFortress_c .table01').find('.action .button.capture').eq(0);
	if (button.length) {
		button.trigger('click');
	} else if ($('.captchaImage').length > 0) {
        var audio = new Audio('https://drive.google.com/uc?id=0BzQ4KX6fuv2MRnllRU5kdUFwYzA&authuser=0&export=download');
        audio.play();
    }
};
var interval = setInterval(brio, 5000);