1. How to implement random jumps to multiple domain names? Can the same link point to a random domain name?
2. For example, link a jumps to link b this time. Next time, it may be link c. The jump link is random. How to implement this in the code?
我想大声告诉你2017-06-12 09:22:52
Is this okay?
location.href = Math.random() < 0.5 ? "http://www.foo.com" : "http://www.bar.com";