Ejecutar el siguiente script varias veces (ejecutar desde F12 o DevTools)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
var countOfPagesScrolled = 5; function scrollDown(height, countOfPagesScrolled){ scroll(0, document.body.clientHeight); setTimeout(function(){ if(height != document.body.clientHeight && countOfPagesScrolled > 0){ scrollDown(document.body.clientHeight, --countOfPagesScrolled); }else return sendRequest(); }, 2000); } function sendRequest(){ var inputs = document.getElementsByClassName('follows-recommendation-card__follow-btn artdeco-button artdeco-button--tertiary artdeco-button--1 follow is-following ember-view'); for(var i=0;i<inputs.length;i++) { inputs[i].click(); }} scrollDown(document.body.clientHeight, countOfPagesScrolled); |