Skip to content

Instantly share code, notes, and snippets.

@d4rn0k
Created November 10, 2014 12:15
Show Gist options
  • Select an option

  • Save d4rn0k/fc7967516c64b2fe881c to your computer and use it in GitHub Desktop.

Select an option

Save d4rn0k/fc7967516c64b2fe881c to your computer and use it in GitHub Desktop.
Plusuje wszystkie wpisy na mikroblogu
javascript:(
function() {
function plusuj(selector) {
var $plusArea = $(selector);
$.each($plusArea, function(i, $val) {
if(!$($val).find("b").hasClass("voted")) {
$($val).find("a").click();
}
});
}
plusuj("#itemsStream > li > ul > li > div > div > div.author.ellipsis > p");
plusuj("#itemsStream > li > div > div > div.author.ellipsis > p");
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment