mirror of
https://github.com/arkenfox/user.js.git
synced 2024-11-29 22:06:55 +01:00
Updated 1.1 Overview (markdown)
parent
953ddf59ab
commit
d698fa6377
@ -17,6 +17,7 @@ Here is how it basically works:
|
|||||||
* If the preference is already in `prefs.js` it will overwrite it
|
* If the preference is already in `prefs.js` it will overwrite it
|
||||||
* It parses the `user.js` in the order it is written, i.e if the same preference is listed twice with two different values, the last one will be applied last
|
* It parses the `user.js` in the order it is written, i.e if the same preference is listed twice with two different values, the last one will be applied last
|
||||||
* It will abort parsing the file if it encounters a syntax error, but will still apply any content up to that error
|
* It will abort parsing the file if it encounters a syntax error, but will still apply any content up to that error
|
||||||
|
* :exclamation: In FF60+, not all syntax errors cause parsing to abort, see [this](https://blog.mozilla.org/nnethercote/2018/03/09/a-new-preferences-parser-for-firefox/) article
|
||||||
* It will not abort if you apply a data mismatch e.g if you set an integer instead of a string, it will actually write that data mismatch into `prefs.js`
|
* It will not abort if you apply a data mismatch e.g if you set an integer instead of a string, it will actually write that data mismatch into `prefs.js`
|
||||||
* The `user.js` is now ignored until the next time Firefox starts
|
* The `user.js` is now ignored until the next time Firefox starts
|
||||||
* Firefox opens
|
* Firefox opens
|
||||||
|
Loading…
Reference in New Issue
Block a user