Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to override top-sites.json from omni.ja in ESR ?

  • 1 reply
  • 0 have this problem
  • 12 views
  • Last reply by Mike Kaply

more options

I am going to deploy Firefox ESR in an environment where the default topsites provided by the top-sites.json included in omni.ja (namely Wikipedia, youtube and reddit) are not desirable, and I want to provide my own. I cannot find a way to do so.

Setting the browser.newtabpage.activity-stream.default.sites preference through the policies.json file does not work (the pref gets loaded but it does not influence the actual default topsites, which is not surprising since the default value of this pref has nothing to do with the actual default topsites).

Note that I am not seeking to remove the topsites from the homepage entirely (as would be achieved through the FirefoxHome/TopSites policy), I want to change the default ones.

I tried creating my own top-sites.json in /lib/firefox-esr/browser/ where omni.ja resides, but to no avail.

I am going to deploy Firefox ESR in an environment where the default topsites provided by the top-sites.json included in omni.ja (namely Wikipedia, youtube and reddit) are not desirable, and I want to provide my own. I cannot find a way to do so. Setting the browser.newtabpage.activity-stream.default.sites preference through the policies.json file does not work (the pref gets loaded but it does not influence the actual default topsites, which is not surprising since the default value of this pref has nothing to do with the actual default topsites). Note that I am not seeking to remove the topsites from the homepage entirely (as would be achieved through the FirefoxHome/TopSites policy), I want to change the default ones. I tried creating my own top-sites.json in /lib/firefox-esr/browser/ where omni.ja resides, but to no avail.

All Replies (1)

more options

If you lock it in policies.json, it works:

{

   "policies": {
       "Preferences": {
           "browser.newtabpage.activity-stream.default.sites": {
               "Value": "https://mike.kaply.com",
               "Status": "locked"
           }
           
       }
   }

}

Helpful?

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.