Created
March 21, 2012 16:47
-
-
Save tylermenezes/2149443 to your computer and use it in GitHub Desktop.
Script for extracting proxies from HideMyAss
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
(function(){ | |
$.fn.hasAttr = function(name) { | |
return this.attr(name) !== undefined; | |
}; | |
$("*").filter(function(e){ | |
return $(this).hasAttr("style") && $(this).attr("style").indexOf("none") != -1; | |
}).each(function(e,s){ | |
$(this).remove(); | |
}); | |
$("#listtable tr").each(function(e,s){ | |
var children = $(s).children("td"); | |
console.log($(children[1]).text() + ":" + $(children[2]).text().replace("\n", "")); | |
}); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment