arkenfox / user.js

Firefox privacy, security and anti-tracking: a comprehensive user.js template for configuration and hardening
MIT License
10.24k stars 519 forks source link

request: paste your overrides #438

Closed Thorin-Oakenpants closed 5 years ago

Thorin-Oakenpants commented 6 years ago

so we can get a better handle on

Feel free to sanitize them before posting. I suggest ignore TP (tracking protection) and SB (safe browsing) overrides, since these will NOT be changed from default, and they're big lists of prefs

Here is the syntax for the collapsible content


<details><summary> name  overrides</summary><p>

you must have a line space above and below this and here
is where you put your ````js blah blah ``` stuff

</p></details>
Thorin-Oakenpants commented 6 years ago
:jeans: overrides

```js /* warnings & whats new ***/ user_pref("browser.tabs.warnOnClose", false); user_pref("browser.tabs.warnOnCloseOtherTabs", false); user_pref("browser.tabs.warnOnOpen", false); user_pref("full-screen-api.warning.delay", 0); user_pref("full-screen-api.warning.timeout", 0); user_pref("browser.tabs.closeWindowWithLastTab", false); user_pref("browser.startup.homepage_override.mstone", "ignore"); /* findbar etc */ user_pref("findbar.modalHighlight", true); user_pref("findbar.highlightAll", true); user_pref("accessibility.typeaheadfind", true); /* better fonts ***/ user_pref("font.name.serif.x-unicode", "Georgia"); user_pref("font.name.serif.x-western", "Georgia"); user_pref("font.name.sans-serif.x-unicode", "Arial"); user_pref("font.name.sans-serif.x-western", "Arial"); user_pref("font.name.monospace.x-unicode", "Lucida Console"); user_pref("font.name.monospace.x-western", "Lucida Console"); /* containers ***/ user_pref("privacy.usercontext.about_newtab_segregation.enabled", true); user_pref("privacy.userContext.ui.enabled", true); user_pref("privacy.userContext.enabled", true); user_pref("privacy.userContext.longPressBehavior", 2); /* OCSP */ user_pref("security.OCSP.require", false); // too much breakage /* reader view, screenshots ***/ user_pref("reader.parse-on-load.enabled", false); user_pref("extensions.screenshots.disabled", true); /* RFP ***/ user_pref("privacy.window.maxInnerWidth", 1600); user_pref("privacy.window.maxInnerHeight", 900); /* other ***/ user_pref("dom.allow_cut_copy", true); // for autocopy extension user_pref("browser.backspace_action", 2); user_pref("browser.ctrlTab.previews", true); user_pref("browser.urlbar.decodeURLsOnCopy", true); user_pref("browser.bookmarks.max_backups", 0); user_pref("network.manage-offline-status", false); user_pref("identity.fxaccounts.enabled", false); user_pref("toolkit.cosmeticAnimations.enabled", false); user_pref("ui.key.menuAccessKey", 0); // disable alt key toggling the menu bar [RESTART] user_pref("extensions.webextensions.restrictedDomains", ""); // allow extensions on AMO etc ```

Thorin-Oakenpants commented 6 years ago

I haven't finished moving all my direct edits to overrides yet, fe disabling SB+TP, enabling disk-cache (+ clear on shutdown), and a couple of 5000's.

most of Big E's overrides

```js user_pref("geo.enabled", false); // 0201 user_pref("geo.wifi.uri", "data:,"); // 0210 /* enterprise policy to disable AppUpdates */ user_pref("extensions.update.enabled", false); // 0301b user_pref("services.blocklist.plugins.collection", ""); // 0403 user_pref("services.blocklist.gfx.collection", ""); // 0403 user_pref("extensions.systemAddon.update.enabled", false); // 0505 user_pref("extensions.systemAddon.update.url", ""); // 0505 user_pref("extensions.screenshots.disabled", true); // 0515 user_pref("network.ftp.enabled", false); // 0708 user_pref("browser.urlbar.autocomplete.enabled", true); // 0850a user_pref("browser.urlbar.suggest.history", true); // 0850a user_pref("browser.urlbar.suggest.bookmark", true); // 0850a user_pref("browser.urlbar.suggest.openpage", true); // 0850a user_pref("browser.urlbar.autoFill", true); // 0850d user_pref("signon.rememberSignons", false); // 0901 user_pref("permissions.memory_only", true); // 1006 user_pref("security.nocertdb", true); // 1221 user_pref("security.insecure_connection_icon.enabled", false); // 1273 user_pref("security.insecure_connection_text.enabled", false); // 1273 user_pref("network.http.referer.XOriginPolicy", 2); // 1603 user_pref("network.http.referer.XOriginTrimmingPolicy", 2); // 1604 user_pref("dom.event.contextmenu.enabled", false); // 2401 user_pref("pdfjs.disabled", true); // 26xx user_pref("browser.download.folderList", 0); // 2650 user_pref("extensions.webextensions.restrictedDomains", ""); // 2662 user_pref("security.csp.experimentalEnabled", false); // 2682 user_pref("privacy.clearOnShutdown.openWindows", false); // 2805 user_pref("privacy.cpd.openWindows", false); // 2805 user_pref("browser.startup.homepage_override.mstone", "ignore"); // 5000 user_pref("identity.fxaccounts.enabled", false); // 5000 user_pref("toolkit.cosmeticAnimations.enabled", false); // 5000 user_pref("xpinstall.signatures.required", false); // 5000 ```

crssi commented 6 years ago
crssi overrides

```js /*** PERSONAL TWEAKS ***/ /* 0102 */ user_pref("browser.startup.page", 0); // set blank page at start up /* 1020 */ user_pref("browser.sessionstore.max_tabs_undo", 10); // remember last 10 closed tabs for undo /* 1401 */ user_pref("browser.display.use_document_fonts", 1); // can't help myself, but I like fonts /* 1405 */ user_pref("gfx.downloadable_fonts.woff2.enabled", true); // can't help myself, but I like glyphs /* 1603 */ user_pref("network.http.referer.XOriginPolicy", 0); // should be 1, except when spoofing by 3rd party extension, like uM or Smart Referer /* 2205 */ user_pref("browser.link.open_newwindow.restriction", 2); // don't like that a new window to be forcibly opened fullsize /* 2651 */ user_pref("browser.download.useDownloadDir", true); // force save downloads to download folder /* 2701 */ user_pref("network.cookie.cookieBehavior", 0); // block 3rd party with uM and deal with 1st party cookies using WE (C-AD) /* 2803 */ user_pref("privacy.clearOnShutdown.cookies", true); // clear cookies nn shutdown /* 5000 */ user_pref("accessibility.typeaheadfind", true); // enable "Find As You Type" /* 5000 */ user_pref("findbar.highlightAll", true); // hihglight all hits on search /* 5000 */ user_pref("browser.tabs.closeWindowWithLastTab", false); // do not close FF with the last tab /* 5000 */ user_pref("browser.urlbar.decodeURLsOnCopy", true); /* 5000 */ user_pref("ui.key.menuAccessKey", 0); // disable alt key toggling the menu bar /* 5002 */ user_pref("full-screen-api.warning.timeout", 0); // remove fullscreen message annoyance /* 5026 */ user_pref("reader.parse-on-load.enabled", false); // disable reader view /* 5028 */ user_pref("general.autoScroll", false); // disable mouse middle-click scroll annoyance /*** BREAKAGE TWEAKS ***/ /* 0001 */ user_pref("browser.privatebrowsing.autostart", false); // disable PB /* 1202 */ user_pref("security.tls.version.min", 2); // some SSL pages still uses TLS 1.0 and breaks with the value higher than 1 /* 1212 */ user_pref("security.OCSP.require", false); // OCSP soft fail /* 1240 */ user_pref("security.mixed_content.block_active_content", false); // allow secure and non-secure content /* 1241 */ user_pref("security.mixed_content.block_display_content", false); // allow secure and non-secure content /* 2030 */ user_pref("media.autoplay.enabled", true); // false introduces funny things /* 2206 */ user_pref("full-screen-api.enabled", true); // false breaks fullscreen /* 2402 */ user_pref("dom.event.clipboardevents.enabled", true); // enable copy/cut/paste /* 2662 */ user_pref("extensions.webextensions.restrictedDomains", ""); // allow extensions on mozilla domains /* 2682 */ user_pref("security.csp.experimentalEnabled", false); /* 4001 */ user_pref("privacy.firstparty.isolate", false); // true breaks Cookie AutoDelete and some login pages /* 5000 */ user_pref("dom.disable_open_during_load", false); // enable popup // /* 5000 */ user_pref("security.sandbox.content.level", 4); // sandboxie.com doesn't work with FF 60 (default = 5) /*** UPDATE ***/ /* 0300 */ user_pref("app.update.checkInstallTime.days", 0); // FF update check every day /* 0301b */ user_pref("extensions.update.enabled", true); // enable extensions update auto check /* 0302b */ user_pref("extensions.update.autoUpdateDefault", true); // enable extensions auto update /* 0303 */ user_pref("app.update.service.enabled", true); // enable update service /*** LOCATION BAR / SEARCH BAR / SUGGESTIONS : Install extension "DuckDuckGo (HTTPS / SSL)" or any other privacy search provider ***/ /* 0801 */ user_pref("keyword.enabled", true); /* 0807 */ user_pref("browser.search.suggest.enabled", true); /* 0808 */ user_pref("browser.urlbar.suggest.searches", true); /* 0850a */ user_pref("browser.urlbar.autocomplete.enabled", true); /* 0850a */ user_pref("browser.urlbar.suggest.history", true); /* 0850b */ user_pref("browser.urlbar.suggest.bookmark", true); /* 0850b */ user_pref("browser.urlbar.suggest.openpage", true); /*** ENTERPRISE SPECIFIC ***/ user_pref("network.automatic-ntlm-auth.allow-non-fqdn", true); // enable SSO for hostnames user_pref("network.negotiate-auth.trusted-uris", "yourdomain.com,yourotherdomain.com"); // enable SSO user_pref("network.automatic-ntlm-auth.trusted-uris", "yourdomain.com,yourotherdomain.com"); // enable SSO user_pref("security.enterprise_roots.enabled", true); // use OS certificates store user_pref("plugins.load_appdir_plugins", true); // enable Skype meeting open URL ```

2glops commented 6 years ago
2glops overrides

```js /* Location Bar */ user_pref("browser.urlbar.autocomplete.enabled", true); user_pref("browser.urlbar.suggest.bookmark", true); /* Mixed Content */ user_pref("security.mixed_content.block_display_content", false); // uMatrix : deny all + allow on per domain basis /* Web Workers */ user_pref("dom.serviceWorkers.enabled", true); // uMatrix : deny all + allow on per domain basis ```

Atavic commented 6 years ago
Atavic overrides

```javascript /** REMOVED ALL THE URLS: NO AUTOCONN EXCEPT FOR HTTPS CERTIFICATES **/ user_pref("extensions.blocklist.enabled", false); user_pref("extensions.blocklist.url", ""); // AUTOCONN /** SOME MINOR DIFFERENCES **/ user_pref("media.gmp-manager.url", ""); user_pref("media.gmp-manager.url.override", ""); user_pref("browser.sessionstore.interval", 60000); /** IMPORTED SOME PYLLYUKKO ENTRIES **/ ```

claustromaniac commented 6 years ago
:cat2: overrides

```js user_pref("browser.startup.page", 0); //0102 user_pref("app.update.enabled", false); //0301a user_pref("extensions.update.enabled", false); //0301b user_pref("extensions.systemAddon.update.enabled", false); //0505 user_pref("extensions.systemAddon.update.url", ""); //0505 user_pref("extensions.screenshots.disabled", true); //0515 user_pref("extensions.screenshots.upload-disabled", true); //0515 user_pref("network.trr.mode", 0); //0707 user_pref("network.trr.bootstrapAddress", ""); //0707 user_pref("network.trr.uri", ""); //0707 user_pref("browser.urlbar.autocomplete.enabled", true); //0850a user_pref("browser.urlbar.suggest.history", true); //0850a user_pref("browser.urlbar.suggest.bookmark", true); //0850a user_pref("browser.urlbar.suggest.openpage", false); user_pref("browser.formfill.enable", true); //0860 user_pref("signon.rememberSignons", false); //0901 user_pref("browser.cache.disk.enable", true); //1001 user_pref("browser.cache.disk.capacity", 1048576); //1001 // for permanent containers user_pref("browser.cache.disk_cache_ssl", true); //1002 user_pref("privacy.userContext.ui.enabled", true); //1700 user_pref("privacy.userContext.enabled", true); user_pref("privacy.usercontext.about_newtab_segregation.enabled", true); user_pref("privacy.userContext.longPressBehavior", 2); user_pref("permissions.default.camera", 2); //2024 user_pref("permissions.default.microphone", 2); //2024 user_pref("permissions.default.desktop-notification", 2); //2305 user_pref("dom.event.contextmenu.enabled", false); //2401 user_pref("extensions.webextensions.restrictedDomains", ""); //2662 user_pref("network.cookie.cookieBehavior", 1); //2701 user_pref("network.cookie.lifetimePolicy", 2); //2703 user_pref("privacy.clearOnShutdown.cache", false); //2803 ( Temporary Containers + manual cleanups ) user_pref("privacy.clearOnShutdown.cookies", false); //2803 ( Temporary Containers + manual cleanups ) user_pref("privacy.clearOnShutdown.history", false); //2803 ( Expire History By Days + manual cleanups ) // 5000: PERSONAL // WELCOME & WHAT'S NEW NOTICES user_pref("browser.startup.homepage_override.mstone", "ignore"); // master switch user_pref("startup.homepage_welcome_url", ""); user_pref("startup.homepage_welcome_url.additional", ""); user_pref("startup.homepage_override_url", ""); // What's New page after updates // WARNINGS user_pref("browser.tabs.warnOnClose", false); user_pref("browser.tabs.warnOnCloseOtherTabs", false); user_pref("browser.tabs.warnOnOpen", false); user_pref("full-screen-api.warning.delay", 0); user_pref("full-screen-api.warning.timeout", 0); // APPEARANCE user_pref("toolkit.cosmeticAnimations.enabled", false); // CONTENT BEHAVIOR user_pref("layout.spellcheckDefault", 0); // UX BEHAVIOR user_pref("browser.backspace_action", 2); user_pref("browser.tabs.closeWindowWithLastTab", false); user_pref("browser.tabs.loadBookmarksInTabs", true); user_pref("browser.urlbar.decodeURLsOnCopy", true); // OTHER user_pref("browser.bookmarks.max_backups", 2); user_pref("identity.fxaccounts.enabled", false); user_pref("network.manage-offline-status", false); user_pref("reader.parse-on-load.enabled", false); user_pref("xpinstall.signatures.required", false); // UNRELATED user_pref("browser.tabs.remote.autostart", false); user_pref("browser.tabs.remote.autostart.2", false); user_pref("dom.max_script_run_time", 30); // I'm patient user_pref("dom.max_ext_content_script_run_time", 30); user_pref("lightweightThemes.selectedThemeID", "firefox-compact-dark@mozilla.org"); user_pref("devtools.theme", "dark"); ```

Thorin-Oakenpants commented 6 years ago

@claustromaniac What pref expires history by days?

earthlng commented 6 years ago

What pref expires history by days?

With the way he wrote it, it should be clear that he's talking about an extension, mate ;)

claustromaniac commented 6 years ago

Yep, that's the one.

Thorin-Oakenpants commented 6 years ago

so six perps so far .. come on gals (and guys) ... @overdodactyl @Forsaked @grauenwolfe @Gitoffthelawn @Just-me-ghacks @RoxKilly @Theemim and co

If you don't actually use an overrides section, maybe just list a few of the items you don't use if you can remember them. TIA

Forsaked commented 6 years ago

Some changes are QoL and some, which i commented out are controlled by extensions in my config.

Forsaked overrides

````js /*** 0100: STARTUP ***/ user_pref("browser.startup.page", 1); user_pref("browser.startup.homepage", "https://www.startpage.com/do/mypage.pl?prf=de02bd334b3292d8aa12044cff47e206"); /*** 0400: BLOCKLISTS / SAFE BROWSING / TRACKING PROTECTION ***/ user_pref("browser.safebrowsing.malware.enabled", false); user_pref("browser.safebrowsing.phishing.enabled", false); // (FF50+) user_pref("browser.safebrowsing.downloads.enabled", false); user_pref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", false); user_pref("browser.safebrowsing.downloads.remote.block_uncommon", false); user_pref("browser.safebrowsing.downloads.remote.block_dangerous", false); // (FF49+) user_pref("browser.safebrowsing.downloads.remote.block_dangerous_host", false); // (FF49+) user_pref("browser.safebrowsing.provider.google.updateURL", ""); user_pref("browser.safebrowsing.provider.google.gethashURL", ""); user_pref("browser.safebrowsing.provider.google4.updateURL", ""); user_pref("browser.safebrowsing.provider.google4.gethashURL", ""); /*** 0500: SYSTEM ADD-ONS / EXPERIMENTS ***/ user_pref("extensions.screenshots.disabled", true); user_pref("extensions.screenshots.upload-disabled", true); // (FF60+) /*** 0800: LOCATION BAR / SEARCH BAR / SUGGESTIONS / HISTORY / FORMS [SETUP] ***/ user_pref("places.history.enabled", false); /*** 0900: PASSWORDS ***/ user_pref("signon.rememberSignons", false); /*** 1000: CACHE [SETUP] ***/ // user_pref("browser.sessionstore.max_tabs_undo", 0); // user_pref("browser.sessionstore.max_windows_undo", 0); /*** 1200: HTTPS ( SSL/TLS / OCSP / CERTS / HSTS / HPKP / CIPHERS ) ***/ // user_pref("security.mixed_content.block_display_content", true); /*** 1600: HEADERS / REFERERS ***/ // user_pref("network.http.sendRefererHeader", 2); // user_pref("network.http.referer.trimmingPolicy", 0); // user_pref("network.http.referer.XOriginPolicy", 1); // user_pref("network.http.referer.XOriginTrimmingPolicy", 0); // user_pref("network.http.referer.defaultPolicy", 3); // (FF59+) default: 3 // user_pref("network.http.referer.defaultPolicy.pbmode", 2); // (FF59+) default: 2 /*** 1700: CONTAINERS [SETUP] ***/ user_pref("privacy.userContext.ui.enabled", true); user_pref("privacy.userContext.enabled", true); user_pref("privacy.usercontext.about_newtab_segregation.enabled", true); user_pref("privacy.userContext.longPressBehavior", 2); /*** 2200: WINDOW MEDDLING & LEAKS / POPUPS ***/ // user_pref("full-screen-api.enabled", false); /*** 2300: WEB WORKERS [SETUP] ***/ // user_pref("dom.serviceWorkers.enabled", false); /*** 2400: DOM (DOCUMENT OBJECT MODEL) & JAVASCRIPT ***/ user_pref("dom.event.contextmenu.enabled", false); /*** 2700: PERSISTENT STORAGE ***/ user_pref("network.cookie.cookieBehavior", 1); user_pref("network.cookie.lifetimePolicy", 2); /*** 2800: SHUTDOWN [SETUP] ***/ user_pref("privacy.clearOnShutdown.cookies", true); user_pref("privacy.cpd.cookies", true); user_pref("privacy.cpd.passwords", true); // this is not listed /*** 5000: PERSONAL [SETUP] ***/ user_pref("browser.startup.homepage_override.mstone", "ignore"); // master switch user_pref("startup.homepage_welcome_url", ""); user_pref("startup.homepage_welcome_url.additional", ""); user_pref("startup.homepage_override_url", ""); // What's New page after updates user_pref("browser.download.autohideButton", false); // (FF57+) user_pref("accessibility.typeaheadfind", true); // enable "Find As You Type" user_pref("clipboard.autocopy", false); // disable autocopy default [LINUX] user_pref("layout.spellcheckDefault", 0); // 0=none, 1-multi-line, 2=multi-line & single-line user_pref("browser.backspace_action", 2); // 0=previous page, 1=scroll up, 2=do nothing user_pref("browser.ctrlTab.previews", true); user_pref("browser.tabs.closeWindowWithLastTab", false); user_pref("general.autoScroll", false); // middle-click enabling auto-scrolling [WINDOWS] [MAC] user_pref("browser.bookmarks.max_backups", 0); user_pref("identity.fxaccounts.enabled", false); // disable and hide Firefox Accounts and Sync (FF60+) [RESTART] user_pref("reader.parse-on-load.enabled", false); // "Reader View" /*** 0000: MY SETTINGS ***/ user_pref("ui.osk.enabled", false); user_pref("accessibility.blockautorefresh", true); user_pref("dom.disable_open_during_load", true); // user_pref("security.ssl.enable_ocsp_must_staple", true); user_pref("browser.search.widget.inNavBar", true); user_pref("dom.ipc.processCount", 7); ````

overdodactyl commented 6 years ago
I don't make heavy usage of overrides to be honest, but here they are :)

```js user_pref("devtools.chrome.enabled", true); user_pref("devtools.debugger.remote-enabled", true); user_pref("browser.startup.page", 0); // 0102: set start page (0=blank, 1=home, 2=last visited page, 3=resume previous session) user_pref("browser.tabs.loadBookmarksInTabs", true); //open bookmarks in a new tab // UI Dark theme user_pref("lightweightThemes.selectedThemeID", "firefox-compact-dark@mozilla.org"); // Dev Tools Dark theme user_pref("devtools.theme", "dark"); // disable and hide Firefox Accounts and Sync (FF60+) [RESTART] user_pref("identity.fxaccounts.enabled", false); ```

atomGit commented 6 years ago

this is for FF/WF v56, so some of this will be obsolete

click here

```js /* * === atomgit GHACKS DIFFS === * * these prefs are duplicates of the ghacks prefs above, but ones which i set differently */ user_pref("_user.js.parrot", "syntax error @ atomgit GHACKS DIFFS"); //user_pref("beacon.enabled", true); // 'false' breaks page loading in certain circumstances, such as the WordPress back-end - suggest to disable hyperlink auditing using uBlock Origin instead user_pref("browser.bookmarks.max_backups", 5); // i don't mind keeping a few extra backups of my bookmarks user_pref("browser.ctrlTab.previews", false); // disable Ctrl + Tab to preview tabs user_pref("browser.display.use_document_fonts", 1); // '0' breaks the display of uBlock and uMatrix on Linux and can uglify some websites user_pref("browser.download.forbid_open_with", false); // allow the `open with` option when downloading a file user_pref("browser.formfill.enable", true); // remember form and search history user_pref("browser.sessionstore.interval", 15000000); // essentially disable session store (restore session after browser crash) to reduce disk writes user_pref("browser.sessionstore.max_tabs_undo", 3); // allow to restore closed tabs user_pref("browser.urlbar.autoFill", true); // allow auto-complete of text entered in the address bar user_pref("browser.urlbar.autoFill.typed", true); // allow auto-complete of text entered in the address bar user_pref("browser.urlbar.suggest.bookmark", true); // allow auto-complete of text entered in the address bar user_pref("browser.urlbar.suggest.history", true); // allow auto-complete of text entered in the address bar user_pref("dom.event.clipboardevents.enabled", true); // `false' breaks TinyMCE editor paste (Ctrl+V) such as is used by WordPress, possibly others user_pref("dom.popup_allowed_events", "change click dblclick mouseup notificationclick reset submit touchend"); // allow all default JS pop-up events user_pref("dom.workers.enabled", true); // unbreak coin-hive.com login, some other sites - Web Workers can be controlled with uMatrix user_pref("full-screen-api.enabled", true); // enable full-screen video capability user_pref("layers.acceleration.disabled", false); // don't disable hardware acceleration user_pref("layout.css.visited_links_enabled", true); // though it is a privacy trade-off, differentiating between visited and not visited links is important to me user_pref("layout.spellcheckDefault", 2); // enable spell-check for single line text inputs //user_pref("javascript.options.wasm", true); // unbreak coin-hive.com login user_pref("media.autoplay.enabled", true); // `false' breaks Vimeo video playback, possibly others user_pref("network.cookie.cookieBehavior", 1); // allow all 1st party cookies by default and control them with an add-on user_pref("network.http.referer.XOriginPolicy", 0); // '1' breaks Vimeo videos embeded on 3rd party websites - can set to '0' and use 'Smart Referer' extension to control the referer, adding an exception for Vimeo user_pref("privacy.clearOnShutdown.history", false); // keep history on shutdown user_pref("privacy.clearOnShutdown.formdata", false); // keep form data on shutdown user_pref("privacy.cpd.formdata", false); // don't select form data when clearing history manually user_pref("privacy.cpd.history", false); // don't select history item when clearing history manually user_pref("security.tls.version.min", 1); // in my case a lessor value breaks cPanel login user_pref("security.OCSP.enabled", 0); // disable on-line verification of SSL certificates (can cause sites to load slower or not at all if the service is down - you should typically NOT disable this) user_pref("webgl.disabled", false); // `true` will break some sites including Google Earth Street View on Google Maps - WenGL appears to be dependant upon JS being enabled (which should be disabled globally by default) so if you trust a site enough to enable JS, you may as well enable WebGL as well since the security risks with WebGL appear to be far less of a problem than JS user_pref("webgl.disable-extensions", false); // 'true' breaks Google Earth Street View on Google Maps user_pref("webgl.min_capability_mode", false); // 'true' breaks Google Earth Street View on Google Maps ```

Thorin-Oakenpants commented 5 years ago

some of Nikopol's overrides - the prefs for netflix is good. Definitely something for the relaxed version is to let audio and media run without issues

thanks Nikopol for your overrides

```js //user_pref("media.gmp-widevinecdm.visible", true); // 1825 --- These are for Netflix --- //user_pref("media.gmp-widevinecdm.enabled", true); // 1825 //user_pref("media.gmp-widevinecdm.autoupdate", true); // 1825 //user_pref("media.eme.enabled", true); // 1830 //user_pref("browser.eme.ui.enabled", false); // 1830 --- Netflix stuff end --- /* 1840: disable the OpenH264 Video Codec by Cisco to "Never Activate" * This is the bundled codec used for video chat in WebRTC ***/ //user_pref("media.gmp-gmpopenh264.enabled", false); // (hidden pref) //user_pref("media.gmp-gmpopenh264.autoupdate", false); user_pref("media.autoplay.default", 2); // 2030 0=Allowed (default), 1=Blocked, 2=Prompt user_pref("media.autoplay.enabled", true); user_pref("full-screen-api.enabled", true); // 2204 ```

Daystar1998 commented 5 years ago
Daystar1998 overrides

```js // Resume previous session user_pref("browser.startup.page", 3); // 0102 // Auto update Firefox user_pref("app.update.auto", true); // 0302a user_pref("app.update.service.enabled", true); // 0303 user_pref("app.update.staging.enabled", true); // 0304 // Disable uploading screenshots to server user_pref("extensions.screenshots.upload-disabled", true); // 0515 // Enable location bar for searching user_pref("keyword.enabled", true); // 0801 // Location bar autocomplete user_pref("browser.urlbar.autocomplete.enabled", true); // 0850a user_pref("browser.urlbar.suggest.history", true); // 0850a user_pref("browser.urlbar.suggest.bookmark", true); // 0850a user_pref("browser.urlbar.autoFill", true); // 0850d // Session restore re-enabled user_pref("browser.sessionstore.max_tabs_undo", 10); // 1020 user_pref("browser.sessionstore.max_windows_undo", 3); // 1020 user_pref("browser.sessionstore.resume_from_crash", true); // 1022 // Allow insecure images on https sites user_pref("security.mixed_content.block_display_content", false); // 1241 // Disable cyphers user_pref("security.ssl3.rsa_des_ede3_sha", false); // 1261 user_pref("security.ssl3.ecdhe_ecdsa_aes_128_sha", false); // 1262 user_pref("security.ssl3.ecdhe_rsa_aes_128_sha", false); // 1262 user_pref("security.ssl3.dhe_rsa_aes_128_sha", false); // 1263 user_pref("security.ssl3.dhe_rsa_aes_256_sha", false); // 1263 // Fonts user_pref("browser.display.use_document_fonts", 1); // 1401 user_pref("font.name.serif.x-unicode", "Georgia"); // 1402 user_pref("font.name.serif.x-western", "Georgia"); // 1402 user_pref("font.name.sans-serif.x-unicode", "Arial"); // 1402 user_pref("font.name.sans-serif.x-western", "Arial"); // 1402 user_pref("font.name.monospace.x-unicode", "Lucida Console"); // 1402 user_pref("font.name.monospace.x-western", "Lucida Console"); // 1402 user_pref("layout.css.font-loading-api.enabled", true); // 1406 // Use Smart Referer instead user_pref("network.http.referer.XOriginPolicy", 0); // 1603 // Enable container tabs user_pref("privacy.userContext.enabled", true); // 1702 // I still use Flash so it is set to ask user_pref("plugin.state.flash", 1); // 1803 user_pref("plugin.scan.plid.all", true); // 1805 // Enable WebGL user_pref("webgl.disabled", false); // 2010 user_pref("webgl.min_capability_mode", false); // 2010 user_pref("webgl.disable-extensions", false); // 2010 user_pref("webgl.disable-fail-if-major-performance-caveat", false); // 2010 user_pref("webgl.dxgl.enabled", true); // 2012 user_pref("webgl.enable-webgl2", true); // 2012 user_pref("dom.popup_allowed_events", "change click dblclick mouseup notificationclick reset submit touchend"); // 2212 // Use uMatrix to block web workers user_pref("dom.serviceWorkers.enabled", true); // 2302 user_pref("dom.webnotifications.enabled", true); // 2304 user_pref("dom.webnotifications.serviceworker.enabled", true); // 2304 // Enable hardware acceleration user_pref("layers.acceleration.disabled", false); // 2508 // Enable Web Audio API user_pref("dom.webaudio.enabled", true); // 2510 // Enable "open with" on downloads user_pref("browser.download.forbid_open_with", false); // 2654 // Disable extension restrictions user_pref("extensions.webextensions.restrictedDomains", ""); // 2662 // Keep these on shutdown user_pref("privacy.clearOnShutdown.cookies", false); // 2803 user_pref("privacy.clearOnShutdown.history", false); // 2803 user_pref("privacy.clearOnShutdown.offlineApps", false); // 2803 user_pref("privacy.clearOnShutdown.sessions", false); // 2803 user_pref("privacy.cpd.history", false); // 2804 // Minimize breakage from First Party Isolation user_pref("privacy.firstparty.isolate.restrict_opener_access", false); // 4002 // Disable resistFingerprinting because I still use Flash user_pref("privacy.resistFingerprinting", false); // 4501 user_pref("dom.enable_resource_timing", false); // 4602 user_pref("dom.enable_performance", false); // 4603 user_pref("device.sensors.enabled", false); // 4604 user_pref("browser.zoom.siteSpecific", false); // 4605 user_pref("dom.gamepad.enabled", false); // 4606 user_pref("dom.netinfo.enabled", false); // 4607 user_pref("media.webspeech.synth.enabled", false); // 4608 user_pref("media.video_stats.enabled", false); // 4610 user_pref("dom.w3c_touch_events.enabled", 0); // 4611 user_pref("media.ondevicechange.enabled", false); // 4612 user_pref("webgl.enable-debug-renderer-info", false); // 4613 user_pref("full-screen-api.warning.delay", 0); user_pref("full-screen-api.warning.timeout", 0); user_pref("browser.urlbar.decodeURLsOnCopy", true); ```

Thorin-Oakenpants commented 5 years ago

wow, I didn't realize remember that privacy.userContext.enabled was default false. Mine's been true this whole time so I never picked up on it (I should use the prefs cleaner) it's in my overrides, maybe its time to flick this to active

earthlng commented 5 years ago

They're perhaps hesitant about enabling containers because a lot of people still don't even understand what Private Browsing does and doesn't do.

claustromaniac commented 5 years ago
ownyourbits diff

### Active & different in ownyourbits ```js pref("browser.download.useDownloadDir", true); pref("browser.sessionstore.privacy_level", 0); pref("browser.startup.page", 3); pref("dom.webaudio.enabled", true); pref("layers.acceleration.disabled", false); pref("privacy.clearOnShutdown.cache", false); pref("privacy.clearOnShutdown.cookies", false); pref("privacy.clearOnShutdown.downloads", false); pref("privacy.clearOnShutdown.formdata", false); pref("privacy.clearOnShutdown.history", false); pref("privacy.clearOnShutdown.offlineApps", false); pref("privacy.clearOnShutdown.sessions", false); pref("privacy.sanitize.sanitizeOnShutdown", false); ``` ### Active prefs in ghacks-user.js that are INACTIVE in ownyourbits ```js pref("browser.cache.disk.capacity", 0); pref("browser.cache.disk.enable", false); pref("browser.cache.disk.smart_size.enabled", false); pref("browser.cache.disk.smart_size.first_run", false); pref("browser.cache.disk_cache_ssl", false); pref("browser.formfill.enable", false); pref("browser.sessionstore.max_tabs_undo", 0); pref("browser.sessionstore.max_windows_undo", 0); pref("browser.sessionstore.resume_from_crash", false); pref("browser.shell.shortcutFavicons", false); pref("browser.urlbar.autoFill", false); pref("browser.urlbar.autocomplete.enabled", false); pref("browser.urlbar.oneOffSearches", false); pref("browser.urlbar.speculativeConnect.enabled", false); pref("browser.urlbar.suggest.history", false); pref("browser.urlbar.suggest.openpage", false); pref("dom.push.connection.enabled", false); pref("dom.push.enabled", false); pref("dom.push.serverURL", ""); pref("dom.push.userAgentID", ""); pref("keyword.enabled", false); pref("network.http.spdy.enabled", false); pref("network.http.spdy.enabled.deps", false); pref("network.http.spdy.enabled.http2", false); pref("privacy.userContext.enabled", true); pref("privacy.userContext.longPressBehavior", 2); pref("privacy.userContext.ui.enabled", true); pref("privacy.usercontext.about_newtab_segregation.enabled", true); pref("security.ssl.require_safe_negotiation", true); ``` ### Active prefs in ghacks-user.js that are MISSING from ownyourbits ```js pref("browser.contentblocking.enabled", true); pref("browser.newtabpage.activity-stream.disableSnippets", true); pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); pref("browser.newtabpage.activity-stream.feeds.snippets", false); pref("browser.newtabpage.activity-stream.feeds.telemetry", false); pref("browser.newtabpage.activity-stream.section.highlights.includePocket", false); pref("browser.newtabpage.activity-stream.showSponsored", false); pref("browser.newtabpage.activity-stream.telemetry", false); pref("browser.newtabpage.activity-stream.telemetry.ping.endpoint", ""); pref("browser.startup.blankWindow", false); pref("dom.forms.datetime", false); pref("media.autoplay.default", 1); pref("network.gio.supported-protocols", ""); pref("security.mixed_content.block_object_subrequest", true); pref("toolkit.winRegisterApplicationRestart", false); ```

Thanks @nachoparker (source)

Thorin-Oakenpants commented 5 years ago

@claustromaniac : there's one here if you want to create a diff for us

overdodactyl commented 5 years ago

Sorry, I know I'm not @claustromaniac, but I thought I would use this as a chance to test out the new updater script :)

Here's the diff file for krathalan/firefox-tweaks

```js --- krathalan/firefox-tweaks +++ ghacksuserjs/ghacks-user.js @@ -1,2 +1,60 @@ -user_pref("browser.formfill.enable", false); -user_pref("extensions.formautofill.addresses.enabled", false); +user_pref("_user.js.parrot", "START: Oh yes, the Norwegian Blue... what's wrong with it?"); +user_pref("browser.shell.checkDefaultBrowser", false); +user_pref("browser.startup.page", 0); +user_pref("browser.startup.homepage", "about:blank"); +user_pref("browser.newtabpage.enabled", false); +user_pref("browser.newtab.preload", false); +user_pref("browser.newtabpage.activity-stream.disableSnippets", true); +user_pref("browser.newtabpage.activity-stream.feeds.snippets", false); +user_pref("browser.search.region", "US"); +user_pref("browser.search.geoip.url", ""); +user_pref("intl.locale.requested", "en-US"); +user_pref("browser.search.geoSpecificDefaults", false); +user_pref("browser.search.geoSpecificDefaults.url", ""); +user_pref("javascript.use_us_english_locale", true); +user_pref("intl.regional_prefs.use_os_locales", false); +user_pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%"); +user_pref("_user.js.parrot", "0300 syntax error: the parrot's not pinin' for the fjords!"); +user_pref("app.update.auto", false); +user_pref("extensions.update.autoUpdateDefault", false); +user_pref("app.update.service.enabled", false); +user_pref("app.update.silent", false); +user_pref("extensions.getAddons.cache.enabled", false); +user_pref("browser.search.update", false); +user_pref("dom.ipc.plugins.reportCrashURL", false); +user_pref("toolkit.telemetry.unified", false); +user_pref("toolkit.telemetry.enabled", false); +user_pref("toolkit.telemetry.server", "data:,"); +user_pref("toolkit.telemetry.archive.enabled", false); +user_pref("toolkit.telemetry.cachedClientID", ""); +user_pref("toolkit.telemetry.newProfilePing.enabled", false); +user_pref("toolkit.telemetry.shutdownPingSender.enabled", false); +user_pref("toolkit.telemetry.updatePing.enabled", false); +user_pref("toolkit.telemetry.bhrPing.enabled", false); +user_pref("toolkit.telemetry.firstShutdownPing.enabled", false); +user_pref("toolkit.telemetry.hybridContent.enabled", false); +user_pref("datareporting.healthreport.uploadEnabled", false); +user_pref("datareporting.policy.dataSubmissionEnabled", false); +user_pref("browser.tabs.crashReporting.sendReport", false); +user_pref("browser.crashReports.unsubmittedCheck.enabled", false); +user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); +user_pref("browser.aboutHomeSnippets.updateUrl", "data:,"); +user_pref("browser.chrome.errorReporter.enabled", false); +user_pref("browser.chrome.errorReporter.submitUrl", ""); +user_pref("_user.js.parrot", "0400 syntax error: the parrot's passed on!"); +user_pref("extensions.blocklist.enabled", true); +user_pref("extensions.blocklist.url", "https://blocklists.settings.services.mozilla.com/v1/blocklist/3/%APP_ID%/%APP_VERSION%/"); +user_pref("browser.safebrowsing.provider.google.reportURL", ""); +user_pref("browser.safebrowsing.reportPhishURL", ""); +user_pref("browser.safebrowsing.provider.google4.reportURL", ""); +user_pref("browser.safebrowsing.provider.google.reportMalwareMistakeURL", ""); +user_pref("browser.safebrowsing.provider.google.reportPhishMistakeURL", ""); +user_pref("browser.safebrowsing.provider.google4.reportMalwareMistakeURL", ""); +user_pref("browser.safebrowsing.provider.google4.reportPhishMistakeURL", ""); +user_pref("_user.js.parrot", "0500 syntax error: the parrot's cashed in 'is chips!"); +user_pref("app.normandy.enabled", false); +user_pref("app.normandy.api_url", ""); +user_pref("app.shield.optoutstudies.enabled", false); +user_pref("browser.ping-centre.telemetry", false); +user_pref("extensions.pocket.enabled", false); +user_pref("browser.onboarding.enabled", false); @@ -7,40 +65,2 @@ -user_pref("signon.autofillForms", false); -user_pref("signon.formlessCapture.enabled", false); -user_pref("signon.rememberSignons", false); -user_pref("privacy.clearOnShutdown.cache", true); -user_pref("privacy.clearOnShutdown.offlineApps", true); -user_pref("privacy.clearOnShutdown.cookies", false); -user_pref("privacy.clearOnShutdown.downloads", false); -user_pref("privacy.clearOnShutdown.formdata", false); -user_pref("privacy.clearOnShutdown.history", false); -user_pref("privacy.clearOnShutdown.passwords", false); -user_pref("privacy.clearOnShutdown.sessions", false); -user_pref("privacy.clearOnShutdown.siteSettings", false); -user_pref("privacy.sanitize.sanitizeOnShutdown", true); -user_pref("dom.gamepad.enabled", false); -user_pref("dom.netinfo.enabled", false); -user_pref("dom.network.enabled", false); -user_pref("dom.vibrator.enabled", false); -user_pref("dom.webaudio.enabled", false); -user_pref("accessibility.force_disabled", 1); -user_pref("beacon.enabled", false); -user_pref("browser.library.activity-stream.enabled", false); -user_pref("browser.startup.homepage_override.buildID", "20100101"); -user_pref("general.buildID.override", "20100101"); -user_pref("browser.urlbar.speculativeConnect.enabled", false); -user_pref("device.sensors.enabled", false); -user_pref("extensions.blocklist.url", "https://blocklists.settings.services.mozilla.com/v1/blocklist/3/%20/%20/"); -user_pref("extensions.getAddons.search.browseURL", "https://addons.mozilla.org/%LOCALE%/firefox/search?q=%TERMS%"); -user_pref("geo.enabled", false); -user_pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%"); -user_pref("intl.accept_languages", "en-US, en"); -user_pref("media.navigator.enabled", false); -user_pref("media.ondevicechange.enabled", false); -user_pref("media.video_stats.enabled", false); -user_pref("offline-apps.allow_by_default", false); -user_pref("privacy.trackingprotection.enabled", false); -user_pref("privacy.trackingprotection.pbmode.enabled", false); -user_pref("security.mixed_content.block_active_content", true); -user_pref("security.mixed_content.block_display_content", true); -user_pref("webgl.enable-debug-renderer-info", false); -user_pref("network.cookie.cookieBehavior", 1); +user_pref("extensions.webcompat-reporter.enabled", false); +user_pref("network.prefetch-next", false); @@ -49,2 +68,0 @@ -user_pref("network.http.speculative-parallel-limit", "0"); -user_pref("network.IDN_show_punycode", true); @@ -52 +70,23 @@ -user_pref("network.prefetch-next", false); +user_pref("captivedetect.canonicalURL", ""); +user_pref("network.captive-portal-service.enabled", false); +user_pref("network.http.speculative-parallel-limit", 0); +user_pref("browser.send_pings", false); +user_pref("browser.send_pings.require_same_host", true); +user_pref("network.protocol-handler.external.ms-windows-store", false); +user_pref("_user.js.parrot", "0700 syntax error: the parrot's given up the ghost!"); +user_pref("network.dns.disableIPv6", true); +user_pref("network.http.spdy.enabled", false); +user_pref("network.http.spdy.enabled.deps", false); +user_pref("network.http.spdy.enabled.http2", false); +user_pref("network.http.altsvc.enabled", false); +user_pref("network.http.altsvc.oe", false); +user_pref("network.proxy.socks_remote_dns", true); +user_pref("network.proxy.autoconfig_url.include_path", false); +user_pref("network.file.disable_unc_paths", true); +user_pref("network.gio.supported-protocols", ""); +user_pref("_user.js.parrot", "0800 syntax error: the parrot's ceased to be!"); +user_pref("keyword.enabled", false); +user_pref("browser.fixup.alternate.enabled", false); +user_pref("browser.sessionhistory.max_entries", 10); +user_pref("layout.css.visited_links_enabled", false); +user_pref("browser.search.suggest.enabled", false); @@ -54,7 +94,37 @@ -user_pref("browser.urlbar.searchSuggestionsChoice", false); -user_pref("browser.search.geoSpecificDefaults", false); -user_pref("browser.search.region", "US"); -user_pref("browser.search.geoip.url", ""); -user_pref("security.cert_pinning.enforcement_level", 2); -user_pref("security.OCSP.enabled", 1); -user_pref("security.OCSP.require", true); +user_pref("browser.urlbar.userMadeSearchSuggestionsChoice", true); +user_pref("browser.urlbar.usepreloadedtopurls.enabled", false); +user_pref("browser.urlbar.speculativeConnect.enabled", false); +user_pref("browser.urlbar.autocomplete.enabled", false); +user_pref("browser.urlbar.suggest.history", false); +user_pref("browser.urlbar.suggest.bookmark", false); +user_pref("browser.urlbar.suggest.openpage", false); +user_pref("browser.urlbar.autoFill", false); +user_pref("browser.urlbar.oneOffSearches", false); +user_pref("browser.urlbar.maxHistoricalSearchSuggestions", 0); +user_pref("browser.formfill.enable", false); +user_pref("dom.forms.datetime", false); +user_pref("browser.taskbar.previews.enable", false); +user_pref("security.ask_for_password", 2); +user_pref("security.password_lifetime", 5); +user_pref("signon.autofillForms", false); +user_pref("signon.storeWhenAutocompleteOff", true); +user_pref("security.insecure_password.ui.enabled", true); +user_pref("browser.fixup.hide_user_pass", true); +user_pref("signon.autofillForms.http", false); +user_pref("security.insecure_field_warning.contextual.enabled", true); +user_pref("network.auth.subresource-img-cross-origin-http-auth-allow", false); +user_pref("_user.js.parrot", "1000 syntax error: the parrot's gone to meet 'is maker!"); +user_pref("browser.cache.disk.enable", false); +user_pref("browser.cache.disk.capacity", 0); +user_pref("browser.cache.disk.smart_size.enabled", false); +user_pref("browser.cache.disk.smart_size.first_run", false); +user_pref("browser.cache.disk_cache_ssl", false); +user_pref("browser.sessionstore.max_tabs_undo", 0); +user_pref("browser.sessionstore.max_windows_undo", 0); +user_pref("browser.sessionstore.privacy_level", 2); +user_pref("browser.sessionstore.interval", 30000); +user_pref("toolkit.winRegisterApplicationRestart", false); +user_pref("browser.shell.shortcutFavicons", false); +user_pref("_user.js.parrot", "1200 syntax error: the parrot's a stiff!"); +user_pref("security.ssl.require_safe_negotiation", true); +user_pref("security.tls.version.max", 4); @@ -65 +134,0 @@ -user_pref("security.ssl.require_safe_negotiation", true); @@ -67 +136,7 @@ -user_pref("security.tls.version.fallback-limit", 3); +user_pref("security.ssl.enable_ocsp_stapling", true); +user_pref("security.OCSP.enabled", 1); +user_pref("security.OCSP.require", true); +user_pref("security.family_safety.mode", 0); +user_pref("security.cert_pinning.enforcement_level", 2); +user_pref("security.mixed_content.block_active_content", true); +user_pref("security.mixed_content.block_object_subrequest", true); @@ -69,5 +144,158 @@ -user_pref("security.ssl3.dhe_rsa_aes_128_sha", false); -user_pref("security.ssl3.dhe_rsa_aes_256_sha", false); -user_pref("security.ssl3.ecdhe_ecdsa_aes_128_sha", false); -user_pref("security.ssl3.ecdhe_rsa_aes_128_sha", false); -user_pref("security.ssl3.rsa_des_ede3_sha", false); +user_pref("security.ssl.treat_unsafe_negotiation_as_broken", true); +user_pref("browser.ssl_override_behavior", 1); +user_pref("browser.xul.error_pages.expert_bad_cert", true); +user_pref("_user.js.parrot", "1400 syntax error: the parrot's bereft of life!"); +user_pref("browser.display.use_document_fonts", 0); +user_pref("gfx.font_rendering.opentype_svg.enabled", false); +user_pref("layout.css.font-loading-api.enabled", false); +user_pref("font.blacklist.underline_offset", ""); +user_pref("gfx.font_rendering.graphite.enabled", false); +user_pref("_user.js.parrot", "1600 syntax error: the parrot rests in peace!"); +user_pref("network.http.sendRefererHeader", 2); +user_pref("network.http.referer.trimmingPolicy", 0); +user_pref("network.http.referer.XOriginPolicy", 1); +user_pref("network.http.referer.XOriginTrimmingPolicy", 0); +user_pref("network.http.referer.spoofSource", false); +user_pref("network.http.referer.defaultPolicy", 3); +user_pref("network.http.referer.defaultPolicy.pbmode", 2); +user_pref("network.http.referer.hideOnionSource", true); +user_pref("privacy.donottrackheader.enabled", true); +user_pref("_user.js.parrot", "1700 syntax error: the parrot's bit the dust!"); +user_pref("privacy.userContext.ui.enabled", true); +user_pref("privacy.userContext.enabled", true); +user_pref("privacy.userContext.longPressBehavior", 2); +user_pref("plugin.default.state", 0); +user_pref("plugin.defaultXpi.state", 0); +user_pref("plugin.state.flash", 0); +user_pref("plugin.scan.plid.all", false); +user_pref("media.gmp-provider.enabled", false); +user_pref("media.gmp.trial-create.enabled", false); +user_pref("media.gmp-manager.url", "data:text/plain,"); +user_pref("media.gmp-manager.url.override", "data:text/plain,"); +user_pref("media.gmp-manager.updateEnabled", false); +user_pref("media.eme.enabled", false); +user_pref("media.gmp-gmpopenh264.enabled", false); +user_pref("media.gmp-gmpopenh264.autoupdate", false); +user_pref("media.peerconnection.enabled", false); +user_pref("media.peerconnection.use_document_iceservers", false); +user_pref("media.peerconnection.video.enabled", false); +user_pref("media.peerconnection.identity.enabled", false); +user_pref("media.peerconnection.identity.timeout", 1); +user_pref("media.peerconnection.turn.disable", true); +user_pref("media.peerconnection.ice.tcp", false); +user_pref("media.navigator.video.enabled", false); +user_pref("media.peerconnection.ice.default_address_only", true); +user_pref("media.peerconnection.ice.no_host", true); +user_pref("webgl.disabled", true); +user_pref("pdfjs.enableWebGL", false); +user_pref("webgl.min_capability_mode", true); +user_pref("webgl.disable-extensions", true); +user_pref("webgl.disable-fail-if-major-performance-caveat", true); +user_pref("media.getusermedia.screensharing.enabled", false); +user_pref("media.getusermedia.browser.enabled", false); +user_pref("media.getusermedia.audiocapture.enabled", false); +user_pref("canvas.capturestream.enabled", false); +user_pref("dom.imagecapture.enabled", false); +user_pref("gfx.offscreencanvas.enabled", false); +user_pref("media.autoplay.default", 1); +user_pref("media.block-autoplay-until-in-foreground", true); +user_pref("dom.disable_window_open_feature.close", true); +user_pref("dom.disable_window_open_feature.location", true); +user_pref("dom.disable_window_open_feature.menubar", true); +user_pref("dom.disable_window_open_feature.minimizable", true); +user_pref("dom.disable_window_open_feature.personalbar", true); +user_pref("dom.disable_window_open_feature.resizable", true); +user_pref("dom.disable_window_open_feature.status", true); +user_pref("dom.disable_window_open_feature.titlebar", true); +user_pref("dom.disable_window_open_feature.toolbar", true); +user_pref("browser.link.open_newwindow", 3); +user_pref("browser.link.open_newwindow.restriction", 0); +user_pref("dom.disable_open_during_load", true); +user_pref("dom.popup_allowed_events", "click dblclick"); +user_pref("_user.js.parrot", "2300 syntax error: the parrot's off the twig!"); +user_pref("dom.serviceWorkers.enabled", false); +user_pref("dom.webnotifications.enabled", false); +user_pref("dom.webnotifications.serviceworker.enabled", false); +user_pref("dom.push.enabled", false); +user_pref("dom.push.connection.enabled", false); +user_pref("dom.push.serverURL", ""); +user_pref("dom.push.userAgentID", ""); +user_pref("dom.event.clipboardevents.enabled", false); +user_pref("dom.allow_cut_copy", false); +user_pref("dom.disable_beforeunload", true); +user_pref("javascript.options.asmjs", false); +user_pref("javascript.options.wasm", false); +user_pref("dom.IntersectionObserver.enabled", false); +user_pref("javascript.options.shared_memory", false); +user_pref("media.navigator.enabled", false); +user_pref("layers.acceleration.disabled", true); +user_pref("dom.webaudio.enabled", false); +user_pref("dom.w3c_pointer_events.enabled", false); +user_pref("accessibility.force_disabled", 1); +user_pref("beacon.enabled", false); +user_pref("browser.helperApps.deleteTempFileOnExit", true); +user_pref("browser.pagethumbnails.capturing_disabled", true); +user_pref("browser.tabs.remote.allowLinkedWebInFileUriProcess", false); +user_pref("devtools.chrome.enabled", false); +user_pref("devtools.webide.autoinstallADBHelper", false); +user_pref("devtools.debugger.remote-enabled", false); +user_pref("devtools.webide.enabled", false); +user_pref("mathml.disabled", true); +user_pref("middlemouse.contentLoadURL", false); +user_pref("network.http.redirection-limit", 10); +user_pref("permissions.manager.defaultsUrl", ""); +user_pref("ui.use_standins_for_native_colors", true); +user_pref("network.IDN_show_punycode", true); +user_pref("pdfjs.disabled", false); +user_pref("browser.download.folderList", 2); +user_pref("browser.download.useDownloadDir", false); +user_pref("browser.download.hide_plugins_without_extensions", false); +user_pref("browser.download.forbid_open_with", true); +user_pref("extensions.enabledScopes", 1); +user_pref("extensions.autoDisableScopes", 15); +user_pref("xpinstall.whitelist.required", true); +user_pref("security.csp.enable", true); +user_pref("security.csp.enable_violation_events", false); +user_pref("security.csp.experimentalEnabled", true); +user_pref("security.data_uri.block_toplevel_data_uri_navigations", true); +user_pref("security.dialog_enable_delay", 700); +user_pref("_user.js.parrot", "2700 syntax error: the parrot's joined the bleedin' choir invisible!"); +user_pref("network.cookie.cookieBehavior", 1); +user_pref("network.cookie.thirdparty.sessionOnly", true); +user_pref("network.cookie.thirdparty.nonsecureSessionOnly", true); +user_pref("network.cookie.leave-secure-alone", true); +user_pref("dom.indexedDB.enabled", true); +user_pref("browser.cache.offline.insecure.enable", false); +user_pref("offline-apps.allow_by_default", false); +user_pref("dom.caches.enabled", false); +user_pref("_user.js.parrot", "2800 syntax error: the parrot's bleedin' demised!"); +user_pref("privacy.sanitize.sanitizeOnShutdown", true); +user_pref("privacy.clearOnShutdown.cache", true); +user_pref("privacy.clearOnShutdown.cookies", true); +user_pref("privacy.clearOnShutdown.downloads", true); +user_pref("privacy.clearOnShutdown.formdata", true); +user_pref("privacy.clearOnShutdown.history", true); +user_pref("privacy.clearOnShutdown.offlineApps", true); +user_pref("privacy.clearOnShutdown.sessions", true); +user_pref("privacy.clearOnShutdown.siteSettings", false); +user_pref("privacy.cpd.cache", true); +user_pref("privacy.cpd.cookies", true); +user_pref("privacy.cpd.formdata", true); +user_pref("privacy.cpd.history", true); +user_pref("privacy.cpd.offlineApps", true); +user_pref("privacy.cpd.passwords", false); +user_pref("privacy.cpd.sessions", true); +user_pref("privacy.cpd.siteSettings", false); +user_pref("privacy.sanitize.timeSpan", 0); +user_pref("_user.js.parrot", "4000 syntax error: the parrot's pegged out"); +user_pref("privacy.firstparty.isolate", true); +user_pref("privacy.firstparty.isolate.restrict_opener_access", true); +user_pref("_user.js.parrot", "4500 syntax error: the parrot's popped 'is clogs"); +user_pref("privacy.resistFingerprinting", true); +user_pref("privacy.resistFingerprinting.block_mozAddonManager", true); +user_pref("browser.startup.blankWindow", false); +user_pref("_user.js.parrot", "4600 syntax error: the parrot's crossed the Jordan"); +user_pref("_user.js.parrot", "4700 syntax error: the parrot's taken 'is last bow"); +user_pref("_user.js.parrot", "5000 syntax error: this is an ex-parrot!"); +user_pref("_user.js.parrot", "9999 syntax error: the parrot's deprecated!"); +user_pref("_user.js.parrot", "SUCCESS: No no he's not dead, he's, he's restin'!"); ```


Here's the diff file for userjs_pyllyukko/user.js

```js --- userjs_pyllyukko/user.js +++ ghacksuserjs/ghacks-user.js @@ -1,42 +1,8 @@ -user_pref("dom.serviceWorkers.enabled", false); -user_pref("dom.webnotifications.enabled", false); -user_pref("dom.enable_performance", false); -user_pref("dom.enable_user_timing", false); -user_pref("dom.webaudio.enabled", false); -user_pref("geo.enabled", false); -user_pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%"); -user_pref("geo.wifi.logging.enabled", false); -user_pref("dom.mozTCPSocket.enabled", false); -user_pref("dom.netinfo.enabled", false); -user_pref("dom.network.enabled", false); -user_pref("media.peerconnection.enabled", false); -user_pref("media.peerconnection.ice.default_address_only", true); -user_pref("media.peerconnection.ice.no_host", true); -user_pref("media.navigator.enabled", false); -user_pref("media.navigator.video.enabled", false); -user_pref("media.getusermedia.screensharing.enabled", false); -user_pref("media.getusermedia.audiocapture.enabled", false); -user_pref("dom.battery.enabled", false); -user_pref("dom.telephony.enabled", false); -user_pref("beacon.enabled", false); -user_pref("dom.event.clipboardevents.enabled", false); -user_pref("dom.allow_cut_copy", false); -user_pref("media.webspeech.recognition.enable", false); -user_pref("media.webspeech.synth.enabled", false); -user_pref("device.sensors.enabled", false); -user_pref("browser.send_pings", false); -user_pref("browser.send_pings.require_same_host", true); -user_pref("dom.gamepad.enabled", false); -user_pref("dom.vr.enabled", false); -user_pref("dom.vibrator.enabled", false); -user_pref("dom.enable_resource_timing", false); -user_pref("dom.archivereader.enabled", false); -user_pref("webgl.disabled", true); -user_pref("webgl.min_capability_mode", true); -user_pref("webgl.disable-extensions", true); -user_pref("webgl.disable-fail-if-major-performance-caveat", true); -user_pref("webgl.enable-debug-renderer-info", false); -user_pref("dom.maxHardwareConcurrency", 2); -user_pref("javascript.options.wasm", false); -user_pref("camera.control.face_detection.enabled", false); -user_pref("browser.search.countryCode", "US"); +user_pref("_user.js.parrot", "START: Oh yes, the Norwegian Blue... what's wrong with it?"); +user_pref("browser.shell.checkDefaultBrowser", false); +user_pref("browser.startup.page", 0); +user_pref("browser.startup.homepage", "about:blank"); +user_pref("browser.newtabpage.enabled", false); +user_pref("browser.newtab.preload", false); +user_pref("browser.newtabpage.activity-stream.disableSnippets", true); +user_pref("browser.newtabpage.activity-stream.feeds.snippets", false); @@ -45,2 +11 @@ -user_pref("intl.accept_languages", "en-US, en"); -user_pref("intl.locale.matchOS", false); +user_pref("intl.locale.requested", "en-US"); @@ -48 +13 @@ -user_pref("clipboard.autocopy", false); +user_pref("browser.search.geoSpecificDefaults.url", ""); @@ -50,41 +15,7 @@ -user_pref("keyword.enabled", false); -user_pref("browser.urlbar.trimURLs", false); -user_pref("browser.fixup.alternate.enabled", false); -user_pref("browser.fixup.hide_user_pass", true); -user_pref("network.proxy.socks_remote_dns", true); -user_pref("network.manage-offline-status", false); -user_pref("security.mixed_content.block_active_content", true); -user_pref("security.mixed_content.block_display_content", true); -user_pref("network.jar.open-unsafe-types", false); -user_pref("security.xpconnect.plugin.unrestricted", false); -user_pref("security.fileuri.strict_origin_policy", true); -user_pref("browser.urlbar.filter.javascript", true); -user_pref("javascript.options.asmjs", false); -user_pref("gfx.font_rendering.opentype_svg.enabled", false); -user_pref("media.video_stats.enabled", false); -user_pref("general.buildID.override", "20100101"); -user_pref("browser.startup.homepage_override.buildID", "20100101"); -user_pref("browser.display.use_document_fonts", 0); -user_pref("network.protocol-handler.warn-external-default", true); -user_pref("network.protocol-handler.external.http", false); -user_pref("network.protocol-handler.external.https", false); -user_pref("network.protocol-handler.external.javascript", false); -user_pref("network.protocol-handler.external.moz-extension", false); -user_pref("network.protocol-handler.external.ftp", false); -user_pref("network.protocol-handler.external.file", false); -user_pref("network.protocol-handler.external.about", false); -user_pref("network.protocol-handler.external.chrome", false); -user_pref("network.protocol-handler.external.blob", false); -user_pref("network.protocol-handler.external.data", false); -user_pref("network.protocol-handler.expose-all", false); -user_pref("network.protocol-handler.expose.http", true); -user_pref("network.protocol-handler.expose.https", true); -user_pref("network.protocol-handler.expose.javascript", true); -user_pref("network.protocol-handler.expose.moz-extension", true); -user_pref("network.protocol-handler.expose.ftp", true); -user_pref("network.protocol-handler.expose.file", true); -user_pref("network.protocol-handler.expose.about", true); -user_pref("network.protocol-handler.expose.chrome", true); -user_pref("network.protocol-handler.expose.blob", true); -user_pref("network.protocol-handler.expose.data", true); -user_pref("security.dialog_enable_delay", 1000); +user_pref("intl.regional_prefs.use_os_locales", false); +user_pref("geo.wifi.uri", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%"); +user_pref("_user.js.parrot", "0300 syntax error: the parrot's not pinin' for the fjords!"); +user_pref("app.update.auto", false); +user_pref("extensions.update.autoUpdateDefault", false); +user_pref("app.update.service.enabled", false); +user_pref("app.update.silent", false); @@ -92,4 +23 @@ -user_pref("lightweightThemes.update.enabled", false); -user_pref("plugin.state.flash", 0); -user_pref("plugin.state.java", 0); -user_pref("dom.ipc.plugins.flash.subprocess.crashreporter.enabled", false); +user_pref("browser.search.update", false); @@ -97,16 +24,0 @@ -user_pref("browser.safebrowsing.blockedURIs.enabled", true); -user_pref("shumway.disabled", true); -user_pref("plugin.state.libgnome-shell-browser-plugin", 0); -user_pref("plugins.click_to_play", true); -user_pref("extensions.update.enabled", true); -user_pref("extensions.blocklist.enabled", true); -user_pref("services.blocklist.update_enabled", true); -user_pref("extensions.blocklist.url", "https://blocklist.addons.mozilla.org/blocklist/3/%APP_ID%/%APP_VERSION%/"); -user_pref("extensions.systemAddon.update.enabled", false); -user_pref("devtools.webide.enabled", false); -user_pref("devtools.webide.autoinstallADBHelper", false); -user_pref("devtools.webide.autoinstallFxdtAdapters", false); -user_pref("devtools.debugger.remote-enabled", false); -user_pref("devtools.chrome.enabled", false); -user_pref("devtools.debugger.force-local", true); -user_pref("toolkit.telemetry.enabled", false); @@ -113,0 +26,2 @@ +user_pref("toolkit.telemetry.enabled", false); +user_pref("toolkit.telemetry.server", "data:,"); @@ -115,14 +29,7 @@ -user_pref("experiments.supported", false); -user_pref("experiments.enabled", false); -user_pref("experiments.manifest.uri", ""); -user_pref("network.allow-experiments", false); -user_pref("breakpad.reportURL", ""); -user_pref("browser.tabs.crashReporting.sendReport", false); -user_pref("browser.crashReports.unsubmittedCheck.enabled", false); -user_pref("dom.flyweb.enabled", false); -user_pref("browser.uitour.enabled", false); -user_pref("privacy.trackingprotection.enabled", true); -user_pref("privacy.trackingprotection.pbmode.enabled", true); -user_pref("privacy.userContext.enabled", true); -user_pref("privacy.resistFingerprinting", true); -user_pref("pdfjs.disabled", true); +user_pref("toolkit.telemetry.cachedClientID", ""); +user_pref("toolkit.telemetry.newProfilePing.enabled", false); +user_pref("toolkit.telemetry.shutdownPingSender.enabled", false); +user_pref("toolkit.telemetry.updatePing.enabled", false); +user_pref("toolkit.telemetry.bhrPing.enabled", false); +user_pref("toolkit.telemetry.firstShutdownPing.enabled", false); +user_pref("toolkit.telemetry.hybridContent.enabled", false); @@ -130 +36,0 @@ -user_pref("datareporting.healthreport.service.enabled", false); @@ -132,10 +38,19 @@ -user_pref("browser.selfsupport.url", ""); -user_pref("loop.logDomains", false); -user_pref("app.update.enabled", true); -user_pref("browser.safebrowsing.enabled", true); -user_pref("browser.safebrowsing.phishing.enabled", true); -user_pref("browser.safebrowsing.malware.enabled", true); -user_pref("browser.safebrowsing.downloads.remote.enabled", false); -user_pref("browser.pocket.enabled", false); -user_pref("extensions.pocket.enabled", false); -user_pref("extensions.shield-recipe-client.enabled", false); +user_pref("browser.tabs.crashReporting.sendReport", false); +user_pref("browser.crashReports.unsubmittedCheck.enabled", false); +user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); +user_pref("browser.aboutHomeSnippets.updateUrl", "data:,"); +user_pref("browser.chrome.errorReporter.enabled", false); +user_pref("browser.chrome.errorReporter.submitUrl", ""); +user_pref("_user.js.parrot", "0400 syntax error: the parrot's passed on!"); +user_pref("extensions.blocklist.enabled", true); +user_pref("extensions.blocklist.url", "https://blocklists.settings.services.mozilla.com/v1/blocklist/3/%APP_ID%/%APP_VERSION%/"); +user_pref("browser.safebrowsing.provider.google.reportURL", ""); +user_pref("browser.safebrowsing.reportPhishURL", ""); +user_pref("browser.safebrowsing.provider.google4.reportURL", ""); +user_pref("browser.safebrowsing.provider.google.reportMalwareMistakeURL", ""); +user_pref("browser.safebrowsing.provider.google.reportPhishMistakeURL", ""); +user_pref("browser.safebrowsing.provider.google4.reportMalwareMistakeURL", ""); +user_pref("browser.safebrowsing.provider.google4.reportPhishMistakeURL", ""); +user_pref("_user.js.parrot", "0500 syntax error: the parrot's cashed in 'is chips!"); +user_pref("app.normandy.enabled", false); +user_pref("app.normandy.api_url", ""); @@ -143 +58,8 @@ -user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); +user_pref("browser.ping-centre.telemetry", false); +user_pref("extensions.pocket.enabled", false); +user_pref("browser.onboarding.enabled", false); +user_pref("extensions.formautofill.addresses.enabled", false); +user_pref("extensions.formautofill.available", "off"); +user_pref("extensions.formautofill.creditCards.enabled", false); +user_pref("extensions.formautofill.heuristics.enabled", false); +user_pref("extensions.webcompat-reporter.enabled", false); @@ -148 +70,22 @@ -user_pref("network.dns.blockDotOnion", true); +user_pref("captivedetect.canonicalURL", ""); +user_pref("network.captive-portal-service.enabled", false); +user_pref("network.http.speculative-parallel-limit", 0); +user_pref("browser.send_pings", false); +user_pref("browser.send_pings.require_same_host", true); +user_pref("network.protocol-handler.external.ms-windows-store", false); +user_pref("_user.js.parrot", "0700 syntax error: the parrot's given up the ghost!"); +user_pref("network.dns.disableIPv6", true); +user_pref("network.http.spdy.enabled", false); +user_pref("network.http.spdy.enabled.deps", false); +user_pref("network.http.spdy.enabled.http2", false); +user_pref("network.http.altsvc.enabled", false); +user_pref("network.http.altsvc.oe", false); +user_pref("network.proxy.socks_remote_dns", true); +user_pref("network.proxy.autoconfig_url.include_path", false); +user_pref("network.file.disable_unc_paths", true); +user_pref("network.gio.supported-protocols", ""); +user_pref("_user.js.parrot", "0800 syntax error: the parrot's ceased to be!"); +user_pref("keyword.enabled", false); +user_pref("browser.fixup.alternate.enabled", false); +user_pref("browser.sessionhistory.max_entries", 10); +user_pref("layout.css.visited_links_enabled", false); @@ -150,0 +94,4 @@ +user_pref("browser.urlbar.userMadeSearchSuggestionsChoice", true); +user_pref("browser.urlbar.usepreloadedtopurls.enabled", false); +user_pref("browser.urlbar.speculativeConnect.enabled", false); +user_pref("browser.urlbar.autocomplete.enabled", false); @@ -152 +99,78 @@ -user_pref("browser.casting.enabled", false); +user_pref("browser.urlbar.suggest.bookmark", false); +user_pref("browser.urlbar.suggest.openpage", false); +user_pref("browser.urlbar.autoFill", false); +user_pref("browser.urlbar.oneOffSearches", false); +user_pref("browser.urlbar.maxHistoricalSearchSuggestions", 0); +user_pref("browser.formfill.enable", false); +user_pref("dom.forms.datetime", false); +user_pref("browser.taskbar.previews.enable", false); +user_pref("security.ask_for_password", 2); +user_pref("security.password_lifetime", 5); +user_pref("signon.autofillForms", false); +user_pref("signon.storeWhenAutocompleteOff", true); +user_pref("security.insecure_password.ui.enabled", true); +user_pref("browser.fixup.hide_user_pass", true); +user_pref("signon.autofillForms.http", false); +user_pref("security.insecure_field_warning.contextual.enabled", true); +user_pref("network.auth.subresource-img-cross-origin-http-auth-allow", false); +user_pref("_user.js.parrot", "1000 syntax error: the parrot's gone to meet 'is maker!"); +user_pref("browser.cache.disk.enable", false); +user_pref("browser.cache.disk.capacity", 0); +user_pref("browser.cache.disk.smart_size.enabled", false); +user_pref("browser.cache.disk.smart_size.first_run", false); +user_pref("browser.cache.disk_cache_ssl", false); +user_pref("browser.sessionstore.max_tabs_undo", 0); +user_pref("browser.sessionstore.max_windows_undo", 0); +user_pref("browser.sessionstore.privacy_level", 2); +user_pref("browser.sessionstore.interval", 30000); +user_pref("toolkit.winRegisterApplicationRestart", false); +user_pref("browser.shell.shortcutFavicons", false); +user_pref("_user.js.parrot", "1200 syntax error: the parrot's a stiff!"); +user_pref("security.ssl.require_safe_negotiation", true); +user_pref("security.tls.version.max", 4); +user_pref("security.ssl.disable_session_identifiers", true); +user_pref("security.ssl.errorReporting.automatic", false); +user_pref("security.ssl.errorReporting.enabled", false); +user_pref("security.ssl.errorReporting.url", ""); +user_pref("security.tls.enable_0rtt_data", false); +user_pref("security.ssl.enable_ocsp_stapling", true); +user_pref("security.OCSP.enabled", 1); +user_pref("security.OCSP.require", true); +user_pref("security.family_safety.mode", 0); +user_pref("security.cert_pinning.enforcement_level", 2); +user_pref("security.mixed_content.block_active_content", true); +user_pref("security.mixed_content.block_object_subrequest", true); +user_pref("security.pki.sha1_enforcement_level", 1); +user_pref("security.ssl.treat_unsafe_negotiation_as_broken", true); +user_pref("browser.ssl_override_behavior", 1); +user_pref("browser.xul.error_pages.expert_bad_cert", true); +user_pref("_user.js.parrot", "1400 syntax error: the parrot's bereft of life!"); +user_pref("browser.display.use_document_fonts", 0); +user_pref("gfx.font_rendering.opentype_svg.enabled", false); +user_pref("layout.css.font-loading-api.enabled", false); +user_pref("font.blacklist.underline_offset", ""); +user_pref("gfx.font_rendering.graphite.enabled", false); +user_pref("_user.js.parrot", "1600 syntax error: the parrot rests in peace!"); +user_pref("network.http.sendRefererHeader", 2); +user_pref("network.http.referer.trimmingPolicy", 0); +user_pref("network.http.referer.XOriginPolicy", 1); +user_pref("network.http.referer.XOriginTrimmingPolicy", 0); +user_pref("network.http.referer.spoofSource", false); +user_pref("network.http.referer.defaultPolicy", 3); +user_pref("network.http.referer.defaultPolicy.pbmode", 2); +user_pref("network.http.referer.hideOnionSource", true); +user_pref("privacy.donottrackheader.enabled", true); +user_pref("_user.js.parrot", "1700 syntax error: the parrot's bit the dust!"); +user_pref("privacy.userContext.ui.enabled", true); +user_pref("privacy.userContext.enabled", true); +user_pref("privacy.userContext.longPressBehavior", 2); +user_pref("plugin.default.state", 0); +user_pref("plugin.defaultXpi.state", 0); +user_pref("plugin.state.flash", 0); +user_pref("plugin.scan.plid.all", false); +user_pref("media.gmp-provider.enabled", false); +user_pref("media.gmp.trial-create.enabled", false); +user_pref("media.gmp-manager.url", "data:text/plain,"); +user_pref("media.gmp-manager.url.override", "data:text/plain,"); +user_pref("media.gmp-manager.updateEnabled", false); +user_pref("media.eme.enabled", false); @@ -154,7 +178,79 @@ -user_pref("media.gmp-manager.url", ""); -user_pref("network.http.speculative-parallel-limit", 0); -user_pref("browser.aboutHomeSnippets.updateUrl", ""); -user_pref("browser.search.update", false); -user_pref("network.captive-portal-service.enabled", false); -user_pref("network.negotiate-auth.allow-insecure-ntlm-v1", false); -user_pref("security.csp.experimentalEnabled", true); +user_pref("media.gmp-gmpopenh264.autoupdate", false); +user_pref("media.peerconnection.enabled", false); +user_pref("media.peerconnection.use_document_iceservers", false); +user_pref("media.peerconnection.video.enabled", false); +user_pref("media.peerconnection.identity.enabled", false); +user_pref("media.peerconnection.identity.timeout", 1); +user_pref("media.peerconnection.turn.disable", true); +user_pref("media.peerconnection.ice.tcp", false); +user_pref("media.navigator.video.enabled", false); +user_pref("media.peerconnection.ice.default_address_only", true); +user_pref("media.peerconnection.ice.no_host", true); +user_pref("webgl.disabled", true); +user_pref("pdfjs.enableWebGL", false); +user_pref("webgl.min_capability_mode", true); +user_pref("webgl.disable-extensions", true); +user_pref("webgl.disable-fail-if-major-performance-caveat", true); +user_pref("media.getusermedia.screensharing.enabled", false); +user_pref("media.getusermedia.browser.enabled", false); +user_pref("media.getusermedia.audiocapture.enabled", false); +user_pref("canvas.capturestream.enabled", false); +user_pref("dom.imagecapture.enabled", false); +user_pref("gfx.offscreencanvas.enabled", false); +user_pref("media.autoplay.default", 1); +user_pref("media.block-autoplay-until-in-foreground", true); +user_pref("dom.disable_window_open_feature.close", true); +user_pref("dom.disable_window_open_feature.location", true); +user_pref("dom.disable_window_open_feature.menubar", true); +user_pref("dom.disable_window_open_feature.minimizable", true); +user_pref("dom.disable_window_open_feature.personalbar", true); +user_pref("dom.disable_window_open_feature.resizable", true); +user_pref("dom.disable_window_open_feature.status", true); +user_pref("dom.disable_window_open_feature.titlebar", true); +user_pref("dom.disable_window_open_feature.toolbar", true); +user_pref("browser.link.open_newwindow", 3); +user_pref("browser.link.open_newwindow.restriction", 0); +user_pref("dom.disable_open_during_load", true); +user_pref("dom.popup_allowed_events", "click dblclick"); +user_pref("_user.js.parrot", "2300 syntax error: the parrot's off the twig!"); +user_pref("dom.serviceWorkers.enabled", false); +user_pref("dom.webnotifications.enabled", false); +user_pref("dom.webnotifications.serviceworker.enabled", false); +user_pref("dom.push.enabled", false); +user_pref("dom.push.connection.enabled", false); +user_pref("dom.push.serverURL", ""); +user_pref("dom.push.userAgentID", ""); +user_pref("dom.event.clipboardevents.enabled", false); +user_pref("dom.allow_cut_copy", false); +user_pref("dom.disable_beforeunload", true); +user_pref("javascript.options.asmjs", false); +user_pref("javascript.options.wasm", false); +user_pref("dom.IntersectionObserver.enabled", false); +user_pref("javascript.options.shared_memory", false); +user_pref("media.navigator.enabled", false); +user_pref("layers.acceleration.disabled", true); +user_pref("dom.webaudio.enabled", false); +user_pref("dom.w3c_pointer_events.enabled", false); +user_pref("accessibility.force_disabled", 1); +user_pref("beacon.enabled", false); +user_pref("browser.helperApps.deleteTempFileOnExit", true); +user_pref("browser.pagethumbnails.capturing_disabled", true); +user_pref("browser.tabs.remote.allowLinkedWebInFileUriProcess", false); +user_pref("devtools.chrome.enabled", false); +user_pref("devtools.webide.autoinstallADBHelper", false); +user_pref("devtools.debugger.remote-enabled", false); +user_pref("devtools.webide.enabled", false); +user_pref("mathml.disabled", true); +user_pref("middlemouse.contentLoadURL", false); +user_pref("network.http.redirection-limit", 10); +user_pref("permissions.manager.defaultsUrl", ""); +user_pref("ui.use_standins_for_native_colors", true); +user_pref("network.IDN_show_punycode", true); +user_pref("pdfjs.disabled", false); +user_pref("browser.download.folderList", 2); +user_pref("browser.download.useDownloadDir", false); +user_pref("browser.download.hide_plugins_without_extensions", false); +user_pref("browser.download.forbid_open_with", true); +user_pref("extensions.enabledScopes", 1); +user_pref("extensions.autoDisableScopes", 15); +user_pref("xpinstall.whitelist.required", true); @@ -162,2 +258,5 @@ -user_pref("security.sri.enable", true); -user_pref("network.http.referer.spoofSource", true); +user_pref("security.csp.enable_violation_events", false); +user_pref("security.csp.experimentalEnabled", true); +user_pref("security.data_uri.block_toplevel_data_uri_navigations", true); +user_pref("security.dialog_enable_delay", 700); +user_pref("_user.js.parrot", "2700 syntax error: the parrot's joined the bleedin' choir invisible!"); @@ -165 +263,0 @@ -user_pref("privacy.firstparty.isolate", true); @@ -167,2 +265,7 @@ -user_pref("browser.privatebrowsing.autostart", true); -user_pref("browser.cache.offline.enable", false); +user_pref("network.cookie.thirdparty.nonsecureSessionOnly", true); +user_pref("network.cookie.leave-secure-alone", true); +user_pref("dom.indexedDB.enabled", true); +user_pref("browser.cache.offline.insecure.enable", false); +user_pref("offline-apps.allow_by_default", false); +user_pref("dom.caches.enabled", false); +user_pref("_user.js.parrot", "2800 syntax error: the parrot's bleedin' demised!"); @@ -177,3 +280 @@ -user_pref("privacy.clearOnShutdown.openWindows", true); -user_pref("privacy.sanitize.timeSpan", 0); -user_pref("privacy.cpd.offlineApps", true); +user_pref("privacy.clearOnShutdown.siteSettings", false); @@ -182 +282,0 @@ -user_pref("privacy.cpd.downloads", true); @@ -184,0 +285,2 @@ +user_pref("privacy.cpd.offlineApps", true); +user_pref("privacy.cpd.passwords", false); @@ -186,100 +288,14 @@ -user_pref("places.history.enabled", false); -user_pref("browser.cache.disk.enable", false); -user_pref("browser.cache.disk_cache_ssl", false); -user_pref("browser.download.manager.retention", 0); -user_pref("signon.rememberSignons", false); -user_pref("browser.formfill.enable", false); -user_pref("network.cookie.lifetimePolicy", 2); -user_pref("signon.autofillForms", false); -user_pref("signon.formlessCapture.enabled", false); -user_pref("signon.autofillForms.http", false); -user_pref("security.insecure_field_warning.contextual.enabled", true); -user_pref("browser.formfill.expire_days", 0); -user_pref("browser.sessionstore.privacy_level", 2); -user_pref("browser.helperApps.deleteTempFileOnExit", true); -user_pref("browser.pagethumbnails.capturing_disabled", true); -user_pref("browser.shell.shortcutFavicons", false); -user_pref("browser.bookmarks.max_backups", 0); -user_pref("security.insecure_password.ui.enabled", true); -user_pref("browser.download.folderList", 2); -user_pref("browser.download.useDownloadDir", false); -user_pref("browser.newtabpage.enabled", false); -user_pref("browser.newtab.url", "about:blank"); -user_pref("browser.newtabpage.activity-stream.enabled", false); -user_pref("browser.newtabpage.enhanced", false); -user_pref("browser.newtab.preload", false); -user_pref("browser.newtabpage.directory.ping", ""); -user_pref("browser.newtabpage.directory.source", "data:text/plain,{}"); -user_pref("plugins.update.notifyUser", true); -user_pref("network.IDN_show_punycode", true); -user_pref("browser.urlbar.autoFill", false); -user_pref("browser.urlbar.autoFill.typed", false); -user_pref("layout.css.visited_links_enabled", false); -user_pref("browser.urlbar.autocomplete.enabled", false); -user_pref("browser.shell.checkDefaultBrowser", false); -user_pref("security.ask_for_password", 2); -user_pref("security.password_lifetime", 1); -user_pref("browser.offline-apps.notify", true); -user_pref("network.stricttransportsecurity.preloadlist", true); -user_pref("security.OCSP.enabled", 1); -user_pref("security.ssl.enable_ocsp_stapling", true); -user_pref("security.ssl.enable_ocsp_must_staple", true); -user_pref("security.OCSP.require", true); -user_pref("security.ssl.disable_session_identifiers", true); -user_pref("security.tls.version.min", 1); -user_pref("security.tls.version.max", 4); -user_pref("security.tls.version.fallback-limit", 3); -user_pref("security.cert_pinning.enforcement_level", 2); -user_pref("security.pki.sha1_enforcement_level", 1); -user_pref("security.ssl.treat_unsafe_negotiation_as_broken", true); -user_pref("security.ssl.errorReporting.automatic", false); -user_pref("browser.ssl_override_behavior", 1); -user_pref("security.ssl3.rsa_null_sha", false); -user_pref("security.ssl3.rsa_null_md5", false); -user_pref("security.ssl3.ecdhe_rsa_null_sha", false); -user_pref("security.ssl3.ecdhe_ecdsa_null_sha", false); -user_pref("security.ssl3.ecdh_rsa_null_sha", false); -user_pref("security.ssl3.ecdh_ecdsa_null_sha", false); -user_pref("security.ssl3.rsa_seed_sha", false); -user_pref("security.ssl3.rsa_rc4_40_md5", false); -user_pref("security.ssl3.rsa_rc2_40_md5", false); -user_pref("security.ssl3.rsa_1024_rc4_56_sha", false); -user_pref("security.ssl3.rsa_camellia_128_sha", false); -user_pref("security.ssl3.ecdhe_rsa_aes_128_sha", false); -user_pref("security.ssl3.ecdhe_ecdsa_aes_128_sha", false); -user_pref("security.ssl3.ecdh_rsa_aes_128_sha", false); -user_pref("security.ssl3.ecdh_ecdsa_aes_128_sha", false); -user_pref("security.ssl3.dhe_rsa_camellia_128_sha", false); -user_pref("security.ssl3.dhe_rsa_aes_128_sha", false); -user_pref("security.ssl3.ecdh_ecdsa_rc4_128_sha", false); -user_pref("security.ssl3.ecdh_rsa_rc4_128_sha", false); -user_pref("security.ssl3.ecdhe_ecdsa_rc4_128_sha", false); -user_pref("security.ssl3.ecdhe_rsa_rc4_128_sha", false); -user_pref("security.ssl3.rsa_rc4_128_md5", false); -user_pref("security.ssl3.rsa_rc4_128_sha", false); -user_pref("security.tls.unrestricted_rc4_fallback", false); -user_pref("security.ssl3.dhe_dss_des_ede3_sha", false); -user_pref("security.ssl3.dhe_rsa_des_ede3_sha", false); -user_pref("security.ssl3.ecdh_ecdsa_des_ede3_sha", false); -user_pref("security.ssl3.ecdh_rsa_des_ede3_sha", false); -user_pref("security.ssl3.ecdhe_ecdsa_des_ede3_sha", false); -user_pref("security.ssl3.ecdhe_rsa_des_ede3_sha", false); -user_pref("security.ssl3.rsa_des_ede3_sha", false); -user_pref("security.ssl3.rsa_fips_des_ede3_sha", false); -user_pref("security.ssl3.ecdh_rsa_aes_256_sha", false); -user_pref("security.ssl3.ecdh_ecdsa_aes_256_sha", false); -user_pref("security.ssl3.rsa_camellia_256_sha", false); -user_pref("security.ssl3.ecdhe_rsa_aes_256_sha", true); -user_pref("security.ssl3.ecdhe_ecdsa_aes_256_sha", true); -user_pref("security.ssl3.ecdhe_ecdsa_aes_128_gcm_sha256", true); -user_pref("security.ssl3.ecdhe_rsa_aes_128_gcm_sha256", true); -user_pref("security.ssl3.ecdhe_ecdsa_chacha20_poly1305_sha256", true); -user_pref("security.ssl3.ecdhe_rsa_chacha20_poly1305_sha256", true); -user_pref("security.ssl3.dhe_rsa_camellia_256_sha", false); -user_pref("security.ssl3.dhe_rsa_aes_256_sha", false); -user_pref("security.ssl3.dhe_dss_aes_128_sha", false); -user_pref("security.ssl3.dhe_dss_aes_256_sha", false); -user_pref("security.ssl3.dhe_dss_camellia_128_sha", false); -user_pref("security.ssl3.dhe_dss_camellia_256_sha", false); -user_pref("security.ssl3.rsa_aes_256_sha", true); -user_pref("security.ssl3.rsa_aes_128_sha", true); +user_pref("privacy.cpd.siteSettings", false); +user_pref("privacy.sanitize.timeSpan", 0); +user_pref("_user.js.parrot", "4000 syntax error: the parrot's pegged out"); +user_pref("privacy.firstparty.isolate", true); +user_pref("privacy.firstparty.isolate.restrict_opener_access", true); +user_pref("_user.js.parrot", "4500 syntax error: the parrot's popped 'is clogs"); +user_pref("privacy.resistFingerprinting", true); +user_pref("privacy.resistFingerprinting.block_mozAddonManager", true); +user_pref("browser.startup.blankWindow", false); +user_pref("_user.js.parrot", "4600 syntax error: the parrot's crossed the Jordan"); +user_pref("_user.js.parrot", "4700 syntax error: the parrot's taken 'is last bow"); +user_pref("_user.js.parrot", "5000 syntax error: this is an ex-parrot!"); +user_pref("_user.js.parrot", "9999 syntax error: the parrot's deprecated!"); +user_pref("_user.js.parrot", "SUCCESS: No no he's not dead, he's, he's restin'!"); ```


Is this something you guys do enough it would be handy to have an option in the scripts to *just* compare two files?
Thorin-Oakenpants commented 5 years ago

^^ it outputs duplicated prefs (eg the parrots)

We already have :cat2: 's Compare tool, and that organizes the output way better. I just wanted to pull out what he relaxed, as that was his aim for end users in the reddit thread (I got the impression he wanted zero breakage).

If the updater script output a quick diff to preview that could be handy, but I think it's overkill. And I have no idea how hard it would be. :cat2: might be able to smash CompareUserJS into his updater, but then it might mean users need PS - IDK, not my area

PS: we do a Changelog issue

claustromaniac commented 5 years ago

Just FYI, the updater.bat already requires PS because it uses it to instantiate a Net.WebClient object for downloading the user.js. It is the only way I know of to download files directly from a batchfile without having to install any third-party tools, and without relying on separate scripts in other languages like VBS. I still wouldn't smash Compare-UserJS into it, though. That wouldn't be pretty... :sweat_smile:

Thorin-Oakenpants commented 5 years ago

@claustromaniac you could output a PK relaxed diff for us (just the items that we have active on and they have off or actively different)

Sorry, I know I'm not @claustromaniac, but I thought I would use this as a chance to test out the new updater script :)

Thanks @overdodactyl , but that's not a very good output for this purpose, its 350 odd lines including what we/they have that the other doesn't(?), I'm not sure, didn't look at it too hard, but I doubt there's 350 changes (ghacks user.js has 490 odd current prefs in total)

