From 1ded7919669d2b6da6f672bbff7525b6ac7b97ea Mon Sep 17 00:00:00 2001 From: Michael Kaply Date: Mon, 9 Apr 2018 16:50:51 -0500 Subject: [PATCH 1/1] WebsiteFilter Policy --- README.md | 10 ++++++++++ windows/en-US/firefox.adml | 11 +++++++++++ windows/firefox.admx | 14 ++++++++++++++ 3 files changed, 35 insertions(+) diff --git a/README.md b/README.md index 33d27f1..9938b1a 100644 --- a/README.md +++ b/README.md @@ -454,3 +454,13 @@ This policy can be used to determine if the search bar is separate or combined w } } ``` +### WebsiteFilter +Blocks websites from being visited. The parameters take an array of Match Patterns, as documented in https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Match_patterns. Only http/https accesses are supported at the moment. The arrays are limited to 1000 entries each. +``` +{ + "policies": { + "Block": [""], + "Exceptions": ["http://example.org/*"] + } +} +``` diff --git a/windows/en-US/firefox.adml b/windows/en-US/firefox.adml index eaa9e5c..6e9bfe9 100644 --- a/windows/en-US/firefox.adml +++ b/windows/en-US/firefox.adml @@ -187,6 +187,14 @@ If this policy is disabled or not configured the upgrade is displayed. If this policy is enabled, all data is cleared when Firefox is closed. This includes Browsing & Download History, Cookies, Active Logins, Cache, Form & Search History, Site Preferences and Offline Website Data. If this policy is disabled or not configured, data is not cleared when the browser is closed. + Blocked websites + If this policy is enabled, you can specify match patterns that indicate sites to be blocked. The match patterns are documented at https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Match_patterns. Only http/https accesses are supported at the moment. There is a 1000 entry limit.", + +If this policy is disabled or not configured, no websites are blocked. + Exceptions to blocked websites + If this policy is enabled, and the website filter is enabled, you can specify match patterns for sites you do not want to block. The match patterns are documented at https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Match_patterns. Only http/https accesses are supported at the moment. There is a 1000 entry limit.", + +If this policy is disabled or not configured, there are no exceptions to the website filter. Bookmark 1 Bookmark 2 Bookmark 3 @@ -235,6 +243,9 @@ If this policy is not configured or disabled, new users get a unified search bar + + + Allow popups for websites diff --git a/windows/firefox.admx b/windows/firefox.admx index 08b2be4..24c5f62 100644 --- a/windows/firefox.admx +++ b/windows/firefox.admx @@ -801,5 +801,19 @@ + + + + + + + + + + + + + + -- 2.34.1