Last active
August 29, 2015 14:05
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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