Editing Netscape PREFS.JS File
Keywords: Netscape PREFS.JS
Question:
Has anyone concocted search/replace script for items in the Netscape PREFS.JS file? This file format is different from standard INI files. Would be interested in any examples you might have....Answer:
In our network Netscape install, I build the Prefs.JS file from scratch for each user, using machine and user information (as well as departmental information as needed).To find out what goes into a Prefs.JS file, simply create one profile to begin with, and go into Edit Preferences and make the desired changes. I change a few things away from default and then back again so that the lines appear explicitly in Prefs.JS. Then I simply use FileOpen("Prefs.JS", "WRITE") to the appropriate user directory.
Since we are talking in the order of 30 lines or so, it is not noticed in the midst of the install configurations.
Article ID: W13354Filename: Netscape PREFS.JS file.txt