Created
January 3, 2019 22:07
-
-
Save lucasdcrk/e91ba3aaae7736b8641e4ea46b4979b8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
var allLinks = $('a.thread-title--list').map(function(i,el) { return $(el).attr('href'); }).get(); | |
allLinks.forEach((e) => { $.post(e+'/vote/up/list', { url: e+'/vote/up/list' }, function(data) { | |
console.log(data) | |
}); }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment