<div dir="ltr"><div>Great question, and thanks for pointing it out. I've updated the README.md to be more clear.</div><div><br></div><div>The answer is empty string (").</div><div><br></div><div>And as far as what it shows instead, it's either homepage or restore your session depending on what you have set.</div><div><br></div><div>These policies prevent these pages from being shown, so the browser would act as if it were a normal startup.</div><div><br></div><div>Mike<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Nov 7, 2020 at 1:39 PM Andrew J. Buehler <<a href="mailto:wanderer@fastmail.fm">wanderer@fastmail.fm</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA512<br>
<br>
As of this writing, the entries for OverrideFirstRunPage and<br>
OverridePostUpdatePage in<br>
<a href="https://github.com/mozilla/policy-templates/blob/master/README.md" rel="noreferrer" target="_blank">https://github.com/mozilla/policy-templates/blob/master/README.md</a> refer<br>
to the possibility of setting a policy to a blank value, with a<br>
different effect from setting it to a defined value.<br>
<br>
For example, OverrideFirstRunPage says that "If the value is blank, no<br>
first run page is displayed.".<br>
<br>
However, no example of how to set this to a blank value is given. For<br>
some of the policy provisioning methods listed, how to set the value to<br>
blank is relatively clear from the general ways to set values in that<br>
method in the first place, but for others it is not. In particular, for<br>
the policies.json case, I'm not clear whether the correct way to set a<br>
blank value would be<br>
<br>
"OverrideFirstRunPage": "",<br>
"OverrideFirstRunPage": {},<br>
"OverrideFirstRunPage": '""',<br>
"OverrideFirstRunPage": ,<br>
<br>
or something else. (There are quite a few examples given in various<br>
question-and-answer places online for how to set an empty or blank or<br>
NULL value in JSON, some but not all of which are in the above list, and<br>
none of them seem obviously the right choice to use here.)<br>
<br>
Rather than flail around testing things at random till I find the<br>
correct syntax, I thought I'd ask: what is the proper way to specify<br>
blank values in policies.json?<br>
<br>
<br>
Additionally, as a tangential point, these entries do not explain what<br>
*is* done instead of displaying the first-run or post-update page if the<br>
value is blank.<br>
<br>
It seems intuitive that if a URL is specified for either of these, that<br>
page will be displayed at the relevant time instead of the built-in<br>
default. If the value is blank, I can guess that maybe it will display<br>
the defined home page instead, or the new-tab page, or about:blank, or<br>
(for upgrade) the last set of open tabs - or maybe that the page in<br>
question is always shown in a separate tab, in addition to whatever<br>
other tabs may appear, and that that extra tab will simply not be<br>
opened. However, nothing here tells me which one (if indeed it's any of<br>
those), so I can't decide what value to set this to without testing that<br>
behavior.<br>
<br>
A brief indication of what the behavior here will be - e.g., if it's the<br>
"separate tab" alternative, something like "If the value is blank, no<br>
first-run-page tab will be opened." - would be helpful to the<br>
uninitiated reader.<br>
<br>
- -- <br>
Andrew J. Buehler<br>
-----BEGIN PGP SIGNATURE-----<br>
<br>
iQJJBAEBCgAzFiEEJCOqsZEc2qVC44pUBKk1jTQoMmsFAl+m99oVHHdhbmRlcmVy<br>
QGZhc3RtYWlsLmZtAAoJEASpNY00KDJrnBsP/AjhcpbvKoZR1Fh03G2/seU+jDVh<br>
Rrduf04UqJA494S0un472zvNXfVbff+hQTjtqrXjcPgqfDd3gdf0uy5JMyrVEFyJ<br>
ggpZ5Twr/urY8pPgfO73pF0ufaKrKOGn5sl3fAtkUJa7BR4z7tcfCM3f4JRSZj4C<br>
BLR2eADEWo+mh6+mSg81bzXYWolFwaDPC28Q8e18wypOWIOW78fyXyx94Ce66bX7<br>
i1LcMincMxS/Hfea/OnY8w0qR3MTV/HUzhRo7W/nLymSj1f7Q8wxA9eVSCNERoBJ<br>
i7wUEqxrHCWWtnhVapBw2RBIRe6CuSYlwxGm+QjsTrnP+uNq/djUzRsSQRypmTA6<br>
GrTc9kCBdqDOB1CC+dsCKA5sJo3S1uw04mTinrwqugSjP5RospCpECQrx5AUPADk<br>
P8EJZyDdEwCuSm4t9wxoEIjP19bWcpihtUl7C+IYgebeFsLli7aaGabuVa+OfyG2<br>
flodgU/mqeAUi1nCab0XKzFkb6X/OTUH1NvDIhwqyqF64OGtvz4/rwHXbdztrIvQ<br>
FQ8E1TYMNJJoXnD8v1Q55ygU3IYFJazqrh2ra/wDRDkzhVGS42IEejZmYwWfSw5o<br>
okLNli8YFolmiP1VrQdHd9O+yapYd5XghoYa1iu1MRfAi7tkVhu3M92XkCt2/RK/<br>
WuGlniGOmf2OA2HJ<br>
=8Ruf<br>
-----END PGP SIGNATURE-----<br>
_______________________________________________<br>
Enterprise mailing list<br>
<a href="mailto:Enterprise@mozilla.org" target="_blank">Enterprise@mozilla.org</a><br>
<a href="https://mail.mozilla.org/listinfo/enterprise" rel="noreferrer" target="_blank">https://mail.mozilla.org/listinfo/enterprise</a><br>
<br>
To unsubscribe from this list, please visit <a href="https://mail.mozilla.org/listinfo/enterprise" rel="noreferrer" target="_blank">https://mail.mozilla.org/listinfo/enterprise</a> or send an email to <a href="mailto:enterprise-request@mozilla.org" target="_blank">enterprise-request@mozilla.org</a> with a subject of "unsubscribe"<br>
</blockquote></div>