![]() Changes: - Fixed label clash with obsolete Break command. - Smarter and case-insensitive version checks. - Case-insensitive parameter checks. - Overall syntax improvements and fixes, for consistency and to prevent circumstancial weird behaviour. - Removed some unnecessary lines. - By default the updater now attempts to auto update itself on execution. This new behaviour can be skipped with the new -SkipBatchUpdate switch. - Added new -LogP switch, that works just like -Log, but also opens the log file after updating. - Added new -MultiOverrides switch, that uses any and all .js files in a 'user.js-overrides' sub-folder as overrides instead of the default 'user-overrides.js' file. Files are appended in alphabetical order. - Added new -Merge switch, that uses a new algorithm to merge overrides instead of appending them. Files are parsed in alphabetical order and when there are conflicting records, the values of the last ones declared are the ones used. The order of said records doesn't change in the resulting file. Comments are appended normally. When the script is run with both -Merge and -MultiOverrides switches, an 'user-overrides-merged.js' file is also generated in the root directory for quick reference. Said file contains only the merged data from override files and can be safely discarded after updating. - Probably some other minor stuff I can't remember right now. |
||
---|---|---|
scratchpad-scripts | ||
wikipiki | ||
.gitattributes | ||
.travis.yml | ||
_config.yml | ||
LICENSE.txt | ||
README.md | ||
updater.bat | ||
updater.sh | ||
user.js |
user.js
A user.js
is a configuration file that can control hundreds of Firefox settings. For a more technical breakdown and explanation, you can read more on the overview wiki page.
ghacks user.js
The ghacks user.js is a template, which, as provided, aims ( with extensions 1 ) to provide as much privacy and enhanced security as possible, and to reduce tracking and fingerprinting as much as possible - while minimizing any loss of functionality and breakage (but it will happen).
We aim to INFORM and give you CHOICES. No one size fits all, so customize it! And not all sites have the same requirements, so use profiles with custom versions. We won't set you wrong.
INFORMATION IS POWER. So you can make informed decisions to better protect yourself online, we aim to be:
- Accessible (provide information and simpler, less-technical descriptions if possible)
- Accountable (provide reputable references/sources, test sites, dispel bad advice)
- Change trackable (yay! we're on github now, with commits)
- Compatible (including a deprecated section, releases)
- Comprehensive (including enforcing defaults and future-proofing)
- Current and up-to-date with stable (including changelogs)
- Detailed (preference versioning, hidden preference information, explanations, and more)
- Easy to use and discuss (sections, sub-sections, numbering)
- Helpful (including a wiki with features such as extensions, user scripts, references and more)
- Innovative (formatting, special tags, and future plans such as branches)
usage
Everyone, experts included, should at least read the implementation wiki page, as it contains important information regarding a few default settings we use. The rest of the wiki is helpful as well.
acknowledgments
Literally thousands of sources, references and suggestions. That said...
- Martin Brinkmann at ghacks 2
- 100% genuine super-nice all-around good guy
- The ghacks community and commentators
- Special mentions to earthlng, Tom Hawack, Just me, Conker, Rockin’ Jerry, Ainatar, Parker Lewis
- 12bytes
- The 12bytes article now uses this user.js and supplements it with an additonal JS hosted right here at github
1 Important: We HIGHLY recommend using uBlock Origin, uMatrix and a cookie extension. Section 0400, if modified, allows Tracking Protection and Safe Browsing to be disabled. Do this at your own risk. See the implementation wiki page for more.
2 The ghacks user.js was an independent project by Thorin-Oakenpants started in early 2015 and was first published at ghacks in August 2015. It was kept up-to-date and expanded by the original author with three major updates and articles. With Martin Brinkmann's blessing, it will keep the ghacks name.