RedirectGuard
2026I got tired of clicking play and getting three tabs I did not ask for. Blockers handle ads on the page. They do not reliably stop the tab that opens the moment you click anything.
- TypeScript
- Chrome Extensions API
The problem
Ad-heavy and streaming sites open new tabs and popups on interaction — a click anywhere on the player becomes a redirect somewhere else. Content blockers work on what is rendered in the page; this happens at the navigation layer, and it slips past.
How it works
The extension intercepts new tab and popup creation and checks the destination against a user-defined allowlist before it is allowed to load. Anything not on the list does not open.
The check runs in real time on the destination, not on the originating page — so it holds even when the site rotates the domains it redirects to, which they do constantly.
Auto-protect
Manually arming a blocker on every visit defeats the point. You mark a domain once and interception turns itself on whenever you are there.