mirror of
https://github.com/arkenfox/user.js.git
synced 2024-11-22 18:41:38 +01:00
Updated 1.6 Firefox Android (markdown)
parent
982e871076
commit
d275b5835d
@ -75,9 +75,9 @@ If the device is not seen (note any settings changes for reversal later): Click
|
|||||||
|
|
||||||
:small_blue_diamond: 2: Remote access
|
:small_blue_diamond: 2: Remote access
|
||||||
|
|
||||||
- Open `about:config` page on Android Firefox
|
- Open `about:support` page on Android Firefox
|
||||||
* It will show under `Tabs` on Desktop Firefox too.
|
* It will show under `Tabs` on Desktop Firefox too.
|
||||||
- Click `Inspect` for `about:config` (Tabs) and this will open a new tab `about:devtools-toolbox?id=`
|
- Click `Inspect` for `about:support` (Tabs) and this will open a new tab `about:devtools-toolbox?id=`
|
||||||
- Select `Console` if not already marked
|
- Select `Console` if not already marked
|
||||||
|
|
||||||
:small_blue_diamond: 3: Inject the preferences
|
:small_blue_diamond: 3: Inject the preferences
|
||||||
@ -107,7 +107,7 @@ user_pref("general.aboutConfig.enable", true); // unblock about:config in newer
|
|||||||
|
|
||||||
- The script sets a function called `user_pref` so wherever that appears in the rest of the code (i.e. in the part from your `user.js`) that function is called to set the user preference. Any code for preferences that are commented out will not be run. If a preference name does not exist or is mistyped it will still be created without any warnings.
|
- The script sets a function called `user_pref` so wherever that appears in the rest of the code (i.e. in the part from your `user.js`) that function is called to set the user preference. Any code for preferences that are commented out will not be run. If a preference name does not exist or is mistyped it will still be created without any warnings.
|
||||||
- After `Run` (or Ctrl+ENTER) split-screen `Console` view on the right will say "undefined" or show errors.
|
- After `Run` (or Ctrl+ENTER) split-screen `Console` view on the right will say "undefined" or show errors.
|
||||||
- if you get a `ReferenceError: user_pref is not defined`, reload about:config on the phone and then run the script again
|
- if you get a `ReferenceError: user_pref is not defined`, reload about:support on the phone and then run the script again
|
||||||
- If errors occur on a line, the script might have stopped at that line, and you will need to correct the error in the code and re-run.
|
- If errors occur on a line, the script might have stopped at that line, and you will need to correct the error in the code and re-run.
|
||||||
- Check your Android Firefox `about:support` and `about:config pages` for your modified preferences, and see if the `_user.js.parrot` preference is showing success.
|
- Check your Android Firefox `about:support` and `about:config pages` for your modified preferences, and see if the `_user.js.parrot` preference is showing success.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user