I have read the post about Generating a random link through Javascript/HTML. Generating a random link.
I'm just wondering how to make sure each URL could appear at the same ratio? For example, I have four URLs, and each of them will appear 50 times randomly.
URL 1: 50 times
URL 2: 50 times
URL 3: 50 times
URL 4: 50 times
Thanks in advance.