Updated 3.2 Applying Your Changes (markdown)

Thorin-Oakenpants 2017-12-26 12:11:59 +13:00
parent afa854b3eb
commit 6f9eb701ef

@ -10,6 +10,8 @@ We have created some [updater scripts](https://github.com/ghacksuserjs/ghacks-us
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.
`PRO TIP` It is a good idea to add our parrot pref for troubleshooting (see example below)
> :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 `ghacks user.js` master.
@ -37,9 +39,11 @@ user_pref("mathml.disabled", true);
- In a `profile/user-overrides.js` you override them - In a `profile/user-overrides.js` you override them
```js ```js
/*** MY OVERRIDES ***/ /*** MY OVERRIDES ***/
user_pref("_user.js.parrot", "overrides section syntax error");
user_pref("browser.display.use_document_fonts", 1); // 1401 user_pref("browser.display.use_document_fonts", 1); // 1401
user_pref("gfx.downloadable_fonts.woff2.enabled", true); //1405 user_pref("gfx.downloadable_fonts.woff2.enabled", true); //1405
user_pref("mathml.disabled", false); // 2663 user_pref("mathml.disabled", false); // 2663
user_pref("_user.js.parrot", "SUCCESS");
``` ```
The next time you update the `profile/user.js` and replace it, all you have to do is append the contents of your existing tweaks from `profile/user-overrides.js`. Or if you use our updater scripts, it will do this manual step for you as well. The next time you update the `profile/user.js` and replace it, all you have to do is append the contents of your existing tweaks from `profile/user-overrides.js`. Or if you use our updater scripts, it will do this manual step for you as well.