Updated 3.2 Applying Your Changes (markdown)

Thorin-Oakenpants 2020-09-15 11:20:16 +00:00
parent 5e3aca6c99
commit 7044e3d4ba

@ -4,9 +4,9 @@ Keeping track of all **your** changes/additions and keeping up to date with all
### :small_orange_diamond: The Solution ### :small_orange_diamond: The Solution
Keep your changes in a SEPARATE file as your master copy (see the example below), and manually append them to the end of the `user.js` when you ~~update~~ replace it with the latest version. This simplifies updating the `user.js`. Then all you have to do is follow our easy, succinct [changelogs](https://github.com/ghacksuserjs/ghacks-user.js/search?q=label%3Achangelog&type=Issues&utf8=✓) to discover new items and changes. Keep your changes in a SEPARATE file as your master copy (see the example below), and manually append them to the end of the `user.js` when you ~~update~~ replace it with the latest version. This simplifies updating the `user.js`. Then all you have to do is follow our easy, succinct [changelogs](https://github.com/arkenfox/user.js/search?q=label%3Achangelog&type=Issues&utf8=?) to discover new items and changes.
We have created some [updater scripts](https://github.com/ghacksuserjs/ghacks-user.js/wiki/3.3-Updater-Scripts) to do all of this for you - i.e backup your `user.js`, create a new `user.js` using our current master, and append your overrides - BUT you need to follow our file naming convention. We have created some [updater scripts](https://github.com/arkenfox/user.js/wiki/3.3-Updater-Scripts) to do all of this for you - i.e backup your `user.js`, create a new `user.js` using our current master, and append your overrides - BUT you need to follow our file naming convention.
Note the caveats below including having to manually reapply any one-char section switches if they differ from our master. Note the caveats below including having to manually reapply any one-char section switches if they differ from our master.
@ -14,7 +14,7 @@ Note the caveats below including having to manually reapply any one-char section
> :small_blue_diamond: `user-overrides.js` [recommended] > :small_blue_diamond: `user-overrides.js` [recommended]
> >
> Create a `user-overrides.js` file in your profile directory. This acts as the master copy of all your tweaks, and our updater scripts will auto append its contents for you to the end of the `user.js` after it downloads the current `ghacks user.js` master. > Create a `user-overrides.js` file in your profile directory. This acts as the master copy of all your tweaks, and our updater scripts will auto append its contents for you to the end of the `user.js` after it downloads the current `arkenfox user.js` master.
> :small_blue_diamond: `profile/preferences/*.js` [old method] > :small_blue_diamond: `profile/preferences/*.js` [old method]
> >
@ -24,7 +24,7 @@ Note the caveats below including having to manually reapply any one-char section
Lets say you don't want to limit fonts and need mathml Lets say you don't want to limit fonts and need mathml
- In your `profile/user.js` (which is the ghacks user.js) you have - In your `profile/user.js` (which is the arkenfox user.js) you have
```js ```js
/* 1401: disable websites choosing fonts (0=block, 1=allow) ***/ /* 1401: disable websites choosing fonts (0=block, 1=allow) ***/
user_pref("browser.display.use_document_fonts", 0); user_pref("browser.display.use_document_fonts", 0);