RequestPolicyContinued / requestpolicy

a web browser extension that gives you control over cross-site requests. Available for XUL/XPCOM-based browsers.
https://github.com/RequestPolicyContinued/requestpolicy/wiki
Other
252 stars 35 forks source link

A better system for managing "recommended preferences" #749

Open myrdd opened 8 years ago

myrdd commented 8 years ago

Currently "DNS prefetch" and "Link prefetch" are handled by RP. In the current system there are three checkboxes for each on the "advanced settings" page:

prefetching settings in RP

The second and the third checkbox mean that we need two additional preferences for each setting. If we add a new "managed recommended preference", the number of those checkboxes will increase as well. However, I think the users commonly don't want to set those checkboxes for each "recommended preference", but rather in a more "high-level" manner.

So I'm proposing the following new system:

More special cases, but not so important for now:


Please leave your comments, what you think about this concept.

acrobat1 commented 8 years ago

I think that „inform the user“ will be good enough: it is IMO safe to assume that RP users will be skilled enough to take appropriate actions when such a warning is eventually triggered.

As for disabling vs. uninstalling, there may be a difference: when disabling, one may want to only disable all site-specific rules (leaving alone settings related to prefetching and the likes, as they usually should not break a website) in order to un-break a website, whilst upon uninstalling one may want to effectively revert all settings altered by RP.

myrdd commented 8 years ago

when disabling, one may want to only disable all site-specific rules

The site-specific rules will be deactivated as soon as the add-on is deactivated, whether "disabled" or "uninstalled".

whilst upon uninstalling one may want to effectively revert all settings altered by RP.

I think both cases are possible – the user could want to reset or not to reset the settings. I think a really nice solution would be an uninstallation page which allows to reset the recommended prefs; but I'm not sure if this is possible. The corresponding page has to be behind a data URI to ensure the page works even if RP is not active.

In any case, when the add-on gets disabled, the recommended prefs should not change.