X
Tap here to go to the mobile version of the site.

Support Forum

How add to pref.js home page settings ( \Mozilla Firefox\defaults\pref) ?

Posted

I want remove about:preferences#home , these checks: Web Search, Top Sites, Recommended by Pocket, Highlights,Snippets and skip Let’s get started tour

I do these steps manually, any way add these to pref.js for avoid uncheck it every time?

I want remove about:preferences#home , these checks: Web Search, Top Sites, Recommended by Pocket, Highlights,Snippets and skip Let’s get started tour I do these steps manually, any way add these to pref.js for avoid uncheck it every time?

Modified by bernard321

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:62.0) Gecko/20100101 Firefox/62.0

More Information

Question owner

dellll

dellll

Modified by bernard321

jscher2000
  • Top 10 Contributor
8703 solutions 71122 answers

Hi, what do you mean by "every time"? Firefox should remember those changes indefinitely.

To get a copy of those customized preferences as they appear in prefs.js, try waiting 2 minutes after making your settings changes, and then open a copy of prefs.js, look for lines containing browser.newtabpage and back those up for future reference.


Also, it seems you are removing everything from the page. If so, have you considered using the setting in the section above that to set New tabs to "Blank page"? That might be simpler.

Hi, what do you mean by "every time"? Firefox should remember those changes indefinitely. To get a copy of those customized preferences as they appear in prefs.js, try waiting 2 minutes after making your settings changes, and then open a copy of prefs.js, look for lines containing '''browser.newtabpage''' and back those up for future reference. ---- Also, it seems you are removing everything from the page. If so, have you considered using the setting in the section above that to set '''New tabs''' to "Blank page"? That might be simpler.
jscher2000
  • Top 10 Contributor
8703 solutions 71122 answers

I assumed you already had one or both of these references, but just in case:

I assumed you already had one or both of these references, but just in case: * [[Customizing Firefox Using AutoConfig]] * http://kb.mozillazine.org/Locking_preferences
cor-el
  • Top 10 Contributor
  • Moderator
17483 solutions 158000 answers

This includes these prefs:

browser.newtabpage.activity-stream.showSearch
browser.newtabpage.activity-stream.showTopSites [TOP SITES]
browser.newtabpage.activity-stream.feeds.section.highlights [HIGHLIGHTS]
browser.newtabpage.activity-stream.feeds.section.topstories [POCKET]
browser.newtabpage.activity-stream.feeds.snippets [SNIPPETS]
browser.onboarding.enabled = false (Firefox icon)
This includes these prefs: <pre> browser.newtabpage.activity-stream.showSearch browser.newtabpage.activity-stream.showTopSites [TOP SITES] browser.newtabpage.activity-stream.feeds.section.highlights [HIGHLIGHTS] browser.newtabpage.activity-stream.feeds.section.topstories [POCKET] browser.newtabpage.activity-stream.feeds.snippets [SNIPPETS] browser.onboarding.enabled = false (Firefox icon) </pre>