Skip to content

Instantly share code, notes, and snippets.

@fuqunaga
Last active December 11, 2015 09:18
Show Gist options
  • Save fuqunaga/4579058 to your computer and use it in GitHub Desktop.
Save fuqunaga/4579058 to your computer and use it in GitHub Desktop.
javascript:
$.each($('tr td:last-child').find('a'), function(){
var a_tag = $(this);
$.get(a_tag.attr('href'), function(data){
$.each($(data).find('tr td:first-child'), function(){
var value = $(this).text().match(/防戦力:\d+/);
if ( value ){
a_tag.parent().append(value[0]);
return false;
}
}
);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment