Skip to content

Instantly share code, notes, and snippets.

@AtkinsSJ
Created April 3, 2013 15:08
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 AtkinsSJ/5302045 to your computer and use it in GitHub Desktop.
Save AtkinsSJ/5302045 to your computer and use it in GitHub Desktop.
Copy and paste this into your web browser's javascript console and run it, while on http://www.onegameamonth.com/games in order to get a list of entries per month, in reverse order.
var months = []; $('.walloftext').children().each(function(index, el){ if ($(this).hasClass('center')) {months.push(0);} else if ($(this).hasClass('miniga')) { months[months.length-1]++; } }); console.log(months);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment