The original Random Link redirected to random URLs. Today, web discovery has evolved into social bookmarking and content discovery platforms.
Web Discovery
The spiritual successor to random link buttons. Discover interesting content based on your interests. Personalized recommendations.
Reddit's /r/random takes you to a random subreddit. Endless discovery of niche communities and interesting content.
Click the button, get taken to a random interesting website. Simple concept, endless entertainment. Modern random link experience.
Discover random products and startups. Great for finding new tools, apps, and interesting projects.
Simple JavaScript to redirect to a random URL from your collection. No server-side scripting needed.
const links = [
'https://example1.com',
'https://example2.com',
'https://example3.com'
];
function goRandom() {
const randomIndex = Math.floor(Math.random() * links.length);
window.location.href = links[randomIndex];
}
Give certain links higher probability of being selected. Useful for sponsor rotation or featured content.
const links = [
{ url: 'https://sponsor.com', weight: 3 },
{ url: 'https://partner1.com', weight: 1 },
{ url: 'https://partner2.com', weight: 1 }
];
// Sponsor gets 60% of clicks, partners get 20% each
Randomly direct users to different landing pages to test conversion rates.
Fairly distribute traffic among multiple affiliate partners.
Showcase random work samples or case studies.
Let visitors discover random content from your archives.
| Feature | 1990s Script | Modern Solutions |
|---|---|---|
| Server needed | Yes (CGI) | No (JS) |
| Weighted selection | Manual | Easy |
| Analytics | Log files | Full tracking |
| A/B testing | No | Built-in |
| URL management | Text file | Dashboard/CMS |
| Personalization | No | AI-powered |
Simple redirect: Vanilla JavaScript
A/B testing: Google Optimize
Link management: Bitly or Short.io
Discovery: Mix or Reddit