From 9965b6248f4708865f8500c626bd2b78744257c2 Mon Sep 17 00:00:00 2001 From: Thorin-Oakenpants Date: Sat, 2 Sep 2023 02:25:28 +0000 Subject: [PATCH] Updated 2.1 User.js (markdown) --- 2.1-User.js.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/2.1-User.js.md b/2.1-User.js.md index cbf16b2..2e50f66 100644 --- a/2.1-User.js.md +++ b/2.1-User.js.md @@ -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