Popular JavaScript recipes tagged "random"http://code.activestate.com/recipes/langs/javascript/tags/random/2010-03-25T16:07:54-07:00ActiveState Code RecipesRandom URL (JavaScript)
2010-03-25T16:07:54-07:00FB36http://code.activestate.com/recipes/users/4172570/http://code.activestate.com/recipes/577143-random-url/
<p style="color: grey">
JavaScript
recipe 577143
by <a href="/recipes/users/4172570/">FB36</a>
(<a href="/recipes/tags/random/">random</a>, <a href="/recipes/tags/url/">url</a>).
</p>
<p>Save this code as randomURL.html.
Everytime you open the file w/ a browser it will try to visit a random Internet page.
Unfortunately most random trials does not take you a browser renderable webpage.
I am open to ideas on how to make certain it finds a good webpage everytime.</p>