From b71cf82bd79e45c59b085d799ac125fdb79aec70 Mon Sep 17 00:00:00 2001 From: earthlng Date: Fri, 1 Nov 2019 15:59:57 +0000 Subject: [PATCH] How To Run Our Scratchpad Cleanup Scripts in FF72+ --- 3.1-Resetting-Inactive-Prefs-[Scripts].md | 27 +++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/3.1-Resetting-Inactive-Prefs-[Scripts].md b/3.1-Resetting-Inactive-Prefs-[Scripts].md index 6c8b9da..79d73ac 100644 --- a/3.1-Resetting-Inactive-Prefs-[Scripts].md +++ b/3.1-Resetting-Inactive-Prefs-[Scripts].md @@ -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. -**How To Run A Scratchpad Script** +
How To Run Our Scratchpad Cleanup Scripts prior to FF72

* Close Firefox and [backup](https://github.com/ghacksuserjs/ghacks-user.js/wiki/1.2-Backing-Up) your profile * (Optional) Disable the network connection 1 @@ -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` * Re-enable the network connection -1 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. \ No newline at end of file +1 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. + +

+ +
How To Run Our Scratchpad Cleanup Scripts in FF72+

+ +* Close Firefox and [backup](https://github.com/ghacksuserjs/ghacks-user.js/wiki/1.2-Backing-Up) your profile +* (Optional) Disable the network connection 1 +* 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 + +1 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. + +

\ No newline at end of file