Just using a new issue to deal with this rather than OT elsewhere.
Here is a pastebin which expires in 24hrs.
Because every single non user_pref line is modified, I have taken the opportunity to do more than that. All up:
[WARNING] and [SETUP]The idea, without going overboard, with the [WARNING] and [SETUP] tags is that warning is more about (major) site breaking etc and setup is stuff that is optional or should be looked at when setting up - doh! By that, I mean that 90% of the 270+ numbered items cause zero breakage or issues, 5% are optional i.e the user can make an informed decision and knows the drawbacks (eg keeping history), and the rest are items that cause site breakage or are bad to implement etc. The two tags can be used in conjunction (i.e more than one tag per item), they can be at the end of a section title, at the end of a preference number title, in a comment at the end of a user_pref line, in the middle of a section description, or at the start of a item's warning section etc.
@earthlng I have tested it for syntax, etc. Do one of your compares to make sure no pref values got changed, or prefs switched between active/inactive. And then make any changes you want and pastebin me back a version. Make any changes you want (ignore passwords/referrers sections), because this is a one time deal since 70% of the lines are going to change. Take your time.
@everyone else - if you want to proof-read it when you have some time, or offer suggestions, go for it. I can do the commit when we're all happy.
Only 1 change from my comparison: 2703 was commented out in master, active in your pastebin
Apart from a few other things, I changed the numbers under 0410, not a fan of things like 0410b2, but feel free to change it back or do a mix , or whatever you think is best
some of the things Just Me noticed are corrected in my pastebin, but not everything. (only the first 2 I think)
capital letter? "then also make sure 0806" - My bad, ignore it. I didn't see the comma before "then".
Roman says: use
* [ ] comment
and then I can just tick rather than edit
IMO we should always use 0410a, b, c, etc. for "meta"-numbers. It allows for more than just 041[1-9] prefs in one group.
EDIT: fe. 0420 could be SB + TP "description only" number, 0421 SB, 0422 TP and 0415 would become 0423 because it applies to both. We would have SB + TP all under 042x that way.
Sorry, a bit late with the suggestions but I mainly looked at other things during the comparing.
with '
<ul>
<li>initially started putting pref names inside or ' but stopped, too much going on. All of the former are now removedmaybe slightly OT, but hear me out ;)
I still like the idea of making this overall more modular by using a preferences folder.
But we would only use a separate file IF we can really isolate certain prefs for a certain feature, SB + TP come to mind.
We could release with safebrowsing-trackerprotection.js.prefs and without needing to edit anything, users could just rename the file to disable SB + TP.
Since you plan to enable SB+TP by default anyway, this would be a neat way to handle it.
Of course this would only work when we want to ship with a feature completely on it's default values.
https://github.com/ghacksuserjs/ghacks-user.js/issues/32#issuecomment-282502075 Restore video settings
If we had multiple files, we could consider using 'pref' instead of 'user_pref' for certain files (fe media)
I know it has a lot of downsides, but one major advantage is that the file could simply be renamed or deleted and the original defaults would be restored.
Give it one last pass if you can :)
[NOTE] does not apply to middle-click or Ctrl-clicking links. ? imo that's nice to knowIMO it's always good to have an empty newline at EOF
@Thorin-Oakenpants - I like your writing style and the original user.js. Please don't approve everything and don't change things just for the sake of changing something. Just saying...
browser.usedOnWindows10.introURL // removed in FF50 (was in my diff) => 0 results in DXR for 'usedOnWindows10'// Form & Search History to privacy.clearOnShutdown.formdata// Active Logins for privacy.clearOnShutdown.sessionsHTTPS ( SSL / OCSP / CERTS / ENCRYPTION / HSTS / HPKP )==Roman comments added==
--WTF
I'm sorry, but you said make any changes you want ;)
testsite: you need to enable layout.css.visited_links_enabled and test it in a Normal Window. PB doesn't seem to work. Check the source and visit a few of the URLs from the list and then start the test. It uses a lot of http sites instead of https, so it can't detect some of the sites anymore because they moved to https.
But I did the test and apart from one, it correctly identified all other sites I visited (fe. didn't detect http://reddit.com/r/conspiracy, because that's https nowadays)
Most helpful comment
capital letter? "then also make sure 0806" - My bad, ignore it. I didn't see the comma before "then".
Roman says: use
and then I can just tick rather than edit