Hacker GitHub

← All repos

pyllyukko/user.js

View on GitHub ↗ ★ 2,900 JavaScript

user.js -- Firefox configuration hardening

39 mentions on Hacker News by 32 people: 3 stories, 36 comments · first 2015-01-27 · latest 2025-09-02

Mentions per year 39 mentions · busiest year 2018 (14)
20082026
  1. …guys will add those settings to their also amazing job like: https://github.com/arkenfox/user.js https://github.com/pyllyukko/user.js These are config lists that I also use and it would be great to have this on those lists. Again, thank…
    comment by roscas · 2025-09-02 · in Firefox Privacy Guide
  2. …know what settings do what then this repo is handy[2]. 1. http://kb.mozillazine.org/User.js_file 2. https://github.com/pyllyukko/user.js/
    comment by deadbunny · 2022-03-14 · in My essential Firefox fixes in 2022
  3. You can set preferences with a user.js file in your profile directory. See for example: https://github.com/pyllyukko/user.js/blob/master/user.js
    comment by contravariant · 2022-01-25 · in Firefox about:config Menu Shortcut
  4. …2. https://github.com/kintesh/containerise 3. https://github.com/stoically/temporary-containers 4. https://github.com/pyllyukko/user.js The LTSC suggestion is also good. I'm already using a heavily-debloated LTSC with lots of unnecessary…
    comment by 4cao · 2022-01-11 · in Firefox 96
  5. …many of the settings can make you more unique because they disable a lot of functionality. [1] https://github.com/pyllyukko/user.js
  6. …leaks, many are presented here [1][2]. Are there any leak vectors missing from this list? [0]: https://github.com/pyllyukko/user.js [1]: https://www.whonix.org/wiki/Protocol-Leak-Protection_and_Fin... [2]:…
    comment by minimalist · 2021-02-05 · in Join a browser fingerprinting study
  7. …a tab in front of me, but that's not routine, it's not hard to find sites that support this. [0] https://github.com/pyllyukko/user.js
    comment by mikem170 · 2021-01-26 · in Firefox 85 cracks down on supercookies
  8. …URL bar. Most settings have inline comments explaining what they do and why they are chosen. [1] https://github.com/pyllyukko/user.js
    comment by the_duke · 2020-09-23 · in Tor Browser 10
  9. …-O "$TEMP/user.js" firefox -profile "$TEMP" -no-remote "$@" It also uses very hardened options from https://github.com/pyllyukko/user.js It is not my invention, but I lost a link to blog post
  10. …that should be fixed by the vendor, but as a (Firefox) user if you want a quick fix you can use https://github.com/pyllyukko/user.js
  11. …a user.js file from the dozen of crowdsourced efforts (i recommend the most complete one from https://github.com/pyllyukko/user.js/ ). think about this, there's more then a dozen community led effort to provide sane defaults, not hardcore…
    comment by sdlkfgj · 2020-05-07 · in GeckoView for Android
  12. …"%APPDATA%\Roaming\Mozilla\Firefox\Profiles\*.default\user.js" Use the following as a template: https://github.com/pyllyukko/user.js/blob/master/user.js Best to read through the whole contents and edit it by hand as some of the settings…
  13. …(see the "Telemetry Coverage" section) [1]: https://gitlab.com/snippets/1904354 [2]: https://github.com/pyllyukko/user.js
    comment by jlgaddis · 2019-10-15 · in Firefox Privacy How-To Guide
  14. start with https://github.com/pyllyukko/user.js/
    comment by leeoniya · 2019-10-15 · in Firefox Privacy How-To Guide
  15. …telemetry on my system Mozilla wouldn't learn anything about what I wrote here. It's useless. 1: https://github.com/pyllyukko/user.js/ 2: https://github.com/ghacksuserjs/ghacks-user.js
    comment by chienandalou · 2019-05-06 · in Firefox 66.0.4 is out, fixes disabled add-ons
  16. …which then are applied every time you start Firefox. (And here's a popular preconfigured user.js https://github.com/pyllyukko/user.js )
    comment by C4K3 · 2019-04-05 · in Dear Mozilla, please stop spamming
  17. I always create and use Firefox profiles with a custom user.js preference file. Here's a great one: https://github.com/pyllyukko/user.js
    comment by oil25 · 2019-04-05 · in Dear Mozilla, please stop spamming
  18. about:config preferences can be customized using the user.js files. See https://github.com/pyllyukko/user.js/#installation for some examples. For addons and other options you can use policies.json file, see…
    comment by ksala · 2018-12-04 · in Firefox Profilemaker
  19. …on each computer, you just copy over the user.js file. Here's a hardened option (no affiliation): https://github.com/pyllyukko/user.js And a relaxed version: https://github.com/pyllyukko/user.js/tree/relaxed
    comment by ctnb · 2018-12-03 · in UBlock Origin 1.17.4 released
  20. There is a Firefox configuration hardening project: https://github.com/pyllyukko/user.js It has security.ssl.disable_session_identifiers enabled
  21. And many settings are documented in this project https://github.com/pyllyukko/user.js https://github.com/pyllyukko/user.js/blob/master/user.js#L10...
  22. …one is forcing them. This is my preferred approach: https://github.com/ghacksuserjs/ghacks-user.js https://github.com/pyllyukko/user.js
    comment by guilhas · 2018-09-14 · in Firefox about:config privacy settings
  23. …limitations`. eg it'll erase all your saved passwords, bullet point 23 (at least it's in bold :/) https://github.com/pyllyukko/user.js/issues/27#issuecomment-...
    comment by magicalist · 2018-09-07 · in Firefox about:config privacy settings
  24. …that covers a lot without breaking mostly anything. A quite famous user.js hardening project is https://github.com/pyllyukko/user.js . But I've found that keeping such a complex configuration functional requires a lot of constant effort.
    comment by nextos · 2018-09-07 · in Firefox about:config privacy settings
  25. …you're interested in hardening your Firefox profile, check out this repository of user.js settings: https://github.com/pyllyukko/user.js This does things like blocking analytics and browser fingerprinting, and it's a simple to install or…
    comment by xenophonf · 2018-09-07 · in Firefox about:config privacy settings
  26. You're better off just going the power user way and making your own user.js file https://github.com/pyllyukko/user.js You can use version control, options persist between restarts if you accidentally change something, you can use comments,…
  27. // NOTICE: Breaks Firefox addon "Cookie AutoDelete" as of February 2018 https://github.com/pyllyukko/user.js/commit/d6ac49a531b58c8f...
  28. …which is a more flexible solution, imo, though it requires one make their own rules. [1] https://github.com/pyllyukko/user.js/tree/relaxed [2] https://github.com/savyajha/dotfiles/blob/master/Firefox/use... [3]…
  29. …user_pref("network.http.referer.userControlPolicy", x); // TODO: https://github.com/pyllyukko/user.js/issues/94 , commented-out XOriginPolicy/XOriginTrimmingPolicy = 2 prefs user_pref("network.http.referer.spoofSource", x);
  30. Once again saved by https://github.com/pyllyukko/user.js
  31. …multiple profiles are a better choice. My main profile never keeps cookies and have a very rigid https://github.com/pyllyukko/user.js file and only a couple of extensions. I'm very scared about extensions and self-updating scripts so I…
    comment by randomString1 · 2017-10-04 · in An Update on Firefox Containers
  32. …of such things that can be tweaked in about:config (mostly from a security/privacy standpoint): https://github.com/pyllyukko/user.js
    comment by gajjanag · 2017-02-23 · in Announcing the first SHA-1 collision
  33. …via HDMI You can harden FF also and remove a few other annoyances like the default PDF reader, etc: https://github.com/pyllyukko/user.js/
  34. …Additionally, you can cherry-pick options (or just use it all) from this repository at https://github.com/pyllyukko/user.js for more privacy.
    comment by jakobdabo · 2016-03-08 · in Tor NoScript visit tracker
  35. …To get some idea for what settings are useful for privacy and security in Firefox, I have found https://github.com/pyllyukko/user.js an extremely useful starting point.
  36. I found this project recently and ended up using most of it: https://github.com/pyllyukko/user.js