mirror of
https://github.com/arkenfox/user.js.git
synced 2024-11-29 05:46:57 +01:00
Updated 3.1 Resetting Inactive Prefs [Scripts] (markdown)
parent
57b1d0659c
commit
69b327f5c6
@ -37,33 +37,7 @@ Our scratchpad cleanup scripts (`arkenfox-clear-*.js`) are stored [here](https:/
|
|||||||
|
|
||||||
The REMOVED script is the ONLY single point of reference for everything we once tinkered with, but is now gone. It's a short list, but highly recommended that you manually check them or run the script.
|
The REMOVED script is the ONLY single point of reference for everything we once tinkered with, but is now gone. It's a short list, but highly recommended that you manually check them or run the script.
|
||||||
|
|
||||||
<details><summary><b>How To Run Our Scratchpad Cleanup Scripts prior to FF72</b></summary><p>
|
<details><summary><b>How To Run Our Scratchpad Cleanup Scripts</b></summary><p>
|
||||||
|
|
||||||
* Close Firefox and [backup](https://github.com/arkenfox/user.js/wiki/1.2-Backing-Up) your profile
|
|
||||||
* (Optional) Disable the network connection <sup>1</sup>
|
|
||||||
* Start Firefox
|
|
||||||
* Open the Developer>Browser Console>Logging for any output
|
|
||||||
* the script will list every pref it resets in the console
|
|
||||||
* it only resets prefs if they are `user set`/ `modified`
|
|
||||||
* Load `about:config` (so that Services is available for scratchpad)
|
|
||||||
* Read that again :exclamation: the `about:config` tab must have focus in order to run the script
|
|
||||||
* Press Shift+F4 to open the Scratchpad and clear the contents
|
|
||||||
* Open **your** script (`.js` file) or paste it
|
|
||||||
* If pasting is not allowed, change `devtools.selfxss.count` to a high number e.g. `100`
|
|
||||||
* If you edited the list of prefs in the script, make sure the last pref does **not** have a trailing comma
|
|
||||||
* Run it
|
|
||||||
* Check the console to see which prefs were reset
|
|
||||||
* if you see something you want to keep, add it to your user.js (or your overrides)
|
|
||||||
* Restart Firefox
|
|
||||||
* Some prefs require a restart
|
|
||||||
* A restart will reapply your `user.js`
|
|
||||||
* Re-enable the network connection
|
|
||||||
|
|
||||||
<sup>1</sup> Blocking Firefox from the internet ensures it cannot act on your reset preferences in the period before you restart it, such as app and extension auto-updating, or downloading unwanted components (system addons, GMP etc). It depends on what you're resetting and how long before you restart.
|
|
||||||
|
|
||||||
</p></details>
|
|
||||||
|
|
||||||
<details><summary><b>How To Run Our Scratchpad Cleanup Scripts in FF72+</b></summary><p>
|
|
||||||
|
|
||||||
* Close Firefox and [backup](https://github.com/arkenfox/user.js/wiki/1.2-Backing-Up) your profile
|
* Close Firefox and [backup](https://github.com/arkenfox/user.js/wiki/1.2-Backing-Up) your profile
|
||||||
* (Optional) Disable the network connection <sup>1</sup>
|
* (Optional) Disable the network connection <sup>1</sup>
|
||||||
|
Loading…
Reference in New Issue
Block a user