mirror of
https://github.com/arkenfox/user.js.git
synced 2024-11-25 20:11:38 +01:00
add parseError example picture
parent
647b87749c
commit
35468c58a2
@ -6,7 +6,7 @@ We have an "unofficial" sticky issue [here](https://github.com/arkenfox/user.js/
|
||||
|
||||
### :small_orange_diamond: Check your `"parrot"` and console
|
||||
|
||||
When you modify your user.js, such as adding any overrides, sometimes syntax errors happen. Open about:config and check your `"parrot"`. Arkenfox uses `_user.js.parrot` throughout the user.js. You can use any pref name you like, as long as it's different (to avoid confusion). Note: [not all](https://blog.mozilla.org/nnethercote/2018/03/09/a-new-preferences-parser-for-firefox/) syntax errors cause the user.js parsing to be aborted. After Firefox opens, open the Browser Console (`Ctrl+Shift+J`) and check for any pref-parsing related warnings/errors.
|
||||
When you modify your user.js, such as adding any overrides, sometimes syntax errors happen. Open about:config and check your `"parrot"`. Arkenfox uses `_user.js.parrot` throughout the user.js. You can use any pref name you like, as long as it's different (to avoid confusion).
|
||||
|
||||
example
|
||||
```js
|
||||
@ -19,6 +19,9 @@ user_pref("browser.tabs.extraDragSpace", false); // stop theme turning drag spac
|
||||
|
||||
user_pref("canary.in.a.coalmine", "overrides: success");
|
||||
```
|
||||
**Note**: [not all](https://blog.mozilla.org/nnethercote/2018/03/09/a-new-preferences-parser-for-firefox/) syntax errors cause the user.js parsing to be aborted. After Firefox opens, open the Browser Console (`Ctrl+Shift+J`) and check for any **pref-parsing related** warnings/errors, fe:<br>
|
||||
|
||||
![](https://github.com/arkenfox/user.js/blob/master/wikipiki/parseError.png)
|
||||
|
||||
### :small_orange_diamond: Use the Browser Console
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user