Skip to content

Instantly share code, notes, and snippets.

@icodejs
Created February 14, 2019 11:05
Show Gist options
  • Save icodejs/c29f9019306472c6857ac5fece185f28 to your computer and use it in GitHub Desktop.
Save icodejs/c29f9019306472c6857ac5fece185f28 to your computer and use it in GitHub Desktop.
JSON.stringify(Array.from($('.table-data tr').map(function () {
return $(this).find("td:nth-child(2)").text()
})).filter(function (url) {
return url.indexOf('https://www.maxfactor.com/uk/') > -1;
}).sort())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment