Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
firefox:user.js [2013/09/16 20:34]
zagi
firefox:user.js [2018/06/12 10:15]
zagi [user.js]
Line 28: Line 28:
  
 <code javascript| user.js> <code javascript| user.js>
-# no blinking text 
-user_pref("browser.blink_allowed", false); 
 # #
 # http://kb.mozillazine.org/About:config_entries#Network # http://kb.mozillazine.org/About:config_entries#Network
-# 
-# OBSOLETE # user_pref("network.http.pipelining.firstrequest", true); 
 # #
 user_pref("network.http.pipelining", true); user_pref("network.http.pipelining", true);
Line 44: Line 40:
 user_pref("network.http.pipelining.reschedule-on-timeout", true); user_pref("network.http.pipelining.reschedule-on-timeout", true);
 # #
-##user_pref("network.http.pipelining.aggressive", true);+#user_pref("network.http.pipelining.aggressive", true); 
 +#
 # only with allow-experiments # only with allow-experiments
-##user_pref("network.http.pipelining.abtest", true);+#user_pref("network.http.pipelining.abtest", true); 
 +#user_pref("network.allow-experiments", true);
  
 user_pref("network.http.request.max-start-delay", 9); user_pref("network.http.request.max-start-delay", 9);
 +
 +# it is 900 in FFox 58 on Windows 10
 user_pref("network.http.max-connections", 256); user_pref("network.http.max-connections", 256);
-user_pref("network.http.max-connections-per-server", 15);+user_pref("network.http.max-connections-per-server", 8);
  
 # Default is 6 # Default is 6
Line 61: Line 61:
 # keep-alive timeout. default is 300 # keep-alive timeout. default is 300
 user_pref("network.http.keep-alive.timeout", 90); user_pref("network.http.keep-alive.timeout", 90);
-# Enable prefetching+# Enable prefetching - might break your privacy
 user_pref("network.prefetch-next", true); user_pref("network.prefetch-next", true);
 # Enable DNS prefetch # Enable DNS prefetch
Line 71: Line 71:
 user_pref("network.protocol-handler.external.shell", false); user_pref("network.protocol-handler.external.shell", false);
 # #
-# DNS +# DNS cache - set to default if you use local dns or /etc/hosts 
 +# default 20
 user_pref("network.dnsCacheEntries", 512); user_pref("network.dnsCacheEntries", 512);
 +# default 60
 user_pref("network.dnsCacheExpiration", 7200); user_pref("network.dnsCacheExpiration", 7200);
 # #
Line 78: Line 80:
 # http://kb.mozillazine.org/Nglayout.initialpaint.delay # http://kb.mozillazine.org/Nglayout.initialpaint.delay
 # anything below 100 is not recommended. # anything below 100 is not recommended.
-user_pref("nglayout.initialpaint.delay", 150);+user_pref("nglayout.initialpaint.delay", 125);
 # #
-user_pref("ui.submenuDelay", 50);+user_pref("ui.submenuDelay", 10);
 # #
 user_pref("content.notify.backoffcount", 5);  user_pref("content.notify.backoffcount", 5); 
Line 90: Line 92:
 user_pref("content.switch.threshold", 750000); user_pref("content.switch.threshold", 750000);
  
-# use GPU for rendering+# use GPU for rendering (with proper drivers!)
 #user_pref("layers.acceleration.force-enabled", true); #user_pref("layers.acceleration.force-enabled", true);
 # tell the browser to use native OpenGL for WebGL 3D hardware accelerated graphics # tell the browser to use native OpenGL for WebGL 3D hardware accelerated graphics
Line 155: Line 157:
 # TABS # TABS
 user_pref("browser.search.openintab", true); user_pref("browser.search.openintab", true);
 +# open bookmarks in new tab
 +user_pref("browser.tabs.loadBookmarksInTabs", true);
 +
 user_pref("browser.tabs.closeButtons", 0); user_pref("browser.tabs.closeButtons", 0);
 user_pref("browser.tabs.loadFolderAndReplace", false); user_pref("browser.tabs.loadFolderAndReplace", false);
