您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Mimics hosts file behavior with user-managed redirections via local storage.
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.