From 99d15738d90c9afebe04c1d481f597d2aeb296a9 Mon Sep 17 00:00:00 2001 From: Thorin-Oakenpants Date: Mon, 31 Jan 2022 05:04:23 +0000 Subject: [PATCH] Updated 5.1 Updater [Options] (markdown) --- 5.1-Updater-[Options].md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/5.1-Updater-[Options].md b/5.1-Updater-[Options].md index 89b0f5e..203f285 100644 --- a/5.1-Updater-[Options].md +++ b/5.1-Updater-[Options].md @@ -79,7 +79,8 @@ the updater will auto-update itself on execution - **v4.5+ supports commenting-out active user_pref lines** (see example below) The following example illustrates how `-merge` works:

-arkenfox user.js file contains this: + +🔹 arkenfox user.js file contains this: ```js /* 0103: set your "home" page (see 0102) ***/ // user_pref("browser.startup.homepage", "https://www.example.com/"); @@ -93,7 +94,8 @@ user_pref("security.tls.version.max", 4); // 4 = allow up to and including TLS 1 /* 2503: disable giving away network info (FF31+) */ user_pref("dom.netinfo.enabled", false); ``` -user-overrides.js: + +🔹 user-overrides.js: ```js /*** my user.js overrides ***/ user_pref("browser.startup.homepage", "https://www.foo.bar/"); // 01xx @@ -102,7 +104,8 @@ user_pref("dom.netinfo.enabled", false); // 25xx - enforcing false //// --- comment-out --- 'security.tls.version.max' -1202- wait until FF enables TLS1.3 for everyone ``` -final user.js after update + merging: + +🔹 final user.js after update + merging: ```js /* 0103: set your "home" page (see 0102) ***/ // user_pref("browser.startup.homepage", "https://www.example.com/"); @@ -124,7 +127,8 @@ user_pref("browser.startup.homepage", "https://www.foo.bar/"); // 01xx //// --- comment-out --- 'security.tls.version.max' -1202- wait until FF enables TLS1.3 for everyone ``` -a couple things to note here: + +🔹 a couple things to note here: * 0103 was not merged because it's inactive in the user.js. Instead the override was appended at the bottom. * 0510 was merged with the override, including the comment from the overrides file. * 1202 was commented out and the original value and comment are kept intact