Rapi para Ika

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

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

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

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

// ==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);