-
Notifications
You must be signed in to change notification settings - Fork 519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ToDo: scratchpad prefs cleanup script(s) #242
Comments
@earthlng - nice sciript!
yeah, i thought about that too - maybe resetting all isn't the best way to go
i'll maintain it - i thought the purpose was to make it as easy as possible for users by providing the entire script - that was my plan anyway - if the user has to sift through change logs and run RegEx's to pull prefs, and create the script - all of which most users probably won't do - then what's the point? if that's the case i think it wouldn't be much extra work to do it all manually i'll do whatever you want though |
... or, if you really don't want the full script here, i could stick on my repo - let me know your thoughts |
Wile I respect the effort done here I use Mozilla's own facilities, I remove the prefs.js file and add a /preferences folder with my custom-user-prefs.js in it. |
They get repopulated and re-saved on FF shutdown. The only down sides that I have noticed are that the next FF start takes a bit longer and the positioning of the extensions is lost (customisation). |
@Thorin-Oakenpants Only when I forgot that I still had a window open 😓. I just do it because It gives be a blank slate to work from. i.e closer to a new profile. (also less of a chance to miss something) |
^^ yes good idea. Nice work, thanks. I made one small fix: d9e935d |
browser.send_pings is one of the few prefs that WEs can change. Maybe it's locked because of that? |
sounds good. Maybe change the note or remove it. |
yeah that's fine too |
but it should note that browser.urlbar.autocomplete.enabled needs to be true if one wants to enable some of the other ones. It kinda does that without the need for a note with 0850a + b, so IDK, up to you. |
or we could just make all of them inactive. I think it's a pretty nice feature actually. |
🔻 Thorin's ToDo list:
user set
=>modified
in FF55+🔻 Original Post
WIKI draft: https://github.com/ghacksuserjs/ghacks-user.js/wiki/1.6-Bulk-Pref-Resetting-[Scratchpad]
wanted to start a new, dedicated topic regarding this issue since we strayed way off the reservation in the last one
important stuff from the old topic that still need to be addressed include...
atomGit: could the process of updating the user.js and the cleaning of prefs.js (equivalent to running the Scratchpad script) be totally automated by, say, a GM script that would prompt first and show a changelog perhaps?
new stuff...
how should the scratch-script be versioned?
how often will it need to be updated? i don't want to be re-editing the script at every commit, so what do you guys suggest?
for my sanity (and laziness) i'd prefer to reset ALL user.js prefs as Thorin-Oakenpants suggested, if that's ok with u dudes
i didn't see any feedback in web or browser console with this code - is it possible to pop a dialog box with "success!" or something?
The text was updated successfully, but these errors were encountered: