Updated 2.1 User.js (markdown)

Thorin-Oakenpants 2023-09-02 02:31:05 +00:00
parent 61273f9b9f
commit c419c9804a

@ -6,13 +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
#### 🟪 WHERE DOES IT GO
A `user.js` (and your `user-overrides.js` and prefsCleaner) 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.
See the [Apply](https://github.com/arkenfox/user.js/wiki/3.4-Apply-&-Update-&-Maintain#-apply) section
#### 🟪 SYNTAX
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.
A `user.js` file is a javascript file and is text based, and resides in your profile folder. It 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