Patching the default Firefox settings

@fxbrit and I have decided that we need to patch the Privacy-and-Security tab of the settings UI in order to remove the ability for a user to enable tracking protection in that UI without re-enabling the URLs (and thus not having it actually activated). Once that is done, we will be able to unlock privacy.trackingprotection.enabled and privacy.trackingprotection.pbmode.enabled which I want to get done before releasing the custom preference panel. It will also stop users from creating issues about at least one of the elements that have a broken UI in Librewolf.

Since this is the case, I think we should maybe look at fixing all the broken UI in the settings pages. The argument against this, obviously, is that if we make changes, then it will add maintenence work. However, in the interest of making the browser look professional and clarity for users, I think it would be worth it.

The most important change I think needs to be removing this.

image

The Cookies section should be moved to the top level, and Standard, Strict, and Custom tabs should all be deleted entirely. In addition, the "Trackers follow you around..." section should be rewritten, maybe to

Librewolf uses uBlock Origin to block ads as well as many common trackers and malicious scripts. If you want to use Firefox's builtin protections as well (probably redundant), open the Librewolf tab on the side and enable Mozilla Tracking Protection.

image

Since Librewolf collects no data at all, I think that it might make sense to delete this, or at least replace it with a message to that effect. On the other hand, this is a purely cosmetic change which would just mean the patch would have to be rewritten if Mozilla ever decides to change how this works in the future.

image

Also handled by the new preferences page better, imo, and should be removed from here entirely.

image

Pretty much everything on the Home tab is broken, I think. The best solution might be to remove everything under Firefox Home Content and have a message telling users to install an extension if they want to change their homepage / new tabs. I'm not sure which extension to recommend, though, could just not recommend any.

image

I'm not sure if removing this Always check locked option would do much, but there isn't much point for it being there either. I think it would probably not make sense, but I figure I should mention anything here that is even slightly out of place.

image

This setting is in the preferences, and I'm pretty sure doesn't work here. If it does work here in @fxbrit's latest changes, let me know - I still feel it should be in the preferences though, but if it does toggle properly from either location then we should maybe keep it, thoughts?

image

It would be possible to delete the last two entries here, as there is no reason anyone would want to enable them. Might fall under the umbrella of insubstantial pointless change.

image

Perhaps here, the html/javascript should be edited to require the use of a master password if a user wishes to use the browser password manager themselves. However, while the other changes I mention will likely be fairly trivial, this change will require more effort - I still thought I should mention it.

Any feedback on which of these beyond the big section about tracking protection, should be changed, would be appreciated. If you have any ideas about what I want to change in tracking protection section too, then I would appreciate that as well.