-
Notifications
You must be signed in to change notification settings - Fork 505
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
troubleshooter.js: clean up prefs list #339
Comments
Good work on that list mate, thanks! I've gone over it and removed most of them: a3bffb8 I've also removed ...
|
yeah but it's kinda neat that the script can also help someone narrow down on those things as well.
based on the master user.js and compared against FF57.0.4 default values: inactive prefs by category
// hidden, future-proofing and whatnot:
pref("browser.cache.memory.capacity", 0);
pref("browser.tabs.remote.autostart.2", true);
pref("browser.tabs.remote.force-enable", true);
pref("font.system.whitelist", "");
pref("general.appname.override", "Netscape");
pref("general.appversion.override", "5.0 (Windows)");
pref("general.buildID.override", "20100101");
pref("general.oscpu.override", "Windows NT 6.1");
pref("general.platform.override", "Win32");
pref("general.useragent.override", "Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0");
pref("geo.wifi.logging.enabled", true);
pref("permissions.memory_only", true);
pref("privacy.resistFingerprinting.block_mozAddonManager", true);
pref("privacy.window.maxInnerHeight", 900);
pref("privacy.window.maxInnerWidth", 1600);
pref("security.insecure_connection_icon.pbmode.enabled", true);
pref("security.nocertdb", true);
// non-default:
pref("accessibility.typeaheadfind", true);
pref("app.update.enabled", false);
pref("browser.cache.memory.enable", false);
pref("browser.chrome.favicons", false);
pref("browser.chrome.site_icons", false);
pref("browser.download.autohideButton", false);
pref("browser.privatebrowsing.autostart", true);
pref("browser.safebrowsing.allowOverride", false);
pref("browser.safebrowsing.blockedURIs.enabled", false);
pref("browser.safebrowsing.downloads.enabled", false);
pref("browser.safebrowsing.downloads.remote.block_dangerous", false);
pref("browser.safebrowsing.downloads.remote.block_dangerous_host", false);
pref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", false);
pref("browser.safebrowsing.downloads.remote.block_uncommon", false);
pref("browser.safebrowsing.malware.enabled", false);
pref("browser.safebrowsing.phishing.enabled", false);
pref("browser.safebrowsing.provider.google.gethashURL", "");
pref("browser.safebrowsing.provider.google.updateURL", "");
pref("browser.safebrowsing.provider.google4.gethashURL", "");
pref("browser.safebrowsing.provider.google4.updateURL", "");
pref("browser.safebrowsing.provider.mozilla.gethashURL", "");
pref("browser.safebrowsing.provider.mozilla.updateURL", "");
pref("browser.sessionhistory.max_total_viewers", 0);
pref("browser.startup.homepage", "https://www.example.com/");
pref("browser.startup.page", 0);
pref("browser.tabs.loadBookmarksInTabs", true);
pref("browser.tabs.remote.autostart", true);
pref("browser.urlbar.maxRichResults", 0);
pref("dom.event.contextmenu.enabled", false);
pref("dom.indexedDB.enabled", false);
pref("dom.ipc.plugins.sandbox-level.default", "donotuse");
pref("dom.ipc.plugins.sandbox-level.flash", "donotuse");
pref("dom.ipc.processCount", 4);
pref("dom.storage.enabled", false);
pref("dom.vr.enabled", false);
pref("extensions.e10sBlocksEnabling", false);
pref("extensions.screenshots.disabled", true);
pref("extensions.systemAddon.update.url", "");
pref("extensions.update.enabled", false);
pref("font.name.monospace.x-unicode", "Lucida Console");
pref("font.name.monospace.x-western", "Lucida Console");
pref("font.name.sans-serif.x-unicode", "Arial");
pref("font.name.sans-serif.x-western", "Arial");
pref("font.name.serif.x-unicode", "Georgia");
pref("font.name.serif.x-western", "Georgia");
pref("full-screen-api.warning.delay", 0);
pref("full-screen-api.warning.timeout", 0);
pref("general.autoScroll", false);
pref("gfx.direct2d.disabled", true);
pref("javascript.options.baselinejit", false);
pref("javascript.options.ion", false);
pref("media.flac.enabled", false);
pref("media.mediasource.enabled", false);
pref("media.mediasource.mp4.enabled", false);
pref("media.mediasource.webm.audio.enabled", false);
pref("media.mp4.enabled", false);
pref("media.ogg.enabled", false);
pref("media.ogg.flac.enabled", false);
pref("media.opus.enabled", false);
pref("media.raw.enabled", false);
pref("media.wave.enabled", false);
pref("media.webm.enabled", false);
pref("media.wmf.enabled", false);
pref("media.wmf.vp9.enabled", false);
pref("network.dns.disableIPv6", true);
pref("places.history.enabled", false);
pref("plugin.state.flash", 0);
pref("privacy.clearOnShutdown.openWindows", true);
pref("privacy.cpd.openWindows", true);
pref("privacy.trackingprotection.annotate_channels", false);
pref("privacy.trackingprotection.enabled", true);
pref("privacy.usercontext.about_newtab_segregation.enabled", true);
pref("privacy.userContext.enabled", true);
pref("privacy.userContext.longPressBehavior", 2);
pref("privacy.userContext.ui.enabled", true);
pref("reader.parse-on-load.enabled", false);
pref("security.sandbox.content.level", "donotuse");
pref("security.sandbox.logging.enabled", true);
pref("security.ssl.require_safe_negotiation", true);
pref("security.ssl3.dhe_rsa_aes_128_sha", false);
pref("security.ssl3.dhe_rsa_aes_256_sha", false);
pref("security.ssl3.ecdhe_ecdsa_aes_128_sha", false);
pref("security.ssl3.ecdhe_rsa_aes_128_sha", false);
pref("security.ssl3.rsa_aes_128_sha", false);
pref("security.ssl3.rsa_aes_256_sha", false);
pref("security.ssl3.rsa_des_ede3_sha", false);
pref("services.blocklist.addons.collection", "");
pref("services.blocklist.gfx.collection", "");
pref("services.blocklist.onecrl.collection", "");
pref("services.blocklist.plugins.collection", "");
pref("signon.rememberSignons", false);
pref("svg.disabled", true);
pref("toolkit.cosmeticAnimations.enabled", false);
pref("urlclassifier.trackingTable", "test-track-simple,base-track-digest256,content-track-digest256");
pref("xpinstall.signatures.required", false);
// matching default value:
pref("browser.stopReloadAnimation.enabled", true);
pref("clipboard.autocopy", false);
pref("dom.ipc.processCount.extension", 1);
pref("dom.ipc.processCount.file", 1);
pref("dom.presentation.controller.enabled", false);
pref("dom.presentation.discoverable", false);
pref("dom.presentation.discovery.enabled", false);
pref("dom.presentation.enabled", false);
pref("dom.presentation.receiver.enabled", false);
pref("dom.presentation.session_transport.data_channel.enable", false);
pref("extensions.webextensions.remote", true);
pref("media.mediasource.webm.enabled", false);
pref("media.wmf.amd.vp9.enabled", true);
pref("network.cookie.lifetime.days", 90);
pref("network.cookie.lifetimePolicy", 0);
pref("network.dnsCacheEntries", 400);
pref("network.dnsCacheExpiration", 60);
pref("network.http.fast-fallback-to-IPv4", true);
pref("offline-apps.quota.warn", 51200);
pref("privacy.cpd.downloads", true);
pref("privacy.trackingprotection.lower_network_priority", false);
pref("privacy.trackingprotection.pbmode.enabled", true); |
Sure why not, it's easy to implement. |
Absolutely. You're the wiki wizard - what are you waiting for? 😄
I agree. It's possible that they require a restart but regardless of that ...
// non-default:
|
I'll add these: and remove these: ran it in my ESR with these changes and with the new code that reduces the list to non-default values and it detects 66 prefs. Damn sooo close! what else can we get rid of?? 😄 |
yeah fuck altsvc + vibrator. thx 😄 |
removed. d1ab8fd |
we haven't looked at the hidden and default ones from the active list. Still have that file I sent you? |
FYI: |
But I had breakage when 'security.mixed_content.block_active_content' was set to true. |
OMG... wrong copy paste 2 posts back. I meant 'dom.serviceWorkers.enabled' instead of 'dom.event.contextmenu.enabled'. |
new version is up. It can now somewhat narrow down on more than 1 troublemaker. To help with that I reorganized the list and created groups. It's now also better when the problem is fixed more often during the test runs and therefore the list is ordered from most to least likely culprits. removed from the list:
[1] https://dxr.mozilla.org/mozilla-release/search?q=face_detection |
|
I explained why, here network.cookie.thirdparty.sessionOnly makes all 3rd party cookies session only ie they get deleted when you close FF. This pref can't break sites at all, I'll remove it from the list. |
because it makes a difference when we try to narrow down on more than 1 culprit. Lets say there are 100 detected prefs. For the first test the 1st 50 prefs are reset to their default values. If the problem re-appears now, we only know for sure that at least ONE problematic pref is within the 2nd half. While looking for a single culprit the script will now set the array to the 2nd half and continue the halfing. But to find all culprits the script can only narrow down the list whenever the problem does not happen, because only then can it be sure that all problematic prefs are within the group that just got reset for this testrun. |
network.cookie.thirdparty.sessionOnly - apparently sessionOnly can mess with service workers. FFS! let's just keep it for now. |
https://anonfile.com/faq - "How long will my files be online?" |
A lot could be written about it but I think we can keep it relatively short. Before you go on to the laborious task of manual troubleshooting we recommend to try the script first. edit:
yes |
The text was updated successfully, but these errors were encountered: