How To Run Our Scratchpad Cleanup Scripts in FF72+

earthlng 2019-11-01 15:59:57 +00:00
parent e19e879eb2
commit b71cf82bd7

@ -37,7 +37,7 @@ Our scratchpad cleanup scripts (`ghacks-clear-*.js`) are stored [here](https://g
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.
**How To Run A Scratchpad Script** <details><summary><b>How To Run Our Scratchpad Cleanup Scripts prior to FF72</b></summary><p>
* Close Firefox and [backup](https://github.com/ghacksuserjs/ghacks-user.js/wiki/1.2-Backing-Up) your profile * Close Firefox and [backup](https://github.com/ghacksuserjs/ghacks-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>
@ -59,4 +59,27 @@ The REMOVED script is the ONLY single point of reference for everything we once
* A restart will reapply your `user.js` * A restart will reapply your `user.js`
* Re-enable the network connection * 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. <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/ghacksuserjs/ghacks-user.js/wiki/1.2-Backing-Up) your profile
* (Optional) Disable the network connection <sup>1</sup>
* Start Firefox
* Load `about:config` and press Ctrl+Shift+K to open the Web Console for about:config
* Switch to multi-line editor mode (Ctrl+B toggles between single- and multi-line editor mode)
* Load **your** script (`.js` file) or paste it
* 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 output on the left 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>