Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

pipetogrep

macrumors 6502
Original poster
Jan 27, 2021
361
505
Hi all,

So now that we have a working TenFourFox toolkit that eases building, I'm curious how I would include the prefs.js file from TenFourFoxPep. I searched through the source code for "prefs.js" but the only match I found was blank with a comment saying not to edit it. Does the browser autogenerate it on first launch?

Thanks for any help and advice.
 
The browser does indeed auto-generate a default prefs.js even when one is not present. My guess is that perhaps there is a directory for the prefs.js default template somewhere in the source code prior to building so that the compiler can integrate the preferences into the browser as default? Alternatively, maybe it is a file path flag in the compilation settings?

To this end, making some use of the 'defaultPref' option as described in the following article could be useful ...

 
  • Like
Reactions: Project Alice
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.