mirror of
https://github.com/arkenfox/user.js.git
synced 2024-11-22 10:31:40 +01:00
Updated 5.1 Updater [Options] (markdown)
parent
facf414576
commit
99d15738d9
@ -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:<br><br>
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user