This works on refreashing a page every xx seconds between 30 and 60 seconds. But it does not open a link.

Is it possible to make a script that opens a link every xx seconds at random. It would be even greater if it can exclude certian times of the day, or can that be done with a cron job?

Philip M

12-30-2009, 05:01 PM

This works on refreashing a page every xx seconds between 30 and 60 seconds. But it does not open a link.

Is it possible to make a script that opens a link every xx seconds at random. It would be even greater if it can exclude certian times of the day, or can that be done with a cron job?

Sounds absolutely frightful! Why on earth do you want to inflict this on your visitors? For security reasons you cannot open a link and go to a new page without the user's consent. In other words, you cannot auto-click.

All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.

lisar

12-30-2009, 05:34 PM

I absolutly would not want to do this with my visitors. The only person that is going to see the open links is going to be me.

Old Pedant

12-31-2009, 12:47 AM

Once again this forum swallowed a post by me!

A long one, too!

Okay, I'll answer again...shorter this time.

You would have to do this to a popup window. And the same popup window each time.

If you tried to do it into a <iframe>, many sites would break out of the iframe, destroying your page and stopping the cycle.