Advertisement
Guest User

Untitled

a guest
Feb 16th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. var times = 0;
  2. var count = 11;
  3. var string = '';
  4.  
  5. var script = document.createElement('script');
  6. script.onload = function() {
  7. for (let i = 0; i < count; i++) {
  8. times += 1;
  9. setTimeout(function() {
  10. i !== 0 && $($("a.pagination__link:contains('" + i + "')")[0])[0].click()
  11. $('a').each(function(el) {
  12. var link = $(this).attr('href');
  13. if (link.indexOf('proxyi.io') !== -1) {
  14. console.log(link);
  15. if (string.indexOf(link == -1)) {
  16. string += `${link}\n`
  17. }
  18. }
  19. });
  20. }, times * 1000);
  21.  
  22.  
  23. }
  24. };
  25. script.src = 'https://code.jquery.com/jquery-3.3.1.min.js';
  26.  
  27. document.head.appendChild(script);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement