根據 URL 模式定義遭封鎖的網站清單 (您的使用者無法載入這些網站)。
格式化 URL 模式將根據 https://go.microsoft.com/fwlink/?linkid=2095322。
您可以在 'URLAllowlist' (定義受允許的 URL 清單) 原則中定義例外狀況。這些原則僅限於 1000 個項目; 將忽略後續項目。
請注意,不建議封鎖內部 [edge://*] URL - 這可能會導致未預期的錯誤。
此原則不會阻止頁面 JavaScript 透過動態更新。假設您封鎖 'contoso.com/abc',只要不重新整理此頁面,使用者可能仍能瀏覽 'contoso.com',然後按一下連結前往 'contoso.com/abc'。
如果您未設定此原則,則不會封鎖任何 URL。
範例值:
contoso.com
https://ssl.server.com
hosting.com/bad_path
https://server:8080/path
.exact.hostname.com
file://*
custom_scheme:*
*
Registry Hive | HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER |
Registry Path | Software\Policies\Microsoft\Edge\URLBlocklist |
Value Name | {number} |
Value Type | REG_SZ |
Default Value |