1
0
mirror of https://github.com/yokoffing/Betterfox.git synced 2026-06-12 15:40:48 +05:30

Updated Optional Hardening (markdown)

yokoffing
2026-04-21 12:20:06 -04:00
parent fba459bdd5
commit 032228dd80
+6 -3
@@ -246,14 +246,17 @@ The optimizing compiler is like driving a 500-horsepower (HP) sports car to work
```javascript
// PREF: disable JIT optimization
// This removes most of the attack surface
// while keeping JIT functionality.
// This removes most of the attack surface while keeping JIT compilation.
user_pref("javascript.options.ion", false);
user_pref("javascript.options.wasm_optimizingjit", false);
```
#### Option 2: Disable JIT
The prefs below are the equivalent to running Chrome with the `--jitless` flag. Expect more site issues when choosing this option.
The prefs below are the equivalent to running Chrome with the `--jitless` flag and using [Enhanced Security](https://support.microsoft.com/microsoft-edge/enhance-your-security-on-the-web-with-microsoft-edge-b8199f13-b21b-4a08-a806-daed31a1929d) in Edge.
However, unlike Edge and Chrome, there are no per-site exceptions. It's all or nothing.
This option is the most secure of the two, but you should expect more site issues when choosing this option.
```javascript
// PREF: disable JIT compliation