Skip to content

Instantly share code, notes, and snippets.

@uahim
Last active August 14, 2024 16:13
Show Gist options
  • Save uahim/1d5ab831cf2501e16e7bd245a31302be to your computer and use it in GitHub Desktop.
Save uahim/1d5ab831cf2501e16e7bd245a31302be to your computer and use it in GitHub Desktop.
var cuii = new Array()
var j = 0;
for (var i = 0, l = document.getElementsByTagName("td").length; i < l; ++i) {
var td = document.getElementsByTagName("td")[i];
if ((td.innerText.indexOf(".") != -1) && (td.innerText.indexOf("jokerguide") == -1)) {
var url = 'https://' + document.getElementsByTagName("td")[i].innerText + '/';
cuii[j] = '<a href="' + url + '">' + url + '</a><br />\n';
j++;
}
}
cuii[j + 1] = '<a href="https://jokerguide.com/">https://jokerguide.com/</a><br />\n';
cuii = cuii.sort();
copy(cuii.toString().replace(/,/g, ""));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment