Last active
August 29, 2015 14:04
-
-
Save cosme12/726cd84757c27352c3e3 to your computer and use it in GitHub Desktop.
Taringa Bot Favoritos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Para agregar post a favoritos cada 3 segundos empezando desde z y bajando de a 1 repitiendo w veces. | |
Pegar este codigo en la consola de tu explorador. | |
IMPORTANTE: asegurate de estar dentro de un post o el script no funcionara */ | |
var i = 0; | |
var x = 0; | |
var z = 17888710; //abrir el post mas actual de la home de Taringa y copiar el numero del ultimo post que aparece en el link | |
var w = 10; // cantidad de posts a favoritos (numero alto para que nunca termine) | |
function myLoop () { | |
setTimeout(function () { | |
x = z-i; | |
Favorite.add('post',x,$(this)); | |
i++; | |
if (i < w) { | |
myLoop(); | |
} | |
}, 3000) // agrega un post a favoritos cada 3000 milisegundos (reducir para mas velocidad) | |
} | |
myLoop(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment