How To Create And Use The User.js In Windows
From Holger Metzger's tips and tricks:
"Netscape's new super-configuration file is a plaintext file called user.js.
Netscape itself still uses the prefs.js like previous versions, but the 100% user-controlled user.js has precedence, that means any entry in user.js replaces any similar entry in prefs.js.
Netscape on the other hand does not have the right to manipulate user.js, that means it will not be overwritten or changed by Netscape in any way.
That's why changes to user.js can be made while Netscape 7 is running.
User.js lives in your profile directory.
Usually user.js is not there when you install Netscape, it has to be created using notepad or any other plaintext editor."
1. Creation
Without extensions hidden
(Folder Options | View, uncheck "Hide extensions for known file types")
[I recommend this]
- Open a new Notepad session.
- go to File -> Save as..
- name it "user.js", and save it to your profile directory.
(Warning: make sure the file isn't really called "user.js.txt")
With hidden extensions
- Find your profile directory.
- Right-click on the file called "prefs", and select edit.
- after the file has been opened (probably in Notepad), go to File -> Save as..
- name the file "user", and place it in the same directory as "prefs".
- Close Notepad, right-click on "user", and select edit.
- Highlight all the content in the file, and delete.
- Save file
2. Using the user.js
To add a line to the user.js, just copy and paste it, or type it
manually. There are things to look out for:
- every line is in fact "a new line". Even if the previous line is 2 characters long; press enter, so the cursor goes to the next line down and then paste the line
- after you've added a line, do not press enter. The cursor should end up at the end of the last line.
- it is case sensitive
When done, save your changes.
I would also recommend installing ChromEdit, which will allow you to edit your user files via Netscape/Mozilla user interface.