Skip to content

Instantly share code, notes, and snippets.

@dwradcliffe
Created January 18, 2012 15:17
Show Gist options
  • Save dwradcliffe/1633475 to your computer and use it in GitHub Desktop.
Save dwradcliffe/1633475 to your computer and use it in GitHub Desktop.
Using quitgodaddy.com with 1&1
Noah Coffey (@noahwesley) built a great little tool (http://quitgodaddy.com) to help people
move their domains off GoDaddy by reminding them before the expiration dates.
I have a whole bunch of domains on 1&1 (another horrible company) and wanted to use Noah's tool.
He was kind enough to provide the proper format and I wrote a quick script to pull all my domains
off the 1&1 admin page.
How to use:
Navigate to your domains page. Select 100 domains on a page. You'll have to do the following
steps for each page of 100.
Open your javascript console. (Tested in Chrome) Paste in the code below and you should see
the list outputted to the console in the proper csv format. Copy and paste into Noah's site.
Done!
var o = '"DomainName","ExpirationDate"\n';
$("#domainOverview tr").each(function (i, e) {
if ($(e).hasClass('low') || $(e).hasClass('high')) {
var d = $("td:first", e).next().text().split("(")[0];
var e = $("td:last", e).text();
o += '"' + d + '","' + e + '"\n';
}
});
console.log(o);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment