[Mozilla Enterprise] Policy for Homepage conflict with sessionrestore settings?

Stephen Dowdy sdowdy at ucar.edu
Wed Oct 24 21:50:12 UTC 2018


So, i finally got around to creating a policies.json for ff 63.0

However, while i had the "restore my pages" sessionrestore stuff configured in my prefs, the policies bit:

    "Homepage": {
      "Additional": [
        "http://www.ZZZZZZZZZZZ",
        "http://www.YYYYYYYYYYY"
      ],
      "URL": "http://www.XXXXXXXXXXXXX"
    },

seems to have knocked all my sessionrestore tabs out completely and only left me with the Policy Home pages :-(
(at least the specified homepages were setup as tabs, so that part worked)

I still also have autoconfig entries (in mozilla.cfg) :

  defaultPref("startup.homepage_welcome_url", "data:text/plain,startup.homepage_welcome_url=http://www.YYYYYYYYYYYYY/|http://www.XXXXXXXXXXXX/|http://www.ZZZZZZZZZZZZ/");
  defaultPref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=http://www.YYYYYYYYYYYYY/|http://www.XXXXXXXXXXXX/|http://www.ZZZZZZZZZZZZ/");
(I presume you're going to deprecate those at some point?)

along with us defaulting users to:

  defaultPref("browser.sessionstore.enabled", true);
  defaultPref("browser.sessionstore.resume_from_crash", true);
  // 0=<blank>, 1=HomePage, 2=<lastvisited> , 3=SessionRestore
  defaultPref("browser.startup.page", 3);

My profile still had sessionrestore set in it for years, but POOF! All gone.
(Side Note:  about:about doesn't even have an about:sessionrestore item displayed !?  I note my running 62.0.3 instance ALSO doesn't display that.  Is Mozilla trying to deprecate that functionality as well?  I really dislike the "Hide Things From The Users" mentality)

I went in to Edit->Preferences (Linux), and  re-checked:

    General
    Startup
    [X] Restore previous session

opened a few more tabs, then restarted, and it seems to now be sticking again, but i'm not thrilled to have lost hundreds of active tabs (yeah, i'm one of those people).

So..... How do i keep from blowing away my user's (and more importantly MY ;}) SessionRestore settings if i use Homepage policy settings?

thanks,
--stephen

-- 
Stephen Dowdy  -  Systems Administrator  -  NCAR/RAL
303.497.2869   -  sdowdy at ucar.edu        -  http://www.ral.ucar.edu/~sdowdy/



More information about the Enterprise mailing list