Line 164: Line 169:
 # open new tab next to active one # open new tab next to active one
 user_pref("browser.tabs.insertRelatedAfterCurrent", true); user_pref("browser.tabs.insertRelatedAfterCurrent", true);
 +# to get clean/blank new tab with no "clutter"
 +user_pref("browser.newtabpage.activity-stream.enabled", false);
  
  
Line 207: Line 214:
 ## http://kb.mozillazine.org/About:config_entries#Security. ## http://kb.mozillazine.org/About:config_entries#Security.
 user_pref("security.ask_for_password", 0); user_pref("security.ask_for_password", 0);
 +# disable warning about insecure elements on page
 +user_pref("security.insecure_field_warning.contextual.enabled", false);
 ## Ask for password every "password_lifetime" minutes ## Ask for password every "password_lifetime" minutes
 #user_pref("security.ask_for_password", 2); #user_pref("security.ask_for_password", 2);
 #user_pref("security.password_lifetime", 60); #user_pref("security.password_lifetime", 60);
 user_pref("privacy.donottrackheader.enabled", true); user_pref("privacy.donottrackheader.enabled", true);
 +# geolocation
 +user_pref("geo.enabled", true);
 +# battery API
 +user_pref("dom.battery.enabled", false);
 +# vibrate enabled
 +user_pref("dom.vibrator.enabled", false);
    
 ## SSL ## SSL
Line 230: Line 245:
 # user_pref("security.ssl3.ecdh_rsa_null_sha", false); # user_pref("security.ssl3.ecdh_rsa_null_sha", false);
 # user_pref("security.ssl3.dhe_rsa_des_sha", false); # user_pref("security.ssl3.dhe_rsa_des_sha", false);
-# user_pref("security.ssl3.dhe_dss_des_sha", false); +# user_pref("security.ssl3.dhe_dss_des_sha", false); 
 +user_pref("security.tls.version.max", 4); 
 +user_pref("security.tls.version.min", 1); 
 +user_pref("security.ssl3.rsa_fips_des_ede3_sha", false); 
 +user_pref("security.warn_viewing_mixed.show_once", true);
    
 ## JAVASCRIPT ## JAVASCRIPT
Line 258: Line 277:
 user_pref("javascript.options.mem.gc_incremental_slice_ms", 20); user_pref("javascript.options.mem.gc_incremental_slice_ms", 20);
 user_pref("javascript.options.mem.gc_incremental", true); user_pref("javascript.options.mem.gc_incremental", true);
 +user_pref("javascript.options.showInConsole", false);
    
 # Shows an error page instead of an error popup dialog # Shows an error page instead of an error popup dialog
Line 266: Line 286:
 # Reveal more tab/window options: # Reveal more tab/window options:
 user_pref("browser.tabs.showSingleWindowModePrefs", true); user_pref("browser.tabs.showSingleWindowModePrefs", true);
- + 
 +# disable WebRTC 
 +user_pref("media.peerconnection.enabled", false);
    
 # Status of ths smooth scrolling option (scrolling on a web page moves page content pixelwise rather than line-by-line) # Status of ths smooth scrolling option (scrolling on a web page moves page content pixelwise rather than line-by-line)
-user_pref("general.smoothScroll", true);+user_pref("general.smoothScroll", false); 
 +user_pref("toolkit.scrollbox.smoothScroll", false);
 // Allows for faster mouse scrolling // Allows for faster mouse scrolling
 user_pref("mousewheel.withnokey.numlines", 5); user_pref("mousewheel.withnokey.numlines", 5);
Line 282: Line 305:
 user_pref("font.minimum-size.x-user-def", 11); user_pref("font.minimum-size.x-user-def", 11);
  
