]> git.p6c8.net - policy-templates.git/commitdiff
Merge pull request #50 from mozilla/OverrideFirstRunPage_Policy
authorMichael Kaply <consulting@kaply.com>
Fri, 6 Apr 2018 17:09:43 +0000 (12:09 -0500)
committerGitHub <noreply@github.com>
Fri, 6 Apr 2018 17:09:43 +0000 (12:09 -0500)
OverrideFirstRunPage Policy

README.md
windows/en-US/firefox.adml
windows/firefox.admx

index b9c181914352a8cdae49bf84fcb02eb46129847e..1650860b133819e11fb5e87f0287d67a5ba17664 100644 (file)
--- a/README.md
+++ b/README.md
@@ -376,6 +376,15 @@ This policy sets the behavior of Flash on the specified domains, as well as the
   }
 }
 ```
+### OverrideFirstRunPage
+This policy allowed you to override the first run page. If you leave the URL blank, the first run page will not be displayed.
+```
+{
+  "policies": {
+    "OverrideFirstRunPage": "http://example.org"
+  }
+}
+```
 ### Bookmarks
 This policy allows you to specify bookmarks. You can have any number of bookmarks although only ten are specified in the ADMX file.
 Placement can be specified as either toolbar or menu. If a folder is specified, it is automatically created and bookmarks with the
index e3971c466cc90ce8ebc5b79569e374304c1b60d8..32f1a4bff740fa5cf5a9f61a2fc5744de0911597 100644 (file)
@@ -157,7 +157,10 @@ If this policy is not configured Flash, Flash is click to play.</string>
       <string id="FlashPlugin_Locked_Explain">If this policy is enabled Flash preferences cannot be changed by the user.
 
 If this policy is disabled or not configured, the user can change their Flash preferences.</string>
+      <string id="OverrideFirstRunPage">Override the first run page</string>
+      <string id="OverrideFirstRunPage_Explain">If this policy is enabled, you can specify a URL to be used as the first run page. If you leave the URL blank, no first run page will be shown.
 
+If this policy is disabled or not configured the first run page is displayed.</string>
       <string id="Bookmark1">Bookmark 1</string>
       <string id="Bookmark2">Bookmark 2</string>
       <string id="Bookmark3">Bookmark 3</string>
@@ -208,6 +211,11 @@ If this policy is enabled, private browsing is enabled by default in both the br
       <presentation id="TrackingProtection">
         <checkBox refId="TrackingProtectionLocked">Don't allow tracking protection preferences to be changed.</checkBox>
       </presentation>
+      <presentation id="OverrideFirstRunPage">
+        <textBox refId="OverrideFirstRunPage">
+          <label>URL:</label>
+        </textBox>
+      </presentation>
       <presentation id="HomepageURL">
         <text>URL:</text>
         <textBox refId="HomepageURL">
index 14df4c5fdbe478bbe6ec17016c175d316d7877c4..05243611a7983f766795dfbae2a595a8c91a4798 100644 (file)
         <decimal value="0"/>
       </disabledValue>
     </policy>
+    <policy name="OverrideFirstRunPage" class="Both" displayName="$(string.OverrideFirstRunPage)" explainText="$(string.OverrideFirstRunPage_Explain)" key="Software\Policies\Mozilla\Firefox" presentation="$(presentation.OverrideFirstRunPage)" >
+      <parentCategory ref="firefox" />
+      <supportedOn ref="SUPPORTED_WINXPSP2" />
+      <elements>
+        <text id="OverrideFirstRunPage" key="Software\Policies\Mozilla\Firefox" valueName="OverrideFirstRunPage"/>
+      </elements>
+    </policy>
     <policy class="Both" displayName="$(string.HomepageURL)" name="HomepageURL" explainText="$(string.HomepageURL_Explain)" key="Software\Policies\Mozilla\Firefox\Homepage" presentation="$(presentation.HomepageURL)" >
       <parentCategory ref="Homepage" />
       <supportedOn ref="SUPPORTED_WINXPSP2" />

patrick-canterino.de