Last active
February 20, 2019 18:18
-
-
Save evo42/e18c2a2514996be45bdec545626035c9 to your computer and use it in GitHub Desktop.
show all available domain @ https://www.united-domains.de/domain-registrieren/
This file contains hidden or 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
$('.accordion-description').each(function() { | |
$(this).click(); | |
}); | |
$('a.domain-search-more').each(function() { | |
$(this).click(); | |
}); | |
var available = []; | |
$('.domain-name').each(function() { | |
var d = $(this).attr('title'), | |
r = $(this).parent().parent().attr('data-status'), | |
u = 'http://' + d; | |
$(this).html('<a href="' + u + '">' + d + '</a>'); | |
// registered // avail // avail-preregister // avail-sedo // reserved | |
if (r == 'avail') { | |
$(this).parent().parent().show(); | |
available[d] = u; | |
// open in new tab | |
// window.open(u, '_blank'); | |
} else { | |
$(this).parent().parent().hide(); | |
} | |
}); | |
console.log(available); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment