Advertisement
Guest User

Firefox presets (user.js file)

a guest
Sep 20th, 2016
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.62 KB | None | 0 0
  1. #
  2. # This file overrides settings placed in prefs.js file at startup.
  3. # These settings are applied at startup so you'll have to restart for it to take effect.
  4. #
  5. # For more information see: http://kb.mozillazine.org/User.js_file
  6. #
  7. # I recommend reading up on what each option does before using the option. Some may break sites that you frequently use.
  8. #
  9. # To disable a particular option just add a # to the beginning of the line.
  10. #
  11. # To use this save it as "user.js" and place it in your profile folder.
  12. #
  13.  
  14.  
  15. ####Annoyances####
  16. #Apparently prevents the default Mozilla bookmarks from being recreated.
  17. user_pref("browser.bookmarks.restore_default_bookmarks", false);
  18.  
  19.  
  20. #Disable Various Animations
  21. user_pref("browser.tabs.animate", false);
  22. user_pref("browser.preferences.animateFadeIn", false);
  23. user_pref("browser.fullscreen.animate", false);
  24. user_pref("browser.download.animateNotifications", false);
  25. user_pref("browser.panorama.animate_zoom", false);
  26.  
  27.  
  28. #Tweak the timing on the entering and leaving fullscreen animation
  29. user_pref("full-screen-api.transition-duration.enter", 0);
  30. user_pref("full-screen-api.transition-duration.leave", 0);
  31.  
  32.  
  33. #Hide First Run Tips
  34. user_pref("browser.customizemode.tip0.shown", true);
  35. user_pref("browser.rights.3.shown", true);
  36.  
  37.  
  38. #Disable Newtab Page
  39. user_pref("browser.newtabpage.enabled", false);
  40. user_pref("browser.newtabpage.enhanced", false);
  41. user_pref("browser.newtabpage.introShown", true);
  42.  
  43.  
  44.  
  45.  
  46. ####Security####
  47. #Stop sites from automatically redirecting and refreshing pages.
  48. #Some download sites redirect you to their download server so this may interfere with that but most sites usually have a way to force start the download anyway.
  49. user_pref("accessibility.blockautorefresh", true);
  50.  
  51.  
  52. #Disable non-latin characters in URLs
  53. #These are occasionally used to spoof urls.
  54. user_pref("network.IDN_show_punycode", true);
  55. user_pref("network.IDN.use_whitelist", false);
  56.  
  57.  
  58. #Disables DRM plugin functionality.
  59. user_pref("media.eme.enabled", false);
  60.  
  61.  
  62.  
  63.  
  64. #####Privacy#####
  65. #Disables automatically filling in information on websites
  66. user_pref("browser.formfill.enable", false);
  67.  
  68.  
  69. #Prevent videos from playing (and downloading) automatically
  70. user_pref("media.autoplay.enabled", false);
  71.  
  72.  
  73. #Disable Firefox Hello
  74. user_pref("loop.enabled", false);
  75.  
  76.  
  77. #Disables WebRTC Functionality
  78. user_pref("media.peerconnection.enabled", false);
  79. user_pref("media.peerconnection.turn.disable", true);
  80. user_pref("media.peerconnection.use_document_iceservers", false);
  81. user_pref("media.peerconnection.video.enabled", false);
  82. user_pref("media.peerconnection.identity.timeout", 1);
  83.  
  84.  
  85. #Disable telemetry
  86. user_pref("toolkit.telemetry.enabled", false);
  87.  
  88.  
  89. #Disable Prefetching
  90. user_pref("network.predictor.enabled", false);
  91. user_pref("network.prefetch-next", false);
  92. user_pref("network.dns.disablePrefetch", true);
  93. user_pref("network.http.speculative-parallel-limit", 0);
  94.  
  95.  
  96.  
  97. #Disable Google's Safebrowsing Service
  98. user_pref("browser.safebrowsing.enabled", false);
  99. user_pref("browser.safebrowsing.downloads.enabled", false);
  100. user_pref("browser.safebrowsing.malware.enabled", false);
  101.  
  102.  
  103. #Disable GeoLocation
  104. user_pref("browser.beacon.enabled", false);
  105. user_pref("geo.enabled", false);
  106. user_pref("geo.wifi.logging.enabled", false);
  107. user_pref("geo.wifi.url", "");
  108.  
  109.  
  110. #Disable Javascript Functions
  111. user_pref("dom.event.clipboardevents.enabled", false)
  112. user_pref("dom.battery.enabled", false)
  113. user_pref("browser.send_pings", false)
  114.  
  115.  
  116. #Disables WebGL (will break games and other things that make use of it.)
  117. user_pref("webgl.disabled", true)
  118.  
  119.  
  120. #Disable Social Media Integration
  121. user_pref("social.directories", "");
  122. user_pref("social.whitelist", "");
  123. user_pref("social.manifest.facebook", "");
  124. user_pref("social.remote.install.enabled", false);
  125. user_pref("social.toast-notifications.enabled", false);
  126.  
  127.  
  128. #Device tracking/statistics
  129. user_pref("device.sensors.enabled", false)
  130. user_pref("camera.control.face_detection.enabled", false)
  131. user_pref("camera.control.autofocus_moving_callback.enabled", false)
  132.  
  133.  
  134. #Enables Tracking Protection through the Disconnect blocklist service.
  135. #If you have an adblocker with Disconnect filters this is not necessary and may #increase memory usage.
  136. #user_pref("privacy.trackingprotection.enabled", true)
  137.  
  138.  
  139. #Enable the "Do Not Track" Header
  140. #Does not actually prevent tracking, merely requests that sites do not track you. Having the header enabled actually makes you more identifiable.
  141.  
  142. #user_pref("privacy.donottrackheader.enabled", true)
  143.  
  144.  
  145. #Disable Potentially Unsafe Cryptographic Ciphers
  146. user_pref("security.tls.unrestricted_rc4_fallback", false)
  147. user_pref("security.tls.insecure_fallback_hosts.use_static_list", false)
  148. user_pref("security.tls.version.min", 1)
  149. user_pref("security.ssl.require_safe_negotiation", true)
  150. user_pref("security.ssl.treat_unsafe_negotiation_as_broken", true)
  151. user_pref("security.ssl3.rsa_seed_sha", true)
  152. user_pref("security.OCSP.enabled", true)
  153.  
  154. user_pref("security.ssl3.rsa_rc4_128_sha", false)
  155. user_pref("security.ssl3.rsa_rc4_128_md5", false)
  156. user_pref("security.ssl3.rsa_des_ede3_sha", false)
  157. user_pref("security.ssl3.ecdhe_ecdsa_rc4_128_sha", false)
  158. user_pref("security.ssl3.ecdhe_rsa_rc4_128_sha", false)
  159.  
  160. #Perfect forward secrecy. Can break stuff
  161. #user_pref("security.ssl3.rsa_aes_256_sha", false)
  162.  
  163. #Force TLS 1.2 or Higher
  164. user_pref("security.tls.version.min=3", 3);
  165.  
  166.  
  167. #Disable styling for visited links, can be used to snoop on your history using javascript.
  168. #May not be necessary anymore see: https://developer.mozilla.org/en-US/docs/Web/CSS/Privacy_and_the_:visited_selector
  169. user_pref("layout.css.visited_links_enabled", false);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement