Updated 2.1 User.js (markdown)

Thorin-Oakenpants
2023-09-02 02:25:28 +00:00
parent 0721717c01
commit 9965b6248f

@ -6,9 +6,13 @@
Prefs are settings that control Firefox's behavior. Some can be set from `☰ Settings` and all can be found in `about:config`, except for what are called `hidden preferences` which will only show when they are set by the user.
#### 🟪 WHERE
The `user.js` file resides in the root directory of a profile. To find your profile directory, go to `about:support` and about the 10th item listed is `Profile Folder` with an `Open Folder` button.
#### 🟪 SYNTAX
A `user.js` file is a javascript file and is text based. It resides in the root directory of a profile, and is used to set preferences for that profile when Firefox starts. You can update the user.js while Firefox is open, it is only ever read when Firefox starts.
A `user.js` file is a javascript file and is text based, and is used to set preferences for that profile when Firefox starts. You can update the user.js while Firefox is open, it is only ever read when Firefox starts.
Prefs must follow Mozilla's syntax which is `user_pref("prefname", value);`
- the pref name must be wrapped in quotation marks