mirror of
https://github.com/arkenfox/user.js.git
synced 2024-11-29 22:06:55 +01:00
Updated 3.2 Applying Your Changes (markdown)
parent
cef46b1511
commit
27deb5fd95
@ -22,28 +22,41 @@ Note the caveats below including having to manually reapply any one-char section
|
|||||||
|
|
||||||
### :small_orange_diamond: Example
|
### :small_orange_diamond: Example
|
||||||
|
|
||||||
Lets say you don't want to limit fonts and need mathml
|
Lets say you would like to enable session restore
|
||||||
|
|
||||||
- In your `profile/user.js` (which is the arkenfox 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) ***/
|
/* 0102: set START page (0=blank, 1=home, 2=last visited page, 3=resume previous session) ***/
|
||||||
user_pref("browser.display.use_document_fonts", 0);
|
user_pref("browser.startup.page", 0);
|
||||||
|
|
||||||
/* 1405: disable WOFF2 (Web Open Font Format) ***/
|
/* 2803: set what items to clear on shutdown ... ***/
|
||||||
user_pref("gfx.downloadable_fonts.woff2.enabled", false);
|
user_pref("privacy.clearOnShutdown.cookies", true);
|
||||||
|
user_pref("privacy.clearOnShutdown.formdata", true); // Form & Search History
|
||||||
|
|
||||||
/* 2663: disable MathML (Mathematical Markup Language) (FF51+) ***/
|
/* 2804: reset default items to clear with Ctrl-Shift-Del (to match 2803) ... ***/
|
||||||
user_pref("mathml.disabled", true);
|
user_pref("privacy.cpd.cookies", true);
|
||||||
|
user_pref("privacy.cpd.formdata", true); // Form & Search History
|
||||||
```
|
```
|
||||||
|
|
||||||
- In a `profile/user-overrides.js` you override them
|
- In a `profile/user-overrides.js` you override them
|
||||||
|
- The sample below is from our [override recipes](https://github.com/arkenfox/user.js/issues/1080)
|
||||||
|
|
||||||
```js
|
```js
|
||||||
/*** MY OVERRIDES ***/
|
/*** MY OVERRIDES ***/
|
||||||
user_pref("_user.js.parrot", "overrides section syntax error");
|
user_pref("_user.js.parrot", "overrides section syntax error");
|
||||||
user_pref("browser.display.use_document_fonts", 1); // 1401
|
|
||||||
user_pref("gfx.downloadable_fonts.woff2.enabled", true); //1405
|
/* override recipe: enable session restore ***/
|
||||||
user_pref("mathml.disabled", false); // 2663
|
user_pref("browser.startup.page", 3); // 0102
|
||||||
user_pref("_user.js.parrot", "SUCCESS");
|
// user_pref("browser.privatebrowsing.autostart", false); // 0110 required if you had it set as true
|
||||||
|
// user_pref("browser.sessionstore.privacy_level", 0); // 1021 optional [to restore extras like cookies/formdata]
|
||||||
|
user_pref("privacy.clearOnShutdown.history", false); // 2803
|
||||||
|
// user_pref("privacy.clearOnShutdown.cookies", false); // 2803 optional
|
||||||
|
// user_pref("privacy.clearOnShutdown.formdata", false); // 2803 optional
|
||||||
|
user_pref("privacy.cpd.history", false); // 2804 to match when you use Ctrl-Shift-Del
|
||||||
|
// user_pref("privacy.cpd.cookies", false); // 2804 optional
|
||||||
|
// user_pref("privacy.cpd.formdata", false); // 2804 optional
|
||||||
|
|
||||||
|
user_pref("_user.js.parrot", "overrides section successful");
|
||||||
```
|
```
|
||||||
|
|
||||||
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.
|
||||||
@ -67,9 +80,9 @@ You will need to monitor your small set of overrides due to Firefox changes. Jus
|
|||||||
|
|
||||||
```js
|
```js
|
||||||
/*** MY OVERRIDES ***/
|
/*** MY OVERRIDES ***/
|
||||||
user_pref("browser.display.use_document_fonts", 1); // 1401
|
user_pref("browser.startup.page", 3); // 0102 = session restore
|
||||||
user_pref("gfx.downloadable_fonts.woff2.enabled", true); //1405
|
user_pref("privacy.clearOnShutdown.history", false); // 2803 = session restore needs history
|
||||||
user_pref("mathml.disabled", false); // 2663
|
user_pref("privacy.cpd.history", false); // 2804 = don't manually clear history
|
||||||
|
|
||||||
/*** MAKE SURE THESE ARE COMMENTED OUT AND RESET ***/
|
/*** MAKE SURE THESE ARE COMMENTED OUT AND RESET ***/
|
||||||
// 2668: extensions.enabledScopes
|
// 2668: extensions.enabledScopes
|
||||||
|
Loading…
Reference in New Issue
Block a user