I'm trying to combine array objects to strings so that I get many combinations of results.(3000+) However, this following code does work, but it is insufficient/slow. It also tends to freeze.
I have tried with for loops as well but i get the same time taken.
Is there another way to make this more efficient? I have looked a bit at set interval, but made no progress there.
$.each(page_name, function(i, p) {
$.each(extensions, function(ii, e) {
$.each(query, function(iii, q) {
var data = p + "." + e + "?" + q;
dorks.push(data);
$('#result').append(data + '\n');
$("#amt").text(dorks.length);
});
});
});