mirror of
https://github.com/arkenfox/user.js.git
synced 2024-11-24 19:41:38 +01:00
Updated 2.1 User.js (markdown)
parent
c2bdaa88aa
commit
585fce43bd
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
||||||
🟪 SYNTAX
|
#### 🟪 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. 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.
|
||||||
|
|
||||||
@ -41,7 +41,9 @@ user_pref("preference.name", "not commented out"); // this is an ACTIVE pref and
|
|||||||
// user_pref("preference.name", "commented out"); // this is an INACTIVE pref and will NOT be applied
|
// user_pref("preference.name", "commented out"); // this is an INACTIVE pref and will NOT be applied
|
||||||
```
|
```
|
||||||
|
|
||||||
🟪 USAGE
|
---
|
||||||
|
|
||||||
|
#### 🟪 USAGE
|
||||||
|
|
||||||
- 🔷 Firefox starts
|
- 🔷 Firefox starts
|
||||||
- It reads the ACTIVE prefs in `user.js`, in order, and writes them to `prefs.js`
|
- It reads the ACTIVE prefs in `user.js`, in order, and writes them to `prefs.js`
|
||||||
|
Loading…
Reference in New Issue
Block a user