Advanced Browser Hosts File (User Managed)

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
s3b87
今日安裝
0
安裝總數
4
評價
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.