reload a page with random numbers in adress
|
|
Hi, I'm searching for a script reloading a page containing with different adresses using random numbers, eg. http://www.test.com/1 (1 should represent the random number). Rene |
|
|
var max_num = 50; var num = Math.ceil(Math.random()*max_num); location.href = 'http://' + document.domain + '/' + num; |
|
|
It depends from the range of the random number:
|
