Advanced Browser Hosts File (User Managed)

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

作者
s3b87
日安装量
0
总安装量
0
评分
0 0 0
版本
1.1
创建于
2025-05-27
更新于
2025-05-27
大小
12.9 KB
许可证
MIT
适用于
所有网站

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.