Skip to content

Instantly share code, notes, and snippets.

@iGallina
Last active August 29, 2015 14:05
Show Gist options
  • Save iGallina/4e4bd1216e51d4e5cb3e to your computer and use it in GitHub Desktop.
Save iGallina/4e4bd1216e51d4e5cb3e to your computer and use it in GitHub Desktop.
Little JS code to be used with jQuery Injection (Chrome Plugin) to obtain data from badly programmed software.
var string = ''
$.each($('tr.infraTrClara'), function(){
var nome = $(this).children('td:last')
var link = $(this).children('td:nth-child(3)').select('a')
var content = link.attr('onmouseover')
string = string + '\n ' + nome.text() + ':' + link.text() + ':' + content
})
string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment