A button that randomly chooses urls from the list

Then the chances are it’s done with server-side scripting.

I made a recent post here about randomising content via php.
The same method could be used for URLs instead of images.