Hébergeur de fichiers indépendant

script.user.js

À propos du fichier

Type de fichier
Fichier JS de 2 Ko (text/plain)
Confidentialité
Fichier public, envoyé le 20 septembre 2014 à 19:50, depuis l'adresse IP 105.106.x.x (Algérie)
Sécurité
Ne contient aucun Virus ou Malware connus - Dernière vérification: 2 jours
Statistiques
La présente page de téléchargement a été vue 741 fois depuis l'envoi du fichier
Page de téléchargement

Aperçu du fichier


// ==UserScript==
// @name        auto farm
// @namespace   nbn
// @include     http://ae25x.tribalwars.ae/game.php*screen=am_farm*
// @version     1
// @grant       none
// ==/UserScript==



/**
 $(function() {
	$('td:nth-child(11) > a:nth-child(1)').click(function(event) {
		setTimeout(function() {$('.farm_icon_c').first().click()},400);
		auto_farm_lunch($(event.target).attr('class'));
	
	//var id_parent_farm = event.target.attr('id') ;
	//alert('id_parent_farm');
	//alert($(event.target).attr('class'));
	//comp=(setTimeout("alert('Vos réflexes sont très lents !')",200));

	});
});
**/

function auto_farm_lunch(boutant_click){
//alert(boutant_click);
//alert ($('#light').text());
 
	
   
       
	if ($('.farm_icon_c').first().parent().html().match(/farm_icon_disabled/) ) {
         $('.farm_icon_c').first().parent().parent().remove();
		 auto_farm_lunch('2')
	}
	$('.farm_icon_c').first().click(function(event) {
	setTimeout(function() {auto_farm_lunch($(event.target).attr('class'))},500);});
	$('.farm_icon_c').first().click();
	$('.farm_icon_c').first().parent().parent().remove();

	
	//while ($().length){('.'+boutant_click).parent().parent().remove();}
	//$('.farm_icon_c').first().click(function(event) {
	//	auto_farm_lunch($(event.target).attr('class'));
	//	$(this).parent().parent().remove();
	//	setTimeout(function() {$('.farm_icon_c').first().click()},400);
	
	
//setTimeout(function() {$('.farm_icon_c').first().click()},400)
}
//alert('go');
//auto_farm_lunch('1');
$('h3').first().click(function() {
auto_farm_lunch('1');
	//$('.farm_icon_c').first().click(function(event) {
		//auto_farm_lunch($(event.target).attr('class'));
		//$(this).parent().parent().remove();
		//setTimeout(function() {alert('boutant_click');},1000);

		//setTimeout(function() {$('.farm_icon_c').first().click()},400);
		
		
	//});
	//$('.farm_icon_c').first().click();
});

//alert('3');

/**
else{ $(this).click( function(){
	  alert('click');
	comp=(setTimeout("alert('click 2');",200));
		});
      }
//$('.row_a, .row_b').first ('td:eq(10)').html().match(/farm_icon_c/).click();
alert('2');
  ('h3').first().click();

**/



Partager le fichier script.user.js sur le Web et les réseaux sociaux:


Télécharger le fichier script.user.js


Télécharger script.user.js