35
35
/****************************************************************************
36
36
* Betterfox *
37
37
* "Ad meliora" *
38
- * version: 116 *
38
+ * version: 116.1 *
39
39
* url: https://github.com/yokoffing/Betterfox *
40
40
****************************************************************************/
41
41
45
45
pref ( 'nglayout.initialpaint.delay' , 0 ) ;
46
46
pref ( 'nglayout.initialpaint.delay_in_oopif' , 0 ) ;
47
47
pref ( 'content.notify.interval' , 100000 ) ;
48
- pref ( 'browser.startup.preXulSkeletonUI' , false ) ;
48
+ pref ( 'browser.startup.preXulSkeletonUI' , false ) ; // WINDOWS
49
49
50
50
/** EXPERIMENTAL ***/
51
51
pref ( 'layout.css.grid-template-masonry-value.enabled' , true ) ;
52
52
pref ( 'dom.enable_web_task_scheduling' , true ) ;
53
53
pref ( 'layout.css.has-selector.enabled' , true ) ;
54
- pref ( 'layout.css.scroll-driven-animations.enabled' , true ) ;
55
54
56
55
/** GFX ***/
57
- pref ( 'gfx.webrender.all' , true ) ;
58
- pref ( 'layers.gpu-process.enabled' , true ) ;
59
- //pref("gfx.canvas.accelerated", true); // enable if not using an integrated GPU on WINDOWS
60
- pref ( 'gfx.canvas.accelerated.cache-items' , 32768 ) ;
61
- pref ( 'gfx.canvas.accelerated.cache-size' , 4096 ) ;
62
- pref ( 'gfx.content.skia-font-cache-size' , 80 ) ;
56
+ //pref("gfx.canvas.accelerated", true); // enable if using a dedicated GPU on WINDOWS
57
+ pref ( 'gfx.canvas.accelerated.cache-items' , 4096 ) ;
58
+ pref ( 'gfx.canvas.accelerated.cache-size' , 512 ) ;
59
+ pref ( 'gfx.content.skia-font-cache-size' , 20 ) ;
63
60
64
61
/** BROWSER CACHE ***/
65
62
pref ( 'browser.cache.disk.enable' , false ) ;
66
- pref ( 'browser.cache.memory.capacity' , 1048576 ) ;
67
- pref ( 'browser.cache.memory.max_entry_size' , 65536 ) ;
68
63
69
64
/** MEDIA CACHE ***/
65
+ pref ( 'media.memory_cache_max_size' , 65536 ) ;
70
66
pref ( 'media.cache_readahead_limit' , 7200 ) ;
71
67
pref ( 'media.cache_resume_threshold' , 3600 ) ;
72
- pref ( 'media.memory_cache_max_size' , 131072 ) ;
73
- pref ( 'media.memory_caches_combined_limit_kb' , 524288 ) ; // DEFAULT
74
68
75
- /** IMAGE CACHE ***/
76
- pref ( 'image.cache.size' , 10485760 ) ;
77
- pref ( 'image.mem.decode_bytes_at_a_time' , 65536 ) ;
78
- pref ( 'image.mem.shared.unmap.min_expiration_ms' , 120000 ) ;
69
+ /** IMAGE CACHE ***/
70
+ pref ( 'image.mem.decode_bytes_at_a_time' , 32768 ) ;
79
71
80
72
/** NETWORK ***/
81
73
pref ( 'network.buffer.cache.size' , 262144 ) ;
82
74
pref ( 'network.buffer.cache.count' , 128 ) ;
83
75
pref ( 'network.http.max-connections' , 1800 ) ;
84
76
pref ( 'network.http.max-persistent-connections-per-server' , 10 ) ;
85
- pref ( 'network.http.pacing.requests.min-parallelism' , 18 ) ;
77
+ pref ( 'network.http.max-urgent-start-excessive-connections-per-host' , 5 ) ;
78
+ pref ( 'network.websocket.max-connections' , 400 ) ;
79
+ pref ( 'network.http.pacing.requests.enabled' , false ) ;
86
80
pref ( 'network.dnsCacheEntries' , 10000 ) ;
87
81
pref ( 'network.dnsCacheExpiration' , 86400 ) ;
88
- pref ( 'network.dnsCacheExpirationGracePeriod' , 240 ) ;
89
- pref ( 'network.ssl_tokens_cache_capacity' , 32768 ) ;
82
+ pref ( 'network.dns.max_high_priority_threads' , 8 ) ;
83
+ pref ( 'network.ssl_tokens_cache_capacity' , 20480 ) ;
84
+
85
+ /** SPECULATIVE CONNECTIONS ***/
86
+ pref ( 'network.http.speculative-parallel-limit' , 0 ) ;
87
+ pref ( 'network.dns.disablePrefetch' , true ) ;
88
+ pref ( 'browser.urlbar.speculativeConnect.enabled' , false ) ;
89
+ pref ( 'browser.places.speculativeConnect.enabled' , false ) ;
90
+ pref ( 'network.prefetch-next' , false ) ;
91
+ pref ( 'network.predictor.enabled' , false ) ;
92
+ pref ( 'network.predictor.enable-prefetch' , false ) ;
90
93
91
94
/****************************************************************************
92
95
* SECTION: SECUREFOX *
@@ -101,10 +104,6 @@ pref(
101
104
'urlclassifier.features.socialtracking.skipURLs' ,
102
105
'*.instagram.com, *.twitter.com, *.twimg.com'
103
106
) ;
104
- pref (
105
- 'privacy.query_stripping.strip_list' ,
106
- '__hsfp __hssc __hstc __s _hsenc _openstat dclid fbclid gbraid gclid hsCtaTracking igshid mc_eid ml_subscriber ml_subscriber_hash msclkid oft_c oft_ck oft_d oft_id oft_ids oft_k oft_lk oft_sk oly_anon_id oly_enc_id rb_clickid s_cid twclid vero_conv vero_id wbraid wickedid yclid'
107
- ) ;
108
107
pref ( 'browser.uitour.enabled' , false ) ;
109
108
pref ( 'privacy.globalprivacycontrol.enabled' , true ) ;
110
109
pref ( 'privacy.globalprivacycontrol.functionality.enabled' , true ) ;
@@ -123,52 +122,35 @@ pref('security.tls.enable_0rtt_data', false);
123
122
/** DISK AVOIDANCE ***/
124
123
pref ( 'browser.privatebrowsing.forceMediaMemoryCache' , true ) ;
125
124
pref ( 'browser.sessionstore.interval' , 60000 ) ;
126
- pref ( 'browser.sessionstore.privacy_level' , 2 ) ;
127
125
128
126
/** SHUTDOWN & SANITIZING ***/
129
127
pref ( 'privacy.history.custom' , true ) ;
130
128
131
- /** SPECULATIVE CONNECTIONS ***/
132
- pref ( 'network.http.speculative-parallel-limit' , 0 ) ;
133
- pref ( 'network.dns.disablePrefetch' , true ) ;
134
- pref ( 'browser.urlbar.speculativeConnect.enabled' , false ) ;
135
- pref ( 'browser.places.speculativeConnect.enabled' , false ) ;
136
- pref ( 'network.prefetch-next' , false ) ;
137
- pref ( 'network.predictor.enabled' , false ) ;
138
- pref ( 'network.predictor.enable-prefetch' , false ) ;
139
-
140
129
/** SEARCH / URL BAR ***/
141
130
pref ( 'browser.search.separatePrivateDefault.ui.enabled' , true ) ;
142
131
pref ( 'browser.urlbar.update2.engineAliasRefresh' , true ) ;
143
132
pref ( 'browser.search.suggest.enabled' , false ) ;
144
133
pref ( 'browser.urlbar.suggest.quicksuggest.sponsored' , false ) ;
145
134
pref ( 'browser.urlbar.suggest.quicksuggest.nonsponsored' , false ) ;
135
+ pref ( 'browser.formfill.enable' , false ) ;
146
136
pref ( 'security.insecure_connection_text.enabled' , true ) ;
147
137
pref ( 'security.insecure_connection_text.pbmode.enabled' , true ) ;
148
138
pref ( 'network.IDN_show_punycode' , true ) ;
149
139
150
- /** HTTPS-FIRST MODE ***/
140
+ /** HTTPS-FIRST POLICY ***/
151
141
pref ( 'dom.security.https_first' , true ) ;
152
142
153
- /** PROXY / SOCKS / IPv6 ***/
154
- pref ( 'network.proxy.socks_remote_dns' , true ) ;
155
- pref ( 'network.file.disable_unc_paths' , true ) ;
156
- pref ( 'network.gio.supported-protocols' , '' ) ;
157
-
158
143
/** PASSWORDS AND AUTOFILL ***/
159
- pref ( 'signon.formlessCapture.enabled' , false ) ;
160
- pref ( 'signon.privateBrowsingCapture.enabled' , false ) ;
161
- pref ( 'signon.autofillForms' , false ) ;
162
144
pref ( 'signon.rememberSignons' , false ) ;
163
145
pref ( 'editor.truncate_user_pastes' , false ) ;
164
146
165
147
/** ADDRESS + CREDIT CARD MANAGER ***/
166
148
pref ( 'extensions.formautofill.addresses.enabled' , false ) ;
167
149
pref ( 'extensions.formautofill.creditCards.enabled' , false ) ;
168
- pref ( 'browser.formfill.enable' , false ) ;
169
150
170
151
/** MIXED CONTENT + CROSS-SITE ***/
171
152
pref ( 'network.auth.subresource-http-auth-allow' , 1 ) ;
153
+ pref ( 'security.mixed_content.block_display_content' , true ) ;
172
154
pref ( 'pdfjs.enableScripting' , false ) ;
173
155
pref ( 'extensions.postDownloadThirdPartyPrompt' , false ) ;
174
156
pref ( 'permissions.delegation.enabled' , false ) ;
@@ -196,10 +178,6 @@ pref(
196
178
'geo.provider.network.url' ,
197
179
'https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%'
198
180
) ;
199
- pref ( 'geo.provider.ms-windows-location' , false ) ; // WINDOWS
200
- pref ( 'geo.provider.use_corelocation' , false ) ; // MAC
201
- pref ( 'geo.provider.use_gpsd' , false ) ; // LINUX
202
- pref ( 'geo.provider.use_geoclue' , false ) ; // LINUX
203
181
pref ( 'permissions.manager.defaultsUrl' , '' ) ;
204
182
pref ( 'webchannel.allowObject.urlWhitelist' , '' ) ;
205
183
@@ -250,11 +228,15 @@ pref(
250
228
) ;
251
229
pref ( 'browser.preferences.moreFromMozilla' , false ) ;
252
230
pref ( 'browser.tabs.tabmanager.enabled' , false ) ;
231
+ pref ( 'browser.aboutConfig.showWarning' , false ) ;
253
232
pref ( 'browser.aboutwelcome.enabled' , false ) ;
254
- pref ( 'findbar.highlightAll' , true ) ;
255
- pref ( 'middlemouse.contentLoadURL' , false ) ;
233
+ pref ( 'browser.display.focus_ring_on_anything' , true ) ;
234
+ pref ( 'browser.display.focus_ring_style' , 0 ) ;
235
+ pref ( 'browser.display.focus_ring_width' , 0 ) ;
256
236
pref ( 'browser.privateWindowSeparation.enabled' , false ) ; // WINDOWS
257
237
pref ( 'browser.privatebrowsing.enable-new-indicator' , false ) ;
238
+ pref ( 'cookiebanners.service.mode' , 2 ) ;
239
+ pref ( 'cookiebanners.service.mode.privateBrowsing' , 2 ) ;
258
240
pref ( 'browser.translations.enable' , true ) ;
259
241
260
242
/** FULLSCREEN ***/
@@ -278,23 +260,24 @@ pref('extensions.pocket.enabled', false);
278
260
279
261
/** DOWNLOADS ***/
280
262
pref ( 'browser.download.useDownloadDir' , false ) ;
263
+ pref ( 'browser.download.always_ask_before_handling_new_types' , true ) ;
281
264
pref ( 'browser.download.alwaysOpenPanel' , false ) ;
282
265
pref ( 'browser.download.manager.addToRecentDocs' , false ) ;
283
- pref ( 'browser.download.always_ask_before_handling_new_types' , true ) ;
284
266
285
267
/** PDF ***/
286
268
pref ( 'browser.download.open_pdf_attachments_inline' , true ) ;
269
+ pref ( 'pdfjs.sidebarViewOnLoad' , 2 ) ;
287
270
288
271
/** TAB BEHAVIOR ***/
289
272
pref ( 'browser.tabs.loadBookmarksInTabs' , true ) ;
290
273
pref ( 'browser.bookmarks.openInTabClosesMenu' , false ) ;
291
- pref ( 'cookiebanners.service.mode ' , 2 ) ;
292
- pref ( 'cookiebanners.service.mode.privateBrowsing ' , 2 ) ;
274
+ pref ( 'browser.menu.showViewImageInfo ' , true ) ;
275
+ pref ( 'findbar.highlightAll ' , true ) ;
293
276
294
277
/****************************************************************************
295
278
* SECTION: SMOOTHFOX *
296
279
****************************************************************************/
297
- // visit https://github.com/yokoffing/Betterfox/blob/master /Smoothfox.js
280
+ // visit https://github.com/yokoffing/Betterfox/blob/main /Smoothfox.js
298
281
// Enter your scrolling prefs below this line:
299
282
300
283
/****************************************************************************
0 commit comments