Skip to content

Instantly share code, notes, and snippets.

@tylermenezes
Created March 21, 2012 16:47
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 tylermenezes/2149443 to your computer and use it in GitHub Desktop.
Save tylermenezes/2149443 to your computer and use it in GitHub Desktop.
Script for extracting proxies from HideMyAss
(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