Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

Real 2 is really starting to bug me now


ghost's Avatar
0 0

i have a code that should work, but it opens up a new window for each url. this means 24*30 windows will be open, which is just crazy. at about 150, my comp slows wayyyyyyyyyyy down, and i have to abort the script. is there anyway around this? i dont wanna have to brute force it….


ghost's Avatar
0 0

just have it alert the current window after the window opens. then you have to hit enter (or click ok) and then it opens the next window and alerts the position or whatever. so for example:

 alert("current value of x: " + x);
 window.open("http://whatever.com/backup_" + x);
 }```

sorry if my javascript is messy or incorrect, i might be getting it mixed up with other languages i'm learning.

ghost's Avatar
0 0

is there a way to close teh window once i hit ok in teh alert box?


ghost's Avatar
0 0

just make sure all the windows open in the same window. it should look like this:

markupwindow.open('*site*', '*windowname*')

so for example,

markupwindow.open('http://site.com', 'window01')

and then you would have that inside the loops. this way instead of having all those different windows opening and slowing down your computer, they all come up in the same window one at a time, with the alert box between them. and then you can keep clicking ok in the alert box and watch for the title of the second window to change from "page cannot be displayed" or whatever to something different.

this tutorial was really helpful also: http://hellboundhackers.org/readarticle.php?article_id=168