We just the items that we have active on and they have off or actively different... if our pref is inactive (and therefore at default) but they enforce a value, we ignore it, because we're not breaking anything here, we're at default. And in fact the values may be the same.

claustromaniac commented 5 years ago
krathalan diff

### Active & different in krathalan's ```js pref("extensions.blocklist.url", "https://blocklists.settings.services.mozilla.com/v1/blocklist/3/%20/%20/"); pref("network.http.speculative-parallel-limit", "0"); pref("privacy.clearOnShutdown.cookies", false); pref("privacy.clearOnShutdown.downloads", false); pref("privacy.clearOnShutdown.formdata", false); pref("privacy.clearOnShutdown.history", false); pref("privacy.clearOnShutdown.sessions", false); ``` ### Active prefs in ghacks-user.js that are INACTIVE in krathalan's ```js pref("app.normandy.api_url", ""); pref("app.normandy.enabled", false); pref("app.shield.optoutstudies.enabled", false); pref("breakpad.reportURL", ""); pref("browser.aboutHomeSnippets.updateUrl", ""); pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); pref("browser.crashReports.unsubmittedCheck.enabled", false); pref("browser.newtabpage.activity-stream.disableSnippets", true); pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); pref("browser.newtabpage.activity-stream.feeds.snippets", false); pref("browser.newtabpage.activity-stream.feeds.telemetry", false); pref("browser.newtabpage.activity-stream.section.highlights.includePocket", false); pref("browser.newtabpage.activity-stream.showSponsored", false); pref("browser.newtabpage.activity-stream.telemetry", false); pref("browser.newtabpage.activity-stream.telemetry.ping.endpoint", ""); pref("browser.tabs.crashReporting.sendReport", false); pref("datareporting.healthreport.uploadEnabled", false); pref("datareporting.policy.dataSubmissionEnabled", false); pref("dom.event.clipboardevents.enabled", false); pref("dom.serviceWorkers.enabled", false); pref("dom.webnotifications.enabled", false); pref("extensions.getAddons.cache.enabled", false); pref("extensions.getAddons.showPane", false); pref("extensions.pocket.enabled", false); pref("extensions.webservice.discoverURL", ""); pref("general.warnOnAboutConfig", false); pref("media.getusermedia.audiocapture.enabled", false); pref("media.getusermedia.screensharing.enabled", false); pref("media.navigator.video.enabled", false); pref("media.peerconnection.enabled", false); pref("media.peerconnection.ice.tcp", false); pref("media.peerconnection.identity.enabled", false); pref("media.peerconnection.identity.timeout", 1); pref("media.peerconnection.turn.disable", true); pref("media.peerconnection.use_document_iceservers", false); pref("media.peerconnection.video.enabled", false); pref("network.allow-experiments", false); pref("privacy.firstparty.isolate", true); pref("privacy.resistFingerprinting", true); pref("toolkit.telemetry.archive.enabled", false); pref("toolkit.telemetry.bhrPing.enabled", false); pref("toolkit.telemetry.cachedClientID", ""); pref("toolkit.telemetry.enabled", false); pref("toolkit.telemetry.firstShutdownPing.enabled", false); pref("toolkit.telemetry.hybridContent.enabled", false); pref("toolkit.telemetry.newProfilePing.enabled", false); pref("toolkit.telemetry.server", "data:,"); pref("toolkit.telemetry.shutdownPingSender.enabled", false); pref("toolkit.telemetry.unified", false); pref("toolkit.telemetry.updatePing.enabled", false); pref("toolkit.winRegisterApplicationRestart", false); pref("webgl.disable-extensions", true); pref("webgl.disabled", true); ``` ### Active prefs in ghacks-user.js that are MISSING from krathalan's ```js pref("_user.js.parrot", "SUCCESS: No no he's not dead, he's, he's restin'!"); pref("alerts.showFavicons", false); pref("app.update.auto", false); pref("app.update.service.enabled", false); pref("app.update.silent", false); pref("app.update.staging.enabled", false); pref("browser.cache.disk.capacity", 0); pref("browser.cache.disk.enable", false); pref("browser.cache.disk.smart_size.enabled", false); pref("browser.cache.disk.smart_size.first_run", false); pref("browser.cache.disk_cache_ssl", false); pref("browser.cache.offline.enable", false); pref("browser.cache.offline.insecure.enable", false); pref("browser.chrome.errorReporter.enabled", false); pref("browser.chrome.errorReporter.submitUrl", ""); pref("browser.contentblocking.enabled", true); pref("browser.display.use_document_fonts", 0); pref("browser.download.folderList", 2); pref("browser.download.forbid_open_with", true); pref("browser.download.hide_plugins_without_extensions", false); pref("browser.download.manager.addToRecentDocs", false); pref("browser.download.useDownloadDir", false); pref("browser.fixup.alternate.enabled", false); pref("browser.fixup.hide_user_pass", true); pref("browser.helperApps.deleteTempFileOnExit", true); pref("browser.link.open_newwindow", 3); pref("browser.link.open_newwindow.restriction", 0); pref("browser.newtab.preload", false); pref("browser.newtabpage.enabled", false); pref("browser.onboarding.enabled", false); pref("browser.pagethumbnails.capturing_disabled", true); pref("browser.ping-centre.telemetry", false); pref("browser.safebrowsing.downloads.remote.enabled", false); pref("browser.safebrowsing.downloads.remote.url", ""); pref("browser.safebrowsing.provider.google.reportMalwareMistakeURL", ""); pref("browser.safebrowsing.provider.google.reportPhishMistakeURL", ""); pref("browser.safebrowsing.provider.google.reportURL", ""); pref("browser.safebrowsing.provider.google4.dataSharing.enabled", false); pref("browser.safebrowsing.provider.google4.dataSharingURL", ""); pref("browser.safebrowsing.provider.google4.reportMalwareMistakeURL", ""); pref("browser.safebrowsing.provider.google4.reportPhishMistakeURL", ""); pref("browser.safebrowsing.provider.google4.reportURL", ""); pref("browser.safebrowsing.reportPhishURL", ""); pref("browser.search.geoSpecificDefaults.url", ""); pref("browser.search.suggest.enabled", false); pref("browser.search.update", false); pref("browser.send_pings", false); pref("browser.send_pings.require_same_host", true); pref("browser.sessionhistory.max_entries", 10); pref("browser.sessionstore.interval", 30000); pref("browser.sessionstore.max_tabs_undo", 0); pref("browser.sessionstore.max_windows_undo", 0); pref("browser.sessionstore.privacy_level", 2); pref("browser.sessionstore.resume_from_crash", false); pref("browser.shell.checkDefaultBrowser", false); pref("browser.shell.shortcutFavicons", false); pref("browser.ssl_override_behavior", 1); pref("browser.startup.blankWindow", false); pref("browser.startup.homepage", "about:blank"); pref("browser.startup.page", 0); pref("browser.tabs.remote.allowLinkedWebInFileUriProcess", false); pref("browser.taskbar.lists.enabled", false); pref("browser.taskbar.lists.frequent.enabled", false); pref("browser.taskbar.lists.recent.enabled", false); pref("browser.taskbar.lists.tasks.enabled", false); pref("browser.taskbar.previews.enable", false); pref("browser.uitour.enabled", false); pref("browser.uitour.url", ""); pref("browser.urlbar.autoFill", false); pref("browser.urlbar.autocomplete.enabled", false); pref("browser.urlbar.filter.javascript", true); pref("browser.urlbar.maxHistoricalSearchSuggestions", 0); pref("browser.urlbar.oneOffSearches", false); pref("browser.urlbar.suggest.bookmark", false); pref("browser.urlbar.suggest.history", false); pref("browser.urlbar.suggest.openpage", false); pref("browser.urlbar.trimURLs", false); pref("browser.urlbar.usepreloadedtopurls.enabled", false); pref("browser.urlbar.userMadeSearchSuggestionsChoice", true); pref("browser.xul.error_pages.expert_bad_cert", true); pref("canvas.capturestream.enabled", false); pref("captivedetect.canonicalURL", ""); pref("devtools.chrome.enabled", false); pref("devtools.debugger.remote-enabled", false); pref("devtools.webide.autoinstallADBHelper", false); pref("devtools.webide.enabled", false); pref("dom.IntersectionObserver.enabled", false); pref("dom.allow_cut_copy", false); pref("dom.caches.enabled", false); pref("dom.disable_beforeunload", true); pref("dom.disable_open_during_load", true); pref("dom.disable_window_move_resize", true); pref("dom.disable_window_open_feature.close", true); pref("dom.disable_window_open_feature.location", true); pref("dom.disable_window_open_feature.menubar", true); pref("dom.disable_window_open_feature.minimizable", true); pref("dom.disable_window_open_feature.personalbar", true); pref("dom.disable_window_open_feature.resizable", true); pref("dom.disable_window_open_feature.status", true); pref("dom.disable_window_open_feature.titlebar", true); pref("dom.disable_window_open_feature.toolbar", true); pref("dom.forms.datetime", false); pref("dom.imagecapture.enabled", false); pref("dom.indexedDB.enabled", true); pref("dom.ipc.plugins.flash.subprocess.crashreporter.enabled", false); pref("dom.ipc.plugins.reportCrashURL", false); pref("dom.popup_allowed_events", "click dblclick"); pref("dom.popup_maximum", 3); pref("dom.push.connection.enabled", false); pref("dom.push.enabled", false); pref("dom.push.serverURL", ""); pref("dom.push.userAgentID", ""); pref("dom.w3c_pointer_events.enabled", false); pref("dom.webnotifications.serviceworker.enabled", false); pref("extensions.autoDisableScopes", 15); pref("extensions.blocklist.enabled", true); pref("extensions.enabledScopes", 1); pref("extensions.update.autoUpdateDefault", false); pref("extensions.webcompat-reporter.enabled", false); pref("font.blacklist.underline_offset", ""); pref("gfx.downloadable_fonts.woff2.enabled", false); pref("gfx.font_rendering.graphite.enabled", false); pref("gfx.font_rendering.opentype_svg.enabled", false); pref("gfx.offscreencanvas.enabled", false); pref("intl.locale.requested", "en-US"); pref("intl.regional_prefs.use_os_locales", false); pref("javascript.options.asmjs", false); pref("javascript.options.shared_memory", false); pref("javascript.options.wasm", false); pref("javascript.use_us_english_locale", true); pref("keyword.enabled", false); pref("layers.acceleration.disabled", true); pref("layout.css.font-loading-api.enabled", false); pref("layout.css.visited_links_enabled", false); pref("lightweightThemes.update.enabled", false); pref("mathml.disabled", true); pref("media.autoplay.default", 1); pref("media.block-autoplay-until-in-foreground", true); pref("media.eme.enabled", false); pref("media.getusermedia.browser.enabled", false); pref("media.gmp-gmpopenh264.autoupdate", false); pref("media.gmp-gmpopenh264.enabled", false); pref("media.gmp-manager.updateEnabled", false); pref("media.gmp-manager.url", "data:text/plain,"); pref("media.gmp-manager.url.override", "data:text/plain,"); pref("media.gmp-provider.enabled", false); pref("media.gmp-widevinecdm.autoupdate", false); pref("media.gmp-widevinecdm.enabled", false); pref("media.gmp-widevinecdm.visible", false); pref("media.gmp.trial-create.enabled", false); pref("media.peerconnection.ice.default_address_only", true); pref("media.peerconnection.ice.no_host", true); pref("middlemouse.contentLoadURL", false); pref("network.auth.subresource-img-cross-origin-http-auth-allow", false); pref("network.captive-portal-service.enabled", false); pref("network.cookie.leave-secure-alone", true); pref("network.cookie.thirdparty.nonsecureSessionOnly", true); pref("network.cookie.thirdparty.sessionOnly", true); pref("network.dns.disableIPv6", true); pref("network.file.disable_unc_paths", true); pref("network.gio.supported-protocols", ""); pref("network.http.altsvc.enabled", false); pref("network.http.altsvc.oe", false); pref("network.http.redirection-limit", 10); pref("network.http.referer.XOriginPolicy", 1); pref("network.http.referer.XOriginTrimmingPolicy", 0); pref("network.http.referer.defaultPolicy", 3); pref("network.http.referer.defaultPolicy.pbmode", 2); pref("network.http.referer.hideOnionSource", true); pref("network.http.referer.spoofSource", false); pref("network.http.referer.trimmingPolicy", 0); pref("network.http.sendRefererHeader", 2); pref("network.http.spdy.enabled", false); pref("network.http.spdy.enabled.deps", false); pref("network.http.spdy.enabled.http2", false); pref("network.predictor.enable-prefetch", false); pref("network.protocol-handler.external.ms-windows-store", false); pref("network.proxy.autoconfig_url.include_path", false); pref("network.proxy.socks_remote_dns", true); pref("pdfjs.disabled", false); pref("pdfjs.enableWebGL", false); pref("permissions.manager.defaultsUrl", ""); pref("plugin.default.state", 0); pref("plugin.defaultXpi.state", 0); pref("plugin.scan.plid.all", false); pref("plugin.sessionPermissionNow.intervalInMinutes", 0); pref("plugin.state.flash", 0); pref("plugins.click_to_play", true); pref("privacy.cpd.cache", true); pref("privacy.cpd.cookies", true); pref("privacy.cpd.formdata", true); pref("privacy.cpd.history", true); pref("privacy.cpd.offlineApps", true); pref("privacy.cpd.passwords", false); pref("privacy.cpd.sessions", true); pref("privacy.cpd.siteSettings", false); pref("privacy.donottrackheader.enabled", true); pref("privacy.firstparty.isolate.restrict_opener_access", true); pref("privacy.resistFingerprinting.block_mozAddonManager", true); pref("privacy.sanitize.timeSpan", 0); pref("privacy.userContext.enabled", true); pref("privacy.userContext.longPressBehavior", 2); pref("privacy.userContext.ui.enabled", true); pref("privacy.usercontext.about_newtab_segregation.enabled", true); pref("security.ask_for_password", 2); pref("security.csp.enable", true); pref("security.csp.enable_violation_events", false); pref("security.csp.experimentalEnabled", true); pref("security.data_uri.block_toplevel_data_uri_navigations", true); pref("security.dialog_enable_delay", 700); pref("security.family_safety.mode", 0); pref("security.insecure_connection_icon.enabled", true); pref("security.insecure_connection_text.enabled", true); pref("security.insecure_field_warning.contextual.enabled", true); pref("security.insecure_password.ui.enabled", true); pref("security.mixed_content.block_object_subrequest", true); pref("security.password_lifetime", 5); pref("security.ssl.enable_ocsp_stapling", true); pref("security.ssl.treat_unsafe_negotiation_as_broken", true); pref("security.tls.version.max", 4); pref("signon.autofillForms.http", false); pref("signon.storeWhenAutocompleteOff", true); pref("ui.use_standins_for_native_colors", true); pref("webchannel.allowObject.urlWhitelist", ""); pref("webgl.disable-fail-if-major-performance-caveat", true); pref("webgl.dxgl.enabled", false); pref("webgl.enable-webgl2", false); pref("webgl.min_capability_mode", true); pref("xpinstall.whitelist.required", true); ```

Source

PK-relaxed diff

### Active & different in PK's ```js pref("browser.aboutHomeSnippets.updateUrl", ""); pref("extensions.blocklist.url", "https://blocklist.addons.mozilla.org/blocklist/3/%APP_ID%/%APP_VERSION%/"); pref("media.gmp-manager.url", ""); pref("network.http.referer.spoofSource", true); pref("pdfjs.disabled", true); pref("security.dialog_enable_delay", 1000); pref("security.password_lifetime", 1); ``` ### Active prefs in ghacks-user.js that are INACTIVE in PK's ```js pref("app.update.auto", true); pref("browser.urlbar.autocomplete.enabled", false); pref("dom.allow_cut_copy", false); pref("dom.disable_beforeunload", true); pref("dom.event.clipboardevents.enabled", false); pref("dom.indexedDB.enabled", false); pref("dom.serviceWorkers.enabled", false); pref("dom.webnotifications.enabled", false); pref("media.gmp-provider.enabled", false); pref("network.http.referer.XOriginPolicy", 2); pref("pdfjs.enableWebGL", false); pref("privacy.clearOnShutdown.cookies", true); pref("privacy.donottrackheader.enabled", true); pref("security.mixed_content.block_display_content", true); pref("security.ssl.require_safe_negotiation", true); pref("signon.storeWhenAutocompleteOff", false); ``` ### Active prefs in ghacks-user.js that are MISSING from PK's ```js pref("_user.js.parrot", "SUCCESS: No no he's not dead, he's, he's restin'!"); pref("accessibility.force_disabled", 1); pref("alerts.showFavicons", false); pref("app.normandy.api_url", ""); pref("app.normandy.enabled", false); pref("app.update.service.enabled", false); pref("app.update.silent", false); pref("app.update.staging.enabled", false); pref("browser.cache.disk.capacity", 0); pref("browser.cache.disk.smart_size.enabled", false); pref("browser.cache.disk.smart_size.first_run", false); pref("browser.cache.offline.insecure.enable", false); pref("browser.chrome.errorReporter.enabled", false); pref("browser.chrome.errorReporter.submitUrl", ""); pref("browser.contentblocking.enabled", true); pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); pref("browser.download.forbid_open_with", true); pref("browser.download.hide_plugins_without_extensions", false); pref("browser.download.manager.addToRecentDocs", false); pref("browser.link.open_newwindow", 3); pref("browser.link.open_newwindow.restriction", 0); pref("browser.newtabpage.activity-stream.disableSnippets", true); pref("browser.newtabpage.activity-stream.feeds.snippets", false); pref("browser.newtabpage.activity-stream.feeds.telemetry", false); pref("browser.newtabpage.activity-stream.section.highlights.includePocket", false); pref("browser.newtabpage.activity-stream.showSponsored", false); pref("browser.newtabpage.activity-stream.telemetry", false); pref("browser.newtabpage.activity-stream.telemetry.ping.endpoint", ""); pref("browser.onboarding.enabled", false); pref("browser.ping-centre.telemetry", false); pref("browser.safebrowsing.downloads.remote.url", ""); pref("browser.safebrowsing.provider.google.reportMalwareMistakeURL", ""); pref("browser.safebrowsing.provider.google.reportPhishMistakeURL", ""); pref("browser.safebrowsing.provider.google.reportURL", ""); pref("browser.safebrowsing.provider.google4.dataSharing.enabled", false); pref("browser.safebrowsing.provider.google4.dataSharingURL", ""); pref("browser.safebrowsing.provider.google4.reportMalwareMistakeURL", ""); pref("browser.safebrowsing.provider.google4.reportPhishMistakeURL", ""); pref("browser.safebrowsing.provider.google4.reportURL", ""); pref("browser.safebrowsing.reportPhishURL", ""); pref("browser.search.geoSpecificDefaults.url", ""); pref("browser.sessionhistory.max_entries", 10); pref("browser.sessionstore.interval", 30000); pref("browser.sessionstore.max_tabs_undo", 0); pref("browser.sessionstore.max_windows_undo", 0); pref("browser.sessionstore.resume_from_crash", false); pref("browser.startup.blankWindow", false); pref("browser.startup.homepage", "about:blank"); pref("browser.startup.page", 0); pref("browser.tabs.remote.allowLinkedWebInFileUriProcess", false); pref("browser.taskbar.lists.enabled", false); pref("browser.taskbar.lists.frequent.enabled", false); pref("browser.taskbar.lists.recent.enabled", false); pref("browser.taskbar.lists.tasks.enabled", false); pref("browser.taskbar.previews.enable", false); pref("browser.uitour.url", ""); pref("browser.urlbar.maxHistoricalSearchSuggestions", 0); pref("browser.urlbar.oneOffSearches", false); pref("browser.urlbar.speculativeConnect.enabled", false); pref("browser.urlbar.suggest.bookmark", false); pref("browser.urlbar.suggest.openpage", false); pref("browser.urlbar.usepreloadedtopurls.enabled", false); pref("browser.urlbar.userMadeSearchSuggestionsChoice", true); pref("browser.xul.error_pages.expert_bad_cert", true); pref("canvas.capturestream.enabled", false); pref("captivedetect.canonicalURL", ""); pref("dom.IntersectionObserver.enabled", false); pref("dom.caches.enabled", false); pref("dom.disable_open_during_load", true); pref("dom.disable_window_move_resize", true); pref("dom.disable_window_open_feature.close", true); pref("dom.disable_window_open_feature.location", true); pref("dom.disable_window_open_feature.menubar", true); pref("dom.disable_window_open_feature.minimizable", true); pref("dom.disable_window_open_feature.personalbar", true); pref("dom.disable_window_open_feature.resizable", true); pref("dom.disable_window_open_feature.status", true); pref("dom.disable_window_open_feature.titlebar", true); pref("dom.disable_window_open_feature.toolbar", true); pref("dom.forms.datetime", false); pref("dom.imagecapture.enabled", false); pref("dom.popup_allowed_events", "click dblclick"); pref("dom.popup_maximum", 3); pref("dom.push.connection.enabled", false); pref("dom.push.enabled", false); pref("dom.push.serverURL", ""); pref("dom.push.userAgentID", ""); pref("dom.w3c_pointer_events.enabled", false); pref("dom.webnotifications.serviceworker.enabled", false); pref("extensions.autoDisableScopes", 15); pref("extensions.enabledScopes", 1); pref("extensions.formautofill.addresses.enabled", false); pref("extensions.formautofill.available", "off"); pref("extensions.formautofill.creditCards.enabled", false); pref("extensions.formautofill.heuristics.enabled", false); pref("extensions.getAddons.showPane", false); pref("extensions.update.autoUpdateDefault", false); pref("extensions.webcompat-reporter.enabled", false); pref("extensions.webservice.discoverURL", ""); pref("font.blacklist.underline_offset", ""); pref("general.warnOnAboutConfig", false); pref("gfx.downloadable_fonts.woff2.enabled", false); pref("gfx.font_rendering.graphite.enabled", false); pref("gfx.offscreencanvas.enabled", false); pref("intl.locale.requested", "en-US"); pref("intl.regional_prefs.use_os_locales", false); pref("javascript.options.shared_memory", false); pref("layers.acceleration.disabled", true); pref("layout.css.font-loading-api.enabled", false); pref("mathml.disabled", true); pref("media.autoplay.default", 1); pref("media.block-autoplay-until-in-foreground", true); pref("media.eme.enabled", false); pref("media.getusermedia.browser.enabled", false); pref("media.gmp-gmpopenh264.autoupdate", false); pref("media.gmp-manager.updateEnabled", false); pref("media.gmp-manager.url.override", "data:text/plain,"); pref("media.gmp-widevinecdm.autoupdate", false); pref("media.gmp-widevinecdm.enabled", false); pref("media.gmp-widevinecdm.visible", false); pref("media.gmp.trial-create.enabled", false); pref("media.peerconnection.ice.tcp", false); pref("media.peerconnection.identity.enabled", false); pref("media.peerconnection.identity.timeout", 1); pref("media.peerconnection.turn.disable", true); pref("media.peerconnection.use_document_iceservers", false); pref("media.peerconnection.video.enabled", false); pref("middlemouse.contentLoadURL", false); pref("network.auth.subresource-img-cross-origin-http-auth-allow", false); pref("network.cookie.leave-secure-alone", true); pref("network.cookie.thirdparty.nonsecureSessionOnly", true); pref("network.dns.disableIPv6", true); pref("network.file.disable_unc_paths", true); pref("network.gio.supported-protocols", ""); pref("network.http.altsvc.enabled", false); pref("network.http.altsvc.oe", false); pref("network.http.redirection-limit", 10); pref("network.http.referer.XOriginTrimmingPolicy", 0); pref("network.http.referer.defaultPolicy", 3); pref("network.http.referer.defaultPolicy.pbmode", 2); pref("network.http.referer.hideOnionSource", true); pref("network.http.referer.trimmingPolicy", 0); pref("network.http.sendRefererHeader", 2); pref("network.http.spdy.enabled", false); pref("network.http.spdy.enabled.deps", false); pref("network.http.spdy.enabled.http2", false); pref("network.predictor.enable-prefetch", false); pref("network.protocol-handler.external.ms-windows-store", false); pref("network.proxy.autoconfig_url.include_path", false); pref("offline-apps.allow_by_default", false); pref("permissions.manager.defaultsUrl", ""); pref("plugin.default.state", 0); pref("plugin.defaultXpi.state", 0); pref("plugin.scan.plid.all", false); pref("plugin.sessionPermissionNow.intervalInMinutes", 0); pref("privacy.clearOnShutdown.siteSettings", false); pref("privacy.cpd.passwords", false); pref("privacy.cpd.siteSettings", false); pref("privacy.firstparty.isolate.restrict_opener_access", true); pref("privacy.resistFingerprinting.block_mozAddonManager", true); pref("privacy.userContext.longPressBehavior", 2); pref("privacy.userContext.ui.enabled", true); pref("privacy.usercontext.about_newtab_segregation.enabled", true); pref("security.csp.enable_violation_events", false); pref("security.data_uri.block_toplevel_data_uri_navigations", true); pref("security.family_safety.mode", 0); pref("security.insecure_connection_icon.enabled", true); pref("security.insecure_connection_text.enabled", true); pref("security.mixed_content.block_object_subrequest", true); pref("security.ssl.errorReporting.enabled", false); pref("security.ssl.errorReporting.url", ""); pref("security.tls.enable_0rtt_data", false); pref("toolkit.telemetry.archive.enabled", false); pref("toolkit.telemetry.bhrPing.enabled", false); pref("toolkit.telemetry.cachedClientID", ""); pref("toolkit.telemetry.firstShutdownPing.enabled", false); pref("toolkit.telemetry.hybridContent.enabled", false); pref("toolkit.telemetry.newProfilePing.enabled", false); pref("toolkit.telemetry.server", "data:,"); pref("toolkit.telemetry.shutdownPingSender.enabled", false); pref("toolkit.telemetry.updatePing.enabled", false); pref("toolkit.winRegisterApplicationRestart", false); pref("ui.use_standins_for_native_colors", true); pref("webchannel.allowObject.urlWhitelist", ""); pref("webgl.dxgl.enabled", false); pref("webgl.enable-webgl2", false); pref("xpinstall.whitelist.required", true); ```

Source

Edit: formatting.

Thorin-Oakenpants commented 5 years ago

done a manual tabulation, will post results in a new issue