2020-07-23 07:00:23 -04:00
|
|
|
/***
|
2021-12-11 04:13:09 -05:00
|
|
|
This will reset the preferences that have been
|
2021-12-11 04:37:45 -05:00
|
|
|
- removed from the arkenfox user.js
|
|
|
|
- deprecated by Mozilla but listed in the arkenfox user.js in the past
|
2020-07-23 07:00:23 -04:00
|
|
|
|
2022-11-18 23:04:59 -05:00
|
|
|
Last updated: 19-November-2022
|
2020-07-23 07:00:23 -04:00
|
|
|
|
2021-12-11 04:37:45 -05:00
|
|
|
Instructions:
|
|
|
|
- [optional] close Firefox and backup your profile
|
|
|
|
- [optional] disable your network connection [1]
|
|
|
|
- start Firefox
|
|
|
|
- load about:config and press Ctrl+Shift+K to open the Web Console for about:config
|
|
|
|
- using about:config is important, so the script has the right permissions
|
|
|
|
- paste this script
|
|
|
|
- if you edited the list of prefs in the script, make sure the last pref does not have a trailing comma
|
|
|
|
- hit enter
|
|
|
|
- check the Info output to see which prefs were reset
|
|
|
|
- restart
|
|
|
|
- some prefs require a restart
|
|
|
|
- a restart will reapply your user.js
|
|
|
|
- [optional] re-enable your network connection
|
|
|
|
|
|
|
|
[1] Blocking Firefox from the internet ensures it cannot act on your reset preferences in the
|
|
|
|
period before you restart it, such as app and extension auto-updating, or downloading unwanted
|
|
|
|
components (GMP etc). It depends on what you're resetting and how long before you restart.
|
|
|
|
|
2020-07-23 07:00:23 -04:00
|
|
|
***/
|
2021-07-07 10:25:08 -04:00
|
|
|
|
|
|
|
(() => {
|
|
|
|
|
|
|
|
if ('undefined' === typeof(Services)) return alert('about:config needs to be the active tab!');
|
|
|
|
|
|
|
|
const aPREFS = [
|
2021-12-11 04:13:09 -05:00
|
|
|
/* DEPRECATED */
|
2022-07-18 07:27:05 -04:00
|
|
|
/* 103+ */
|
|
|
|
'network.cookie.lifetimePolicy', // 103 [technically removed in 104]
|
2022-07-31 06:50:24 -04:00
|
|
|
'security.pki.sha1_enforcement_level', // 103
|
2022-06-01 09:51:19 -04:00
|
|
|
/* 92-102 */
|
2021-12-11 04:13:09 -05:00
|
|
|
'browser.urlbar.suggest.quicksuggest', // 95
|
2022-02-09 15:00:43 -05:00
|
|
|
'dom.securecontext.whitelist_onions', // 97
|
2022-06-14 03:01:01 -04:00
|
|
|
'dom.storage.next_gen', // 102
|
2022-05-05 19:33:44 -04:00
|
|
|
'network.http.spdy.enabled', // 100
|
|
|
|
'network.http.spdy.enabled.deps',
|
|
|
|
'network.http.spdy.enabled.http2',
|
|
|
|
'network.http.spdy.websockets',
|
2021-12-11 04:13:09 -05:00
|
|
|
'layout.css.font-visibility.level', // 94
|
2022-07-01 04:15:39 -04:00
|
|
|
'security.ask_for_password', // 102
|
2022-04-08 17:28:16 -04:00
|
|
|
'security.csp.enable', // 99
|
2022-07-01 04:15:39 -04:00
|
|
|
'security.password_lifetime', // 102
|
2021-12-11 04:13:09 -05:00
|
|
|
'security.ssl3.rsa_des_ede3_sha', // 93
|
2022-06-01 09:51:19 -04:00
|
|
|
/* 79-91 */
|
2021-12-11 04:13:09 -05:00
|
|
|
'browser.cache.offline.storage.enable',
|
|
|
|
'browser.download.hide_plugins_without_extensions',
|
|
|
|
'browser.library.activity-stream.enabled',
|
|
|
|
'browser.search.geoSpecificDefaults',
|
|
|
|
'browser.search.geoSpecificDefaults.url',
|
|
|
|
'dom.ipc.plugins.flash.subprocess.crashreporter.enabled',
|
|
|
|
'dom.ipc.plugins.reportCrashURL',
|
|
|
|
'dom.w3c_pointer_events.enabled',
|
|
|
|
'intl.charset.fallback.override',
|
|
|
|
'network.ftp.enabled',
|
|
|
|
'plugin.state.flash',
|
|
|
|
'security.mixed_content.block_object_subrequest',
|
|
|
|
'security.ssl.errorReporting.automatic',
|
|
|
|
'security.ssl.errorReporting.enabled',
|
|
|
|
'security.ssl.errorReporting.url',
|
|
|
|
/* 69-78 */
|
|
|
|
'browser.newtabpage.activity-stream.telemetry.ping.endpoint',
|
|
|
|
'browser.tabs.remote.allowLinkedWebInFileUriProcess',
|
|
|
|
'browser.urlbar.oneOffSearches',
|
|
|
|
'devtools.webide.autoinstallADBExtension',
|
|
|
|
'devtools.webide.enabled',
|
|
|
|
'dom.indexedDB.enabled',
|
|
|
|
'extensions.blocklist.url',
|
|
|
|
'geo.wifi.logging.enabled',
|
|
|
|
'geo.wifi.uri',
|
|
|
|
'gfx.downloadable_fonts.woff2.enabled',
|
|
|
|
'media.autoplay.allow-muted',
|
|
|
|
'media.autoplay.enabled.user-gestures-needed',
|
|
|
|
'offline-apps.allow_by_default',
|
|
|
|
'plugins.click_to_play',
|
|
|
|
'privacy.userContext.longPressBehavior',
|
|
|
|
'toolkit.cosmeticAnimations.enabled',
|
|
|
|
'toolkit.telemetry.hybridContent.enabled',
|
|
|
|
'webgl.disable-extensions',
|
|
|
|
/* 61-68 */
|
|
|
|
'app.update.enabled',
|
|
|
|
'browser.aboutHomeSnippets.updateUrl',
|
|
|
|
'browser.chrome.errorReporter.enabled',
|
|
|
|
'browser.chrome.errorReporter.submitUrl',
|
|
|
|
'browser.chrome.favicons',
|
|
|
|
'browser.ctrlTab.previews',
|
|
|
|
'browser.fixup.hide_user_pass',
|
|
|
|
'browser.newtabpage.activity-stream.asrouter.userprefs.cfr',
|
|
|
|
'browser.newtabpage.activity-stream.disableSnippets',
|
|
|
|
'browser.onboarding.enabled',
|
|
|
|
'browser.search.countryCode',
|
|
|
|
'browser.urlbar.autocomplete.enabled',
|
|
|
|
'devtools.webide.adbAddonURL',
|
|
|
|
'devtools.webide.autoinstallADBHelper',
|
|
|
|
'dom.event.highrestimestamp.enabled',
|
|
|
|
'experiments.activeExperiment',
|
|
|
|
'experiments.enabled',
|
|
|
|
'experiments.manifest.uri',
|
|
|
|
'experiments.supported',
|
|
|
|
'lightweightThemes.update.enabled',
|
|
|
|
'media.autoplay.enabled',
|
|
|
|
'network.allow-experiments',
|
|
|
|
'network.cookie.lifetime.days',
|
|
|
|
'network.jar.block-remote-files',
|
|
|
|
'network.jar.open-unsafe-types',
|
|
|
|
'plugin.state.java',
|
|
|
|
'security.csp.enable_violation_events',
|
|
|
|
'security.csp.experimentalEnabled',
|
|
|
|
'shield.savant.enabled',
|
|
|
|
/* 60 or earlier */
|
|
|
|
'browser.bookmarks.showRecentlyBookmarked',
|
|
|
|
'browser.casting.enabled',
|
|
|
|
'browser.crashReports.unsubmittedCheck.autoSubmit',
|
|
|
|
'browser.formautofill.enabled',
|
|
|
|
'browser.formfill.saveHttpsForms',
|
|
|
|
'browser.fullscreen.animate',
|
|
|
|
'browser.history.allowPopState',
|
|
|
|
'browser.history.allowPushState',
|
|
|
|
'browser.history.allowReplaceState',
|
|
|
|
'browser.newtabpage.activity-stream.enabled',
|
|
|
|
'browser.newtabpage.directory.ping',
|
|
|
|
'browser.newtabpage.directory.source',
|
|
|
|
'browser.newtabpage.enhanced',
|
|
|
|
'browser.newtabpage.introShown',
|
|
|
|
'browser.pocket.api',
|
|
|
|
'browser.pocket.enabled',
|
|
|
|
'browser.pocket.oAuthConsumerKey',
|
|
|
|
'browser.pocket.site',
|
|
|
|
'browser.polaris.enabled',
|
|
|
|
'browser.safebrowsing.appRepURL',
|
|
|
|
'browser.safebrowsing.enabled',
|
|
|
|
'browser.safebrowsing.gethashURL',
|
|
|
|
'browser.safebrowsing.malware.reportURL',
|
|
|
|
'browser.safebrowsing.provider.google.appRepURL',
|
|
|
|
'browser.safebrowsing.reportErrorURL',
|
|
|
|
'browser.safebrowsing.reportGenericURL',
|
|
|
|
'browser.safebrowsing.reportMalwareErrorURL',
|
|
|
|
'browser.safebrowsing.reportMalwareMistakeURL',
|
|
|
|
'browser.safebrowsing.reportMalwareURL',
|
|
|
|
'browser.safebrowsing.reportPhishMistakeURL',
|
|
|
|
'browser.safebrowsing.reportURL',
|
|
|
|
'browser.safebrowsing.updateURL',
|
|
|
|
'browser.search.showOneOffButtons',
|
|
|
|
'browser.selfsupport.enabled',
|
|
|
|
'browser.selfsupport.url',
|
|
|
|
'browser.sessionstore.privacy_level_deferred',
|
|
|
|
'browser.tabs.animate',
|
|
|
|
'browser.trackingprotection.gethashURL',
|
|
|
|
'browser.trackingprotection.updateURL',
|
|
|
|
'browser.urlbar.unifiedcomplete',
|
|
|
|
'browser.usedOnWindows10.introURL',
|
|
|
|
'camera.control.autofocus_moving_callback.enabled',
|
|
|
|
'camera.control.face_detection.enabled',
|
|
|
|
'datareporting.healthreport.about.reportUrl',
|
|
|
|
'datareporting.healthreport.about.reportUrlUnified',
|
|
|
|
'datareporting.healthreport.documentServerURI',
|
|
|
|
'datareporting.healthreport.service.enabled',
|
|
|
|
'datareporting.policy.dataSubmissionEnabled.v2',
|
|
|
|
'devtools.webide.autoinstallFxdtAdapters',
|
|
|
|
'dom.archivereader.enabled',
|
|
|
|
'dom.beforeAfterKeyboardEvent.enabled',
|
|
|
|
'dom.disable_image_src_set',
|
|
|
|
'dom.disable_window_open_feature.scrollbars',
|
|
|
|
'dom.disable_window_status_change',
|
|
|
|
'dom.enable_user_timing',
|
|
|
|
'dom.flyweb.enabled',
|
|
|
|
'dom.idle-observers-api.enabled',
|
|
|
|
'dom.keyboardevent.code.enabled',
|
|
|
|
'dom.network.enabled',
|
|
|
|
'dom.push.udp.wakeupEnabled',
|
|
|
|
'dom.telephony.enabled',
|
|
|
|
'dom.vr.oculus050.enabled',
|
|
|
|
'dom.workers.enabled',
|
|
|
|
'dom.workers.sharedWorkers.enabled',
|
|
|
|
'extensions.formautofill.experimental',
|
|
|
|
'extensions.screenshots.system-disabled',
|
|
|
|
'extensions.shield-recipe-client.api_url',
|
|
|
|
'extensions.shield-recipe-client.enabled',
|
|
|
|
'full-screen-api.approval-required',
|
|
|
|
'general.useragent.locale',
|
|
|
|
'geo.security.allowinsecure',
|
|
|
|
'intl.locale.matchOS',
|
|
|
|
'loop.enabled',
|
|
|
|
'loop.facebook.appId',
|
|
|
|
'loop.facebook.enabled',
|
|
|
|
'loop.facebook.fallbackUrl',
|
|
|
|
'loop.facebook.shareUrl',
|
|
|
|
'loop.feedback.formURL',
|
|
|
|
'loop.feedback.manualFormURL',
|
|
|
|
'loop.logDomains',
|
|
|
|
'loop.server',
|
|
|
|
'media.block-play-until-visible',
|
|
|
|
'media.eme.apiVisible',
|
|
|
|
'media.eme.chromium-api.enabled',
|
|
|
|
'media.getusermedia.screensharing.allow_on_old_platforms',
|
|
|
|
'media.getusermedia.screensharing.allowed_domains',
|
|
|
|
'media.gmp-eme-adobe.autoupdate',
|
|
|
|
'media.gmp-eme-adobe.enabled',
|
|
|
|
'media.gmp-eme-adobe.visible',
|
|
|
|
'network.http.referer.userControlPolicy',
|
|
|
|
'network.http.sendSecureXSiteReferrer',
|
|
|
|
'network.http.spdy.enabled.http2draft',
|
|
|
|
'network.http.spdy.enabled.v3-1',
|
|
|
|
'network.websocket.enabled',
|
|
|
|
'pageThumbs.enabled',
|
|
|
|
'pfs.datasource.url',
|
|
|
|
'plugin.scan.Acrobat',
|
|
|
|
'plugin.scan.Quicktime',
|
|
|
|
'plugin.scan.WindowsMediaPlayer',
|
|
|
|
'plugins.enumerable_names',
|
|
|
|
'plugins.update.notifyUser',
|
|
|
|
'plugins.update.url',
|
|
|
|
'privacy.clearOnShutdown.passwords',
|
|
|
|
'privacy.donottrackheader.value',
|
|
|
|
'security.mixed_content.send_hsts_priming',
|
|
|
|
'security.mixed_content.use_hsts',
|
|
|
|
'security.ssl3.ecdhe_ecdsa_rc4_128_sha',
|
|
|
|
'security.ssl3.ecdhe_rsa_rc4_128_sha',
|
|
|
|
'security.ssl3.rsa_rc4_128_md5',
|
|
|
|
'security.ssl3.rsa_rc4_128_sha',
|
|
|
|
'security.tls.insecure_fallback_hosts.use_static_list',
|
|
|
|
'security.tls.unrestricted_rc4_fallback',
|
|
|
|
'security.xpconnect.plugin.unrestricted',
|
|
|
|
'social.directories',
|
|
|
|
'social.enabled',
|
|
|
|
'social.remote-install.enabled',
|
|
|
|
'social.share.activationPanelEnabled',
|
|
|
|
'social.shareDirectory',
|
|
|
|
'social.toast-notifications.enabled',
|
|
|
|
'social.whitelist',
|
|
|
|
'toolkit.telemetry.unifiedIsOptIn',
|
|
|
|
|
|
|
|
/* REMOVED */
|
2022-08-23 12:52:38 -04:00
|
|
|
/* 103+ */
|
2022-10-03 03:18:30 -04:00
|
|
|
'browser.newtab.preload',
|
2022-10-03 09:47:30 -04:00
|
|
|
'browser.newtabpage.activity-stream.feeds.discoverystreamfeed',
|
2022-10-01 16:33:58 -04:00
|
|
|
'browser.newtabpage.activity-stream.feeds.snippets',
|
2022-10-08 15:38:05 -04:00
|
|
|
'browser.ssl_override_behavior',
|
2022-10-04 13:34:45 -04:00
|
|
|
'browser.tabs.warnOnClose',
|
2022-10-08 10:08:55 -04:00
|
|
|
'devtools.chrome.enabled',
|
2022-11-04 12:03:29 -04:00
|
|
|
'dom.disable_beforeunload',
|
2022-11-18 23:04:59 -05:00
|
|
|
'dom.disable_open_during_load',
|
2022-10-04 13:34:45 -04:00
|
|
|
'dom.netinfo.enabled',
|
|
|
|
'dom.vr.enabled',
|
2022-08-23 13:33:55 -04:00
|
|
|
'extensions.formautofill.addresses.supported',
|
2022-10-04 13:34:45 -04:00
|
|
|
'extensions.formautofill.available',
|
2022-08-23 12:52:38 -04:00
|
|
|
'extensions.formautofill.creditCards.available',
|
2022-08-23 13:33:55 -04:00
|
|
|
'extensions.formautofill.creditCards.supported',
|
2022-10-04 13:34:45 -04:00
|
|
|
'network.http.altsvc.oe',
|
2022-06-01 09:51:19 -04:00
|
|
|
/* 92-102 */
|
2022-06-12 08:45:13 -04:00
|
|
|
'browser.urlbar.trimURLs',
|
2021-12-09 08:47:57 -05:00
|
|
|
'dom.caches.enabled',
|
|
|
|
'dom.storageManager.enabled',
|
|
|
|
'dom.storage_access.enabled',
|
2022-05-09 15:25:18 -04:00
|
|
|
'dom.targetBlankNoOpener.enabled',
|
2022-06-01 09:51:19 -04:00
|
|
|
'network.cookie.thirdparty.sessionOnly',
|
|
|
|
'network.cookie.thirdparty.nonsecureSessionOnly',
|
2021-12-09 07:31:38 -05:00
|
|
|
'privacy.firstparty.isolate.block_post_message',
|
|
|
|
'privacy.firstparty.isolate.restrict_opener_access',
|
|
|
|
'privacy.firstparty.isolate.use_site',
|
2022-05-09 15:25:18 -04:00
|
|
|
'privacy.window.name.update.enabled',
|
2022-01-15 21:36:08 -05:00
|
|
|
'security.insecure_connection_text.enabled',
|
2021-11-28 08:22:46 -05:00
|
|
|
/* 79-91 */
|
2021-08-22 04:27:15 -04:00
|
|
|
'alerts.showFavicons',
|
2021-11-28 08:22:46 -05:00
|
|
|
'browser.newtabpage.activity-stream.asrouter.providers.snippets',
|
|
|
|
'browser.send_pings.require_same_host',
|
|
|
|
'browser.urlbar.usepreloadedtopurls.enabled',
|
2021-08-26 02:27:32 -04:00
|
|
|
'dom.allow_cut_copy',
|
2021-08-22 04:27:15 -04:00
|
|
|
'dom.battery.enabled',
|
2021-11-28 08:22:46 -05:00
|
|
|
'dom.IntersectionObserver.enabled',
|
2021-08-22 04:27:15 -04:00
|
|
|
'dom.storage.enabled',
|
|
|
|
'dom.vibrator.enabled',
|
2021-11-28 08:22:46 -05:00
|
|
|
'extensions.screenshots.upload-disabled',
|
2021-08-22 04:27:15 -04:00
|
|
|
'general.warnOnAboutConfig',
|
|
|
|
'gfx.direct2d.disabled',
|
|
|
|
'layers.acceleration.disabled',
|
2021-08-28 23:27:46 -04:00
|
|
|
'media.getusermedia.audiocapture.enabled',
|
|
|
|
'media.getusermedia.browser.enabled',
|
|
|
|
'media.getusermedia.screensharing.enabled',
|
2021-08-22 04:27:15 -04:00
|
|
|
'media.gmp-widevinecdm.visible',
|
2021-11-28 08:22:46 -05:00
|
|
|
'media.media-capabilities.enabled',
|
2021-08-22 04:27:15 -04:00
|
|
|
'network.http.redirection-limit',
|
|
|
|
'privacy.partition.network_state',
|
2021-11-28 08:22:46 -05:00
|
|
|
'security.insecure_connection_icon.enabled',
|
|
|
|
'security.mixed_content.block_active_content',
|
2021-08-22 04:27:15 -04:00
|
|
|
'security.ssl.enable_ocsp_stapling',
|
|
|
|
'security.ssl3.dhe_rsa_aes_128_sha',
|
|
|
|
'security.ssl3.dhe_rsa_aes_256_sha',
|
|
|
|
'webgl.min_capability_mode',
|
|
|
|
/* 69-78 */
|
|
|
|
'browser.cache.disk_cache_ssl',
|
|
|
|
'browser.search.geoip.url',
|
|
|
|
'browser.search.region',
|
|
|
|
'browser.sessionhistory.max_entries',
|
|
|
|
'dom.push.connection.enabled',
|
|
|
|
'dom.push.serverURL',
|
|
|
|
'extensions.getAddons.discovery.api_url',
|
|
|
|
'extensions.htmlaboutaddons.discover.enabled',
|
|
|
|
'extensions.webservice.discoverURL',
|
|
|
|
'intl.locale.requested',
|
|
|
|
'intl.regional_prefs.use_os_locales',
|
|
|
|
'media.block-autoplay-until-in-foreground',
|
|
|
|
'middlemouse.paste',
|
|
|
|
'plugin.sessionPermissionNow.intervalInMinutes',
|
|
|
|
'privacy.usercontext.about_newtab_segregation.enabled',
|
|
|
|
'security.insecure_connection_icon.pbmode.enabled',
|
|
|
|
'security.insecure_connection_text.pbmode.enabled',
|
|
|
|
'webgl.dxgl.enabled',
|
2021-08-18 22:14:23 -04:00
|
|
|
/* 61-68 */
|
2020-07-23 07:00:23 -04:00
|
|
|
'app.update.service.enabled',
|
|
|
|
'app.update.silent',
|
|
|
|
'app.update.staging.enabled',
|
|
|
|
'browser.cache.disk.capacity',
|
|
|
|
'browser.cache.disk.smart_size.enabled',
|
|
|
|
'browser.cache.disk.smart_size.first_run',
|
|
|
|
'browser.cache.offline.insecure.enable',
|
2021-08-22 04:27:15 -04:00
|
|
|
'browser.contentblocking.enabled',
|
|
|
|
'browser.laterrun.enabled',
|
|
|
|
'browser.offline-apps.notify',
|
|
|
|
'browser.rights.3.shown',
|
|
|
|
'browser.safebrowsing.blockedURIs.enabled',
|
|
|
|
'browser.safebrowsing.downloads.remote.block_dangerous',
|
|
|
|
'browser.safebrowsing.downloads.remote.block_dangerous_host',
|
|
|
|
'browser.safebrowsing.provider.google.gethashURL',
|
2020-07-23 07:00:23 -04:00
|
|
|
'browser.safebrowsing.provider.google.reportMalwareMistakeURL',
|
|
|
|
'browser.safebrowsing.provider.google.reportPhishMistakeURL',
|
|
|
|
'browser.safebrowsing.provider.google.reportURL',
|
2021-08-22 04:27:15 -04:00
|
|
|
'browser.safebrowsing.provider.google.updateURL',
|
2020-07-23 07:00:23 -04:00
|
|
|
'browser.safebrowsing.provider.google4.dataSharing.enabled',
|
|
|
|
'browser.safebrowsing.provider.google4.dataSharingURL',
|
2021-08-22 04:27:15 -04:00
|
|
|
'browser.safebrowsing.provider.google4.gethashURL',
|
2020-07-23 07:00:23 -04:00
|
|
|
'browser.safebrowsing.provider.google4.reportMalwareMistakeURL',
|
|
|
|
'browser.safebrowsing.provider.google4.reportPhishMistakeURL',
|
|
|
|
'browser.safebrowsing.provider.google4.reportURL',
|
2021-08-22 04:27:15 -04:00
|
|
|
'browser.safebrowsing.provider.google4.updateURL',
|
|
|
|
'browser.safebrowsing.provider.mozilla.gethashURL',
|
|
|
|
'browser.safebrowsing.provider.mozilla.updateURL',
|
2020-07-23 07:00:23 -04:00
|
|
|
'browser.safebrowsing.reportPhishURL',
|
|
|
|
'browser.sessionhistory.max_total_viewers',
|
2021-08-22 04:27:15 -04:00
|
|
|
'browser.sessionstore.max_windows_undo',
|
|
|
|
'browser.slowStartup.maxSamples',
|
|
|
|
'browser.slowStartup.notificationDisabled',
|
|
|
|
'browser.slowStartup.samples',
|
|
|
|
'browser.storageManager.enabled',
|
|
|
|
'browser.urlbar.autoFill.typed',
|
2020-07-23 07:00:23 -04:00
|
|
|
'browser.urlbar.filter.javascript',
|
2021-08-22 04:27:15 -04:00
|
|
|
'browser.urlbar.maxHistoricalSearchSuggestions',
|
|
|
|
'browser.urlbar.userMadeSearchSuggestionsChoice',
|
2020-07-23 07:00:23 -04:00
|
|
|
'canvas.capturestream.enabled',
|
2021-08-22 04:27:15 -04:00
|
|
|
'dom.allow_scripts_to_close_windows',
|
|
|
|
'dom.disable_window_flip',
|
|
|
|
'dom.forms.datetime',
|
2020-07-23 07:00:23 -04:00
|
|
|
'dom.imagecapture.enabled',
|
|
|
|
'dom.popup_maximum',
|
2021-08-22 04:27:15 -04:00
|
|
|
'extensions.webextensions.keepStorageOnUninstall',
|
|
|
|
'extensions.webextensions.keepUuidOnUninstall',
|
|
|
|
'font.blacklist.underline_offset',
|
|
|
|
'font.name.monospace.x-unicode',
|
|
|
|
'font.name.monospace.x-western',
|
|
|
|
'font.name.sans-serif.x-unicode',
|
|
|
|
'font.name.sans-serif.x-western',
|
|
|
|
'font.name.serif.x-unicode',
|
|
|
|
'font.name.serif.x-western',
|
2020-07-23 07:00:23 -04:00
|
|
|
'gfx.offscreencanvas.enabled',
|
|
|
|
'javascript.options.shared_memory',
|
2021-08-22 04:27:15 -04:00
|
|
|
'layout.css.font-loading-api.enabled',
|
2020-07-23 07:00:23 -04:00
|
|
|
'media.gmp-gmpopenh264.autoupdate',
|
|
|
|
'media.gmp-gmpopenh264.enabled',
|
|
|
|
'media.gmp-manager.updateEnabled',
|
|
|
|
'media.gmp-manager.url',
|
|
|
|
'media.gmp-manager.url.override',
|
|
|
|
'media.gmp-widevinecdm.autoupdate',
|
2021-08-22 04:27:15 -04:00
|
|
|
'media.gmp.trial-create.enabled',
|
|
|
|
'media.navigator.video.enabled',
|
|
|
|
'media.peerconnection.ice.tcp',
|
|
|
|
'media.peerconnection.identity.enabled',
|
|
|
|
'media.peerconnection.identity.timeout',
|
|
|
|
'media.peerconnection.turn.disable',
|
|
|
|
'media.peerconnection.use_document_iceservers',
|
|
|
|
'media.peerconnection.video.enabled',
|
|
|
|
'network.auth.subresource-img-cross-origin-http-auth-allow',
|
2020-07-23 07:00:23 -04:00
|
|
|
'network.cookie.leave-secure-alone',
|
|
|
|
'network.cookie.same-site.enabled',
|
|
|
|
'network.dnsCacheEntries',
|
|
|
|
'network.dnsCacheExpiration',
|
2021-08-22 04:27:15 -04:00
|
|
|
'network.http.fast-fallback-to-IPv4',
|
2020-07-23 07:00:23 -04:00
|
|
|
'network.proxy.autoconfig_url.include_path',
|
2021-08-22 04:27:15 -04:00
|
|
|
'offline-apps.quota.warn',
|
2020-07-23 07:00:23 -04:00
|
|
|
'pdfjs.enableWebGL',
|
|
|
|
'plugin.default.state',
|
|
|
|
'plugin.defaultXpi.state',
|
|
|
|
'plugin.scan.plid.all',
|
|
|
|
'privacy.trackingprotection.annotate_channels',
|
|
|
|
'privacy.trackingprotection.lower_network_priority',
|
|
|
|
'privacy.trackingprotection.pbmode.enabled',
|
2021-08-22 04:27:15 -04:00
|
|
|
'privacy.trackingprotection.ui.enabled',
|
|
|
|
'security.data_uri.block_toplevel_data_uri_navigations',
|
|
|
|
'security.insecure_field_warning.contextual.enabled',
|
|
|
|
'security.insecure_password.ui.enabled',
|
|
|
|
'security.tls.version.fallback-limit',
|
2020-07-23 07:00:23 -04:00
|
|
|
'services.blocklist.addons.collection',
|
|
|
|
'services.blocklist.gfx.collection',
|
|
|
|
'services.blocklist.onecrl.collection',
|
|
|
|
'services.blocklist.plugins.collection',
|
2021-08-22 04:27:15 -04:00
|
|
|
'services.blocklist.signing.enforced',
|
2020-07-23 07:00:23 -04:00
|
|
|
'services.blocklist.update_enabled',
|
2021-08-22 04:27:15 -04:00
|
|
|
'signon.autofillForms.http',
|
|
|
|
'signon.storeWhenAutocompleteOff',
|
2020-07-23 07:00:23 -04:00
|
|
|
'toolkit.telemetry.cachedClientID',
|
2021-08-22 04:27:15 -04:00
|
|
|
'urlclassifier.trackingTable',
|
|
|
|
'xpinstall.whitelist.required',
|
|
|
|
/* 60 or lower */
|
|
|
|
'browser.migrate.automigrate.enabled',
|
|
|
|
'browser.search.geoip.timeout',
|
|
|
|
'browser.search.reset.enabled',
|
|
|
|
'browser.search.reset.whitelist',
|
|
|
|
'browser.stopReloadAnimation.enabled',
|
|
|
|
'browser.tabs.insertRelatedAfterCurrent',
|
|
|
|
'browser.tabs.loadDivertedInBackground',
|
|
|
|
'browser.tabs.loadInBackground',
|
|
|
|
'browser.tabs.selectOwnerOnClose',
|
|
|
|
'browser.urlbar.clickSelectsAll',
|
|
|
|
'browser.urlbar.doubleClickSelectsAll',
|
|
|
|
'device.storage.enabled',
|
|
|
|
'dom.keyboardevent.dispatch_during_composition',
|
|
|
|
'dom.presentation.controller.enabled',
|
|
|
|
'dom.presentation.discoverable',
|
|
|
|
'dom.presentation.discovery.enabled',
|
|
|
|
'dom.presentation.enabled',
|
|
|
|
'dom.presentation.receiver.enabled',
|
|
|
|
'dom.presentation.session_transport.data_channel.enable',
|
|
|
|
'dom.vr.oculus.enabled',
|
|
|
|
'dom.vr.openvr.enabled',
|
|
|
|
'dom.vr.osvr.enabled',
|
|
|
|
'extensions.pocket.api',
|
|
|
|
'extensions.pocket.oAuthConsumerKey',
|
|
|
|
'extensions.pocket.site',
|
|
|
|
'general.useragent.compatMode.firefox',
|
|
|
|
'geo.wifi.xhr.timeout',
|
|
|
|
'gfx.layerscope.enabled',
|
|
|
|
'media.flac.enabled',
|
|
|
|
'media.mediasource.enabled',
|
|
|
|
'media.mediasource.mp4.enabled',
|
|
|
|
'media.mediasource.webm.audio.enabled',
|
|
|
|
'media.mediasource.webm.enabled',
|
|
|
|
'media.mp4.enabled',
|
|
|
|
'media.ogg.enabled',
|
|
|
|
'media.ogg.flac.enabled',
|
|
|
|
'media.opus.enabled',
|
|
|
|
'media.raw.enabled',
|
|
|
|
'media.wave.enabled',
|
|
|
|
'media.webm.enabled',
|
|
|
|
'media.webspeech.recognition.enable',
|
|
|
|
'media.wmf.amd.vp9.enabled',
|
|
|
|
'media.wmf.enabled',
|
|
|
|
'media.wmf.vp9.enabled',
|
|
|
|
'network.dns.blockDotOnion',
|
|
|
|
'network.stricttransportsecurity.preloadlist',
|
|
|
|
'security.block_script_with_wrong_mime',
|
|
|
|
'security.fileuri.strict_origin_policy',
|
|
|
|
'security.sri.enable',
|
|
|
|
'services.sync.enabled',
|
|
|
|
'ui.submenuDelay',
|
|
|
|
'webextensions.storage.sync.enabled',
|
|
|
|
'webextensions.storage.sync.serverURL',
|
|
|
|
// excluding these e10 settings
|
|
|
|
// 'browser.tabs.remote.autostart',
|
|
|
|
// 'browser.tabs.remote.autostart.2',
|
|
|
|
// 'browser.tabs.remote.force-enable',
|
|
|
|
// 'browser.tabs.remote.separateFileUriProcess',
|
|
|
|
// 'extensions.e10sBlocksEnabling',
|
|
|
|
// 'extensions.webextensions.remote',
|
|
|
|
// 'dom.ipc.processCount',
|
|
|
|
// 'dom.ipc.shims.enabledWarnings',
|
|
|
|
// 'dom.ipc.processCount.extension',
|
|
|
|
// 'dom.ipc.processCount.file',
|
|
|
|
// 'security.sandbox.content.level',
|
|
|
|
// 'dom.ipc.plugins.sandbox-level.default',
|
|
|
|
// 'dom.ipc.plugins.sandbox-level.flash',
|
|
|
|
// 'security.sandbox.logging.enabled',
|
2021-12-11 04:37:45 -05:00
|
|
|
|
|
|
|
/* IMPORTANT: last active pref must not have a trailing comma */
|
2020-07-23 07:00:23 -04:00
|
|
|
/* reset parrot: check your open about:config after running the script */
|
|
|
|
'_user.js.parrot'
|
2021-07-07 10:25:08 -04:00
|
|
|
];
|
|
|
|
|
|
|
|
console.clear();
|
2020-07-23 07:00:23 -04:00
|
|
|
|
|
|
|
let c = 0;
|
2021-07-07 10:25:08 -04:00
|
|
|
for (const sPname of aPREFS) {
|
|
|
|
if (Services.prefs.prefHasUserValue(sPname)) {
|
|
|
|
Services.prefs.clearUserPref(sPname);
|
|
|
|
if (!Services.prefs.prefHasUserValue(sPname)) {
|
|
|
|
console.info('reset', sPname);
|
2020-07-23 07:00:23 -04:00
|
|
|
c++;
|
2021-07-07 10:25:08 -04:00
|
|
|
} else console.warn('failed to reset', sPname);
|
2020-07-23 07:00:23 -04:00
|
|
|
}
|
|
|
|
}
|
2021-07-07 10:25:08 -04:00
|
|
|
|
2020-07-23 07:00:23 -04:00
|
|
|
focus();
|
2021-07-07 10:25:08 -04:00
|
|
|
|
|
|
|
const d = (c==1) ? ' pref' : ' prefs';
|
|
|
|
alert(c ? 'successfully reset ' + c + d + "\n\nfor details check the console" : 'nothing to reset');
|
|
|
|
|
|
|
|
return 'all done';
|
|
|
|
|
2020-07-23 07:00:23 -04:00
|
|
|
})();
|