Add a config to disable all "reset to default" configs
-
After resetting carefully curated options by mistake I'd like to make it much harder to repeat it, so I'd like to ask for either or (ideally) both of the following:
- add a config button that would disable (hide) ALL the other reset buttons (restore default keys/reset settings etc) so to reset something you'd need to first reenable reset options in one config section and then click a reset button - impossible to do inadvertently
- add unique CSS classes to these sections
I'm currently using custom css to implement the second option, but I realized it's not precise enough, for example, I'd like to leave the settings to be able to delete all cookies, but the CSS selectors are kind of too generic since these subsections don't have unique named classes, they are all like
div.webpageview.active.internal.visible.pagefocusstop > div.row-wrapper > div > div.internal-page > div > div.settings-content > div
no section name, no subsection name, so I can't leave the cookie reset section of the config while removing all the other sections
-
what about saving your settings in a backup file?
-
Export/Import for User Settings is a better solution.
-
@Manurac said in Add a config to disable all "reset to default" configs:
what about saving your settings in a backup file?
there is no proper mechanism for that, e.g., you can't easily restore just some changes, so you'd need to manually backup it regularly so that you have the most recent file available
Disabling this useless functionality is easier — there is not a single app where I carefully toggle a dozen of options where I'd just need to reset everything with an easily accessible button, that's a common UI misfeature. (apps should only offer such easy destructive operations when they offer config versioning so users could easily revert)
-
@eugenesv There isn't already a confirmation popup to prevent accidental resets?
-
@Hadden89 go check it out on your most important settings
No (also, that's not good enough, apps shouldn't make deleting easier than restoring, add a confirmation popup to restore data after a reset then you can keep the reset button!)
-
@eugenesv So it seems is not the case (no, I won't try). The confirmation popup should be present.
About the not working code you may try to ask in modification thread.