From f48da4a50d6f3f3c16e406a014f21f9bdd382f3e Mon Sep 17 00:00:00 2001 From: Thorin-Oakenpants Date: Sun, 30 Jan 2022 10:44:29 +0000 Subject: [PATCH] Updated 3.1 Overrides (markdown) --- 3.1-Overrides.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/3.1-Overrides.md b/3.1-Overrides.md index 84e2678..d074f70 100644 --- a/3.1-Overrides.md +++ b/3.1-Overrides.md @@ -1,12 +1,12 @@ 🟩 Previous: [Backup](https://github.com/arkenfox/user.js/wiki/2.2-Backup) -🟥 Summary: **Everyone will need some "overrides" in a `user-overrides.js`**. Directly modifying arkenfox's contents is not recommended +🟥 Summary: **Everyone will need some "overrides" in a `user-overrides.js`**. Directly modifying arkenfox's contents is not recommended. --- Arkenfox flips 140+ prefs. With that, you will get some inconvenience and breakage. Everybody's mileage and threat model will differ - **EVERYONE** will need some "overrides". You do this by keeping them in a separate `user-overrides.js` file in your profile folder, so updating doesn't wipe them but instead appends them. -Remember how a user.js applies prefs in the order they are written? So if a pref was listed a second time, then the second value (yours) would override the first (arkenfox's) +Remember how a user.js applies prefs in the order they are written? So if a pref was listed a second time, then the second value (yours) would override the first (arkenfox's). 🔹 user.js (live arkenfox) ```js @@ -19,7 +19,7 @@ user_pref("pref.name.example", "purple") user_pref("pref.name.example", "green") // I like green ``` -The updater gets the current live arkenfox 1 and appends your overrides, and then it compares that to the current user.js in your profile. If it's different, it replaces it. In this example, Firefox will apply the value of `green` when Firefox is started +The updater gets the current live arkenfox 1 and appends your overrides, and then it compares that to the current user.js in your profile. If it's different, it replaces it. In this example, Firefox will apply the value of `green` when Firefox is started. 🔹 user.js (yours after updater runs) ```js @@ -29,7 +29,7 @@ user_pref("pref.name.example", "purple") user_pref("pref.name.example", "green") // I like green ``` -1 Arkenfox changes to the live master happen once per release: all changes are done in a separate branch and only merged when finished +1 Arkenfox changes to the live master happen once per release: all changes are done in a separate branch and only merged when finished. ---