Advanced Browser Hosts File (User Managed)

Mimics hosts file behavior with user-managed redirections via local storage.

Author
s3b87
Daily installs
1
Total installs
1
Ratings
0 0 0
Version
1.1
Created
2025-05-27
Updated
2025-05-27
Size
12.9 KB
License
MIT
Applies to
All sites

Script Summary: "Browser Hosts Manager"
This Tampermonkey script provides a browser-level alternative to the Windows hosts file, allowing users to manage website redirections and blocking directly within their web browser.
Instead of modifying your operating system's network settings, this script runs in your browser and intercepts navigation attempts. It features a user-friendly management interface for adding, editing, and deleting rules, which can be accessed via a keyboard shortcut (Alt + Shift + H by default) or by navigating to a specific URL path (e.g., any-website.com/_tmredirect).
All your custom redirection rules are persisted using your browser's local storage, ensuring they remain active even after closing and reopening your browser. This makes it an ideal solution for testing, blocking distracting sites, or redirecting to different versions of a website without needing system-level permissions.