Skip to content

Instantly share code, notes, and snippets.

@drusepth
Created March 1, 2015 01:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drusepth/7fd923b0b45d3498c00b to your computer and use it in GitHub Desktop.
Save drusepth/7fd923b0b45d3498c00b to your computer and use it in GitHub Desktop.
automatically a2a everyone with a free a2a price
$('div.answer_count_row.light_gray').filter(function (index, row) {
return $(row).text().split("•")[1].trim() == "Free to Ask";
}).map(function (index, row) {
return $(row).closest('div.WantedAnswerSuggestionRow').find('a.ask_to_answer')[0];
}).click();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment