user.js (6057B)
1 // Menu bar. 2 user_pref("browser.uiCustomization.state", "{\"placements\":{\"widget-overflow-fixed-list\":[],\"nav-bar\":[\"back-button\",\"forward-button\",\"stop-reload-button\",\"urlbar-container\",\"downloads-button\"],\"toolbar-menubar\":[\"menubar-items\"],\"TabsToolbar\":[\"tabbrowser-tabs\",\"new-tab-button\",\"alltabs-button\"],\"PersonalToolbar\":[\"personal-bookmarks\"]},\"seen\":[\"developer-button\"],\"dirtyAreaCache\":[\"nav-bar\",\"toolbar-menubar\",\"TabsToolbar\",\"PersonalToolbar\"],\"currentVersion\":15,\"newElementCount\":3}"); 3 // Fonts. 4 user_pref("font.default.x-western", "sans-serif"); 5 user_pref("font.name.monospace.ja", "Iosevka Term SS09"); 6 user_pref("font.name.monospace.x-western", "Iosevka Term SS09"); 7 user_pref("font.name.monospace.zh-CN", "Iosevka Term SS09"); 8 user_pref("font.name.sans-serif.ja", "Noto Sans CJK JP"); 9 user_pref("font.name.sans-serif.x-western", "Oxygen-Sans"); 10 user_pref("font.name.sans-serif.zh-CN", "Noto Sans CJK SC"); 11 user_pref("font.name.serif.ja", "Noto Serif CJK JP"); 12 user_pref("font.name.serif.x-western", "Noto Serif"); 13 user_pref("font.name.serif.zh-CN", "Noto Serif CJK SC"); 14 // Search engine and urlbar. 15 user_pref("browser.search.update", false); 16 user_pref("browser.urlbar.placeholderName", "DuckDuckGo"); 17 user_pref("browser.urlbar.speculativeConnect.enabled", false); 18 user_pref("browser.urlbar.speculativeConnect.enabled", false); 19 user_pref("browser.urlbar.suggest.bookmark", true); 20 user_pref("browser.urlbar.suggest.history", false); 21 user_pref("browser.urlbar.suggest.openpage", false); 22 // Enable picture-in-picture. 23 user_pref("media.videocontrols.picture-in-picture.enabled", true); 24 user_pref("media.videocontrols.picture-in-picture.video-toggle.always-show", true); 25 user_pref("media.videocontrols.picture-in-picture.video-toggle.enabled", true); 26 user_pref("media.videocontrols.picture-in-picture.video-toggle.flyout-enabled", true); 27 // Newtab page. 28 user_pref("browser.newtabpage.activity-stream.feeds.section.highlights", false); 29 user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); 30 user_pref("browser.newtabpage.activity-stream.feeds.snippets", false); 31 user_pref("browser.newtabpage.activity-stream.feeds.topsites", false); 32 // Disable pocket. 33 user_pref("extensions.pocket.enabled", false); 34 user_pref("browser.newtabpage.activity-stream.section.highlights.includePocket", false); 35 // Geo location. 36 user_pref("geo.enabled", false); 37 // WebRTC. 38 user_pref("media.peerconnection.enabled", false); 39 user_pref("media.peerconnection.turn.disable", true); 40 user_pref("media.peerconnection.use_document_iceservers", false); 41 user_pref("media.peerconnection.identity.timeout", 1); 42 // Cookies. 43 user_pref("privacy.firstparty.isolate", true); 44 user_pref("network.cookie.cookieBehavior", 1); 45 user_pref("network.cookie.lifetimePolicy", 2); 46 // Don't send referer information. 47 user_pref("network.http.referer.trimmingPolicy", 2); 48 user_pref("network.http.referer.XOriginPolicy", 2); 49 user_pref("network.http.referer.XOriginTrimmingPolicy", 2); 50 // Finger printing and tracking. 51 // Resist fingerprinting disables per site zoom. 52 // user_pref("privacy.resistFingerprinting", true); 53 user_pref("privacy.trackingprotection.enabled", true); 54 // Disable Google Safe Browsing malware checks and phishing protection. 55 user_pref("browser.safebrowsing.malware.enabled", false); 56 user_pref("browser.safebrowsing.phishing.enabled", false); 57 // Disable browser pings. 58 user_pref("browser.send_pings", false); 59 // Don't provide hardware infromation, including battery, microphone and camera. 60 user_pref("dom.battery.enabled", false); 61 user_pref("media.navigator.enabled", false); 62 // Don't mess with context menu and clipboard. 63 user_pref("dom.event.clipboardevents.enabled", false); 64 // Diable about:config warning. 65 user_pref("general.warnOnAboutConfig", false); 66 // Disable firefox intro tabs on the first start. 67 user_pref("browser.startup.homepage_override.mstone", "ignore"); 68 // Don't check default browser. 69 user_pref("browser.shell.checkDefaultBrowser", false); 70 // Don't send tracking/diagonse information. 71 user_pref("toolkit.telemetry.archive.enabled", false); 72 user_pref("toolkit.telemetry.bhrPing.enabled", false); 73 user_pref("toolkit.telemetry.cachedClientID", ""); 74 user_pref("toolkit.telemetry.enabled", false); 75 user_pref("toolkit.telemetry.firstShutdownPing.enabled", false); 76 user_pref("toolkit.telemetry.hybridContent.enabled", false); 77 user_pref("toolkit.telemetry.newProfilePing.enabled", false); 78 user_pref("toolkit.telemetry.prompted", 2); 79 user_pref("toolkit.telemetry.rejected", true); 80 user_pref("toolkit.telemetry.reportingpolicy.firstRun", false); 81 user_pref("toolkit.telemetry.server", ""); 82 user_pref("toolkit.telemetry.shutdownPingSender.enabled", false); 83 user_pref("toolkit.telemetry.unified", false); 84 user_pref("toolkit.telemetry.unifiedIsOptIn", false); 85 user_pref("toolkit.telemetry.updatePing.enabled", false); 86 user_pref("datareporting.healthreport.service.enabled", false); 87 user_pref("datareporting.healthreport.uploadEnabled", false); 88 // Don't participate in experiments. 89 user_pref("extensions.shield-recipe-client.api_url", ""); 90 user_pref("extensions.shield-recipe-client.enabled", false); 91 // Don't detect wifi login page. 92 user_pref("network.captive-portal-service.enabled", false); 93 // Don't send crash reports. 94 user_pref("browser.tabs.crashReporting.sendReport", false); 95 // Send do not check. 96 user_pref("privacy.donottrackheader.enabled", true); 97 // Disable beacons. 98 user_pref("beacon.enabled", false); 99 // Don't autofill forms or save logins. 100 user_pref("signon.autofillForms", false); 101 user_pref("browser.formfill.enable", false); 102 user_pref("signon.rememberSignons", false); 103 // Don't remember borwsing history. 104 user_pref("privacy.history.custom", true); 105 user_pref("places.history.enabled", false); 106 // Don't autohide the download button. 107 user_pref("browser.download.autohideButton", false); 108 // Enable U2F support. 109 user_pref("security.webauth.u2f", true); 110 // Disable WebGL. 111 user_pref("webgl.disabled", true); 112 // Don't warn when closing all tabs. 113 user_pref("browser.tabs.warnOnClose", false);