Skip to content

Commit

Permalink
Disable JavaScript JIT
Browse files Browse the repository at this point in the history
Fixes #373
  • Loading branch information
pyllyukko committed Feb 12, 2018
1 parent 944293a commit 8f4199c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ Settings that do not belong to other sections or are user specific preferences.
* Disable video stats to reduce fingerprinting threat [ [1](https://bugzilla.mozilla.org/show_bug.cgi?id=654550) [2](https://github.com/pyllyukko/user.js/issues/9#issuecomment-100468785) [3](https://github.com/pyllyukko/user.js/issues/9#issuecomment-148922065) ]
* Don't reveal build ID
* Prevent font fingerprinting [ [1](https://browserleaks.com/fonts) [2](https://github.com/pyllyukko/user.js/issues/120) ]
* Disable JavaScript JIT [ [1](https://trac.torproject.org/projects/tor/ticket/21011) ]
* Enable only whitelisted URL protocol handlers [ [1](http://kb.mozillazine.org/Network.protocol-handler.external-default) [2](http://kb.mozillazine.org/Network.protocol-handler.warn-external-default) [3](http://kb.mozillazine.org/Network.protocol-handler.expose.%28protocol%29) [4](https://news.ycombinator.com/item?id=13047883) [5](https://bugzilla.mozilla.org/show_bug.cgi?id=167475) [6](https://github.com/pyllyukko/user.js/pull/285#issuecomment-298124005) ]

### Extensions / plugins
Expand Down
5 changes: 5 additions & 0 deletions user.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,11 @@ user_pref("browser.startup.homepage_override.buildID", "20100101");
// https://github.com/pyllyukko/user.js/issues/120
user_pref("browser.display.use_document_fonts", 0);

// PREF: Disable JavaScript JIT
// https://trac.torproject.org/projects/tor/ticket/21011
user_pref("javascript.options.baselinejit.content", false);
user_pref("javascript.options.ion.content", false);

// PREF: Enable only whitelisted URL protocol handlers
// http://kb.mozillazine.org/Network.protocol-handler.external-default
// http://kb.mozillazine.org/Network.protocol-handler.warn-external-default
Expand Down

0 comments on commit 8f4199c

Please sign in to comment.