-Do not allow site to set fonts +# allow site to set fonts 
-#user_pref("browser.display.use_document_fonts", 0);+#user_pref("browser.display.use_document_fonts", 1);
  
 # #
Line 311: Line 334:
 user_pref("browser.sessionstore.resume_session", true); user_pref("browser.sessionstore.resume_session", true);
 user_pref("browser.sessionstore.restore_on_demand", false); user_pref("browser.sessionstore.restore_on_demand", false);
 +# default 10
 +user_pref("browser.sessionstore.max_tabs_undo", 24);
 +# defult 10
 +user_pref("browser.sessionstore.max_windows_undo", 12);
 user_pref("browser.sessionstore.enabled", true); user_pref("browser.sessionstore.enabled", true);
    
 # Resume the previous browser session # Resume the previous browser session
 user_pref("browser.startup.page", 3); user_pref("browser.startup.page", 3);
 +
 +# no blinking text
 +user_pref("browser.blink_allowed", false);
    
 # Enable Internet keywords and disable domain guessing # Enable Internet keywords and disable domain guessing
 user_pref("browser.fixup.alternate.enabled", false); user_pref("browser.fixup.alternate.enabled", false);
 +# use default search engine if URL not found
 user_pref("keyword.enabled", true); user_pref("keyword.enabled", true);
    
-Enable Safe Browsing +disable Safe Browsing (and google cookie tracking) 
-user_pref("browser.safebrowsing.enabled", true);+user_pref("browser.safebrowsing.enabled", false);
 # If set to false a third-party provider will not  be consulted to determine whether a site is phishy. # If set to false a third-party provider will not  be consulted to determine whether a site is phishy.
 user_pref("browser.safebrowsing.remoteLookups", false); user_pref("browser.safebrowsing.remoteLookups", false);
 +user_pref("browser.safebrowsing.debug", false);
 +user_pref("browser.safebrowsing.malware.enabled", false);
 +user_pref("services.sync.prefs.sync.browser.safebrowsing.enabled", false);
 +user_pref("services.sync.prefs.sync.browser.safebrowsing.malware.enabled", false);
 +
    
 # do not warn when using about:conf # do not warn when using about:conf
Line 332: Line 368:
 # This setting allows the browser to collect and send ANONYMOUS usage information back to Mozilla. # This setting allows the browser to collect and send ANONYMOUS usage information back to Mozilla.
 user_pref("dom.enable_performance", true); user_pref("dom.enable_performance", true);
-+
-#user_pref("network.allow-experiments", true);+
  
 # enable firefox healthreport # enable firefox healthreport
 #user_pref("datareporting.healthreport.uploadEnabled", true); #user_pref("datareporting.healthreport.uploadEnabled", true);
 +#user_pref("print.postscript.paper_size", "a4");
  
 # we have working IPv6! # we have working IPv6!
 #user_pref("network.http.fast-fallback-to-IPv4", false); #user_pref("network.http.fast-fallback-to-IPv4", false);
 +
 +#
 user_pref("browser.display.force_inline_alttext", true); user_pref("browser.display.force_inline_alttext", true);
 user_pref("browser.cache.compression_level", 0); user_pref("browser.cache.compression_level", 0);
 user_pref("browser.tabs.animate", false); user_pref("browser.tabs.animate", false);
 user_pref("browser.panorama.animate_zoom", false); user_pref("browser.panorama.animate_zoom", false);
 +user_pref("browser.fullscreen.animate", false);
 +user_pref("browser.download.animateNotifications", false);
 +user_pref("alerts.disableSlidingEffect", false);
 +
 #network.tcp.sendbuffer default 131072 #network.tcp.sendbuffer default 131072
 #user_pref("network.tcp.sendbuffer", 261072); #user_pref("network.tcp.sendbuffer", 261072);
firefox/user.js.txt · Last modified: 2019/01/31 11:46 by zagi
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready