A Manifest V3 Chrome extension that natively integrates a "Random Post" button into Reddit's modern UI. It bypasses API rate limits and pagination constraints by utilizing concurrent background fetching and local caching.
- Native UI Integration: Injects seamlessly into Reddit's React/Lit Shadow DOM (feed header and post credit bar) adapting to native CSS variables.
- Zero-Latency Navigation: Uses
Promise.allto concurrently fetch and shuffle up to 400 top posts across different timeframes intochrome.storage.session, making subsequent random loads instantaneous. - Subreddit Isolation: Maintains separate memory caches dynamically based on the active subreddit.
- Keyboard Navigation: Press
→(Right Arrow) while reading a comment thread to instantly teleport to the next random post.
Since this is not published on the Chrome Web Store, you can install it locally:
- Download or clone this repository to your computer.
- Open Chrome and navigate to
chrome://extensions/. - Toggle on Developer mode in the top right corner.
- Click Load unpacked in the top left and select the folder containing the extension files.
- Refresh any open Reddit tabs.
- Manifest V3: Utilizes Service Workers for background data processing to ensure longevity and low memory footprint.
- MutationObserver: Intelligently watches for Single Page Application (SPA) DOM changes to re-inject UI elements without breaking Reddit's React state.
- Rate-Limit Evasion: Condenses hundreds of page-loads into a single background batch-fetch to stay well within Reddit's unauthenticated API constraints.
MIT License - Melih Gürlek