user.js: ignore local ip addresses
This commit is contained in:
parent
91d8b35735
commit
e4682efe24
|
@ -14,7 +14,6 @@
|
||||||
|
|
||||||
extensions =
|
extensions =
|
||||||
[
|
[
|
||||||
|
|
||||||
pkgs.nur.repos.rycee.firefox-addons.ublock-origin
|
pkgs.nur.repos.rycee.firefox-addons.ublock-origin
|
||||||
pkgs.nur.repos.rycee.firefox-addons.clearurls # clear tracking urls
|
pkgs.nur.repos.rycee.firefox-addons.clearurls # clear tracking urls
|
||||||
pkgs.nur.repos.rycee.firefox-addons.stylus # cool styling for websites
|
pkgs.nur.repos.rycee.firefox-addons.stylus # cool styling for websites
|
||||||
|
@ -83,6 +82,63 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
home-manager.users.grape.programs.firefox.profiles.i2p =
|
||||||
|
{
|
||||||
|
isDefault = false;
|
||||||
|
id = 1;
|
||||||
|
extraConfig = builtins.readFile "/home/grape/dotfiles/nix/opt/firefox/i2puser.js"; # custom userjs config for i2p
|
||||||
|
extensions =
|
||||||
|
[
|
||||||
|
pkgs.nur.repos.rycee.firefox-addons.ublock-origin
|
||||||
|
pkgs.nur.repos.rycee.firefox-addons.localcdn # locally stores frameworks such as vue, tailwind ect..
|
||||||
|
pkgs.nur.repos.rycee.firefox-addons.libredirect # redirects to libre version of spyware sites
|
||||||
|
pkgs.nur.repos.rycee.firefox-addons.noscript # block js
|
||||||
|
];
|
||||||
|
search.force = true;
|
||||||
|
search.order = [ "Searxng" "DuckDuckGo" ];
|
||||||
|
search.default = "Searxng";
|
||||||
|
search.engines = {
|
||||||
|
"Searxng" = {
|
||||||
|
urls = [{
|
||||||
|
template = "http://search.itcomputes.i2p/search";
|
||||||
|
params = [
|
||||||
|
{ name = "q"; value = "{searchTerms}"; }
|
||||||
|
];
|
||||||
|
}];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
bookmarks = [
|
||||||
|
{
|
||||||
|
name = "libreddit";
|
||||||
|
tags = [ "social" ];
|
||||||
|
keyword = "reddit";
|
||||||
|
url = "http://libreddit.qwik.i2p/";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "anonymousoverflow";
|
||||||
|
tags = [ "forum" ];
|
||||||
|
keyword = "issue";
|
||||||
|
url = "http://ocp7zhdsbl2mjabv5ma5jvbzg2dqzglieayjvyj4j2r7qvsqlboa.b32.i2p/";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "breezewiki";
|
||||||
|
keyword = "fandom";
|
||||||
|
url = "http://vo5og6a5cvmhyio2qdcls7awwhuhqfqutxgamam5ojkdvdaxetmq.b32.i2p/";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
home-manager.users.grape.xdg.desktopEntries = {
|
||||||
|
"i2pfox" = {
|
||||||
|
name = "i2pfox";
|
||||||
|
genericName = "Web Browser";
|
||||||
|
exec = ''firefox -P "i2p"'';
|
||||||
|
terminal = false;
|
||||||
|
categories = [ "Application" "Network" "WebBrowser" ];
|
||||||
|
mimeType = [ "text/html" "text/xml" ];
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
programs.firejail = {
|
programs.firejail = {
|
||||||
wrappedBinaries = {
|
wrappedBinaries = {
|
||||||
|
|
|
@ -68,11 +68,12 @@ in
|
||||||
hwmon-path = "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input";
|
hwmon-path = "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
"module/cpu-usage" = {
|
"module/cpu-usage" = {
|
||||||
type = "internal/cpu";
|
type = "internal/cpu";
|
||||||
interval = "1.5";
|
interval = "1.5";
|
||||||
format = "<label>";
|
format = "<label>";
|
||||||
|
label-background = colors.bg;
|
||||||
|
label-foreground = colors.fg;
|
||||||
label = "CPU %percentage%%";
|
label = "CPU %percentage%%";
|
||||||
format-foreground = "${colors.fg}";
|
format-foreground = "${colors.fg}";
|
||||||
};
|
};
|
||||||
|
@ -82,14 +83,14 @@ in
|
||||||
interval = "1.5";
|
interval = "1.5";
|
||||||
exec = "nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader,nounits";
|
exec = "nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader,nounits";
|
||||||
format = "%{T2}%{F#191830}%{F-}%{T-}%{B${colors.bg}}%{F${colors.seperatorColor}}GPU %{F-}%{B-}<label>";
|
format = "%{T2}%{F#191830}%{F-}%{T-}%{B${colors.bg}}%{F${colors.seperatorColor}}GPU %{F-}%{B-}<label>";
|
||||||
|
label-foreground = colors.fg;
|
||||||
format-suffix = "°C ";
|
format-suffix = "°C ";
|
||||||
};
|
};
|
||||||
"module/gpu-usage" = {
|
"module/gpu-usage" = {
|
||||||
type = "custom/script";
|
type = "custom/script";
|
||||||
interval = "1.5";
|
interval = "1.5";
|
||||||
exec = "nvidia-smi --query-gpu=memory.used --format=csv,noheader,nounits";
|
exec = "nvidia-smi --query-gpu=memory.used --format=csv,noheader,nounits";
|
||||||
format = "<label>%{T2}%{F#191830}%{F-}%{T-}";
|
format = "<label> mb%{T2}%{F#191830}%{F-}%{T-}";
|
||||||
format-suffix = "mb ";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
"module/memory" = {
|
"module/memory" = {
|
||||||
|
|
|
@ -43,6 +43,7 @@
|
||||||
# for replay
|
# for replay
|
||||||
xdotool
|
xdotool
|
||||||
jq
|
jq
|
||||||
|
qbittorrent
|
||||||
|
|
||||||
#librewolf
|
#librewolf
|
||||||
#gimp
|
#gimp
|
||||||
|
|
|
@ -34,17 +34,17 @@
|
||||||
# 2. library_folder_add "/path/to/drive"
|
# 2. library_folder_add "/path/to/drive"
|
||||||
programs.steam.enable = true;
|
programs.steam.enable = true;
|
||||||
|
|
||||||
programs.firejail = {
|
# programs.firejail = {
|
||||||
wrappedBinaries = {
|
# wrappedBinaries = {
|
||||||
steam = {
|
# steam = {
|
||||||
executable = "${pkgs.steam}/bin/steam";
|
# executable = "${pkgs.steam}/bin/steam";
|
||||||
profile = "${pkgs.firejail}/etc/firejail/steam.profile";
|
# profile = "${pkgs.firejail}/etc/firejail/steam.profile";
|
||||||
desktop = "${pkgs.steam}/share/applications/steam.desktop";
|
# desktop = "${pkgs.steam}/share/applications/steam.desktop";
|
||||||
extraArgs = [
|
# extraArgs = [
|
||||||
"--env=GTK_THEME=Adwaita:dark"
|
# "--env=GTK_THEME=Adwaita:dark"
|
||||||
];
|
# ];
|
||||||
};
|
# };
|
||||||
|
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
}
|
}
|
||||||
|
|
332
nix/opt/firefox/i2puser.js
Normal file
332
nix/opt/firefox/i2puser.js
Normal file
|
@ -0,0 +1,332 @@
|
||||||
|
user_pref("accessibility.force_disabled", 1);
|
||||||
|
user_pref("app.normandy.first_run", false);
|
||||||
|
user_pref("app.normandy.api_url", "");
|
||||||
|
user_pref("app.normandy.enabled", false);
|
||||||
|
user_pref("app.normandy.optoutstudies.enabled", false);
|
||||||
|
user_pref("app.shield.optoutstudies.enabled", false);
|
||||||
|
user_pref("app.update.auto", false);
|
||||||
|
user_pref("app.update.BITS.enabled", false);
|
||||||
|
user_pref("app.update.channel", "i2pdbrowser");
|
||||||
|
user_pref("app.update.disable_button.showUpdateHistory", true);
|
||||||
|
user_pref("app.update.enabled", false);
|
||||||
|
user_pref("app.update.interval", 0);
|
||||||
|
user_pref("app.update.service.enabled", false);
|
||||||
|
user_pref("app.update.url", "");
|
||||||
|
user_pref("beacon.enabled", false);
|
||||||
|
pref("breakpad.reportURL", "");
|
||||||
|
user_pref("browser.aboutHomeSnippets.updateUrl", "");
|
||||||
|
user_pref("browser.aboutwelcome.enabled", false);
|
||||||
|
user_pref("browser.cache.disk.capacity", 131072);
|
||||||
|
user_pref("browser.cache.offline.enable", false);
|
||||||
|
user_pref("browser.casting.enabled", false);
|
||||||
|
user_pref("browser.contentblocking.database.enabled", false);
|
||||||
|
user_pref("browser.contentblocking.report.lockwise.enabled", false);
|
||||||
|
user_pref("browser.contentblocking.report.monitor.enabled", false);
|
||||||
|
user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false);
|
||||||
|
user_pref("browser.discovery.enabled", false);
|
||||||
|
pref("browser.download.manager.retention", 0);
|
||||||
|
user_pref("browser.download.useDownloadDir", false);
|
||||||
|
user_pref("browser.feeds.showFirstRunUI", false);
|
||||||
|
user_pref("browser.fixup.alternate.enabled", false);
|
||||||
|
user_pref("browser.fixup.fallback-to-https", false);
|
||||||
|
user_pref("browser.formfill.enable", false);
|
||||||
|
user_pref("browser.formfill.expire_days", 0);
|
||||||
|
user_pref("browser.messaging-system.whatsNewPanel.enabled", false);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.feeds.asrouterfeed", false);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.default.sites", "http://i2pd.i2p/,http://333.i2p/,http://inr.i2p/,http://102chan.i2p/,http://flibusta.i2p/,http://fsoc.i2p/,http://lifebox.i2p/,http://onelon.i2p/,http://wiki.ilita.i2p/");
|
||||||
|
user_pref("browser.newtabpage.activity-stream.discoverystream.enabled", false);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.feeds.discoverystreamfeed", false);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.feeds.section.highlights", false);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.feeds.snippets", false);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.showSearch", true);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.section.highlights.includePocket", false);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.showSponsored", false);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.telemetry", false);
|
||||||
|
pref("browser.newtabpage.activity-stream.topSitesRows", 2);
|
||||||
|
pref("browser.newtabpage.enhanced", false);
|
||||||
|
pref("browser.newtabpage.introShown", true);
|
||||||
|
user_pref("browser.onboarding.tour.onboarding-tour-addons.completed", true);
|
||||||
|
user_pref("browser.onboarding.tour.onboarding-tour-customize.completed", true);
|
||||||
|
user_pref("browser.onboarding.tour.onboarding-tour-default-browser.completed", true);
|
||||||
|
user_pref("browser.onboarding.tour.onboarding-tour-performance.completed", true);
|
||||||
|
user_pref("browser.onboarding.tour.onboarding-tour-private-browsing.completed", true);
|
||||||
|
user_pref("browser.onboarding.tour.onboarding-tour-screenshots.completed", true);
|
||||||
|
user_pref("browser.pagethumbnails.capturing_disabled", true);
|
||||||
|
user_pref("browser.ping-centre.telemetry", false);
|
||||||
|
user_pref("browser.places.smartBookmarksVersion", -1);
|
||||||
|
pref("browser.places.speculativeConnect.enabled", false);
|
||||||
|
pref("browser.reader.detectedFirstArticle", false);
|
||||||
|
pref("browser.region.network.url", "");
|
||||||
|
pref("browser.region.update.enabled", false);
|
||||||
|
pref("browser.rights.3.shown", true);
|
||||||
|
user_pref("browser.safebrowsing.appRepURL", "");
|
||||||
|
user_pref("browser.safebrowsing.blockedURIs.enabled", false);
|
||||||
|
user_pref("browser.safebrowsing.downloads.enabled", false);
|
||||||
|
user_pref("browser.safebrowsing.downloads.remote.enabled", false);
|
||||||
|
user_pref("browser.safebrowsing.gethashURL", "");
|
||||||
|
user_pref("browser.safebrowsing.keyURL", "localhost");
|
||||||
|
user_pref("browser.safebrowsing.malware.enabled", false);
|
||||||
|
user_pref("browser.safebrowsing.malware.reportURL", "");
|
||||||
|
user_pref("browser.safebrowsing.phishing.enabled", false);
|
||||||
|
user_pref("browser.safebrowsing.provider.google.appRepURL", "");
|
||||||
|
user_pref("browser.safebrowsing.provider.google.gethashURL", "");
|
||||||
|
user_pref("browser.safebrowsing.provider.google.lists", "");
|
||||||
|
user_pref("browser.safebrowsing.provider.google.reportURL", "");
|
||||||
|
user_pref("browser.safebrowsing.provider.google.updateURL", "");
|
||||||
|
user_pref("browser.safebrowsing.provider.mozilla.gethashURL", "");
|
||||||
|
user_pref("browser.safebrowsing.provider.mozilla.lists", "");
|
||||||
|
user_pref("browser.safebrowsing.provider.mozilla.updateURL", "");
|
||||||
|
user_pref("browser.safebrowsing.reportErrorURL", "");
|
||||||
|
user_pref("browser.safebrowsing.reportGenericURL", "");
|
||||||
|
user_pref("browser.safebrowsing.reportMalwareErrorURL", "");
|
||||||
|
user_pref("browser.safebrowsing.reportMalwareURL", "");
|
||||||
|
user_pref("browser.safebrowsing.reportPhishURL", "");
|
||||||
|
user_pref("browser.safebrowsing.reportURL", "");
|
||||||
|
user_pref("browser.safebrowsing.updateURL", "");
|
||||||
|
user_pref("browser.safebrowsing.warning.infoURL", "");
|
||||||
|
user_pref("browser.search.countryCode", "US");
|
||||||
|
user_pref("browser.search.defaultenginename", "YaCy 'legwork'");
|
||||||
|
user_pref("browser.search.defaultenginename.US", "YaCy 'legwork'");
|
||||||
|
user_pref("browser.search.geoSpecificDefaults", false);
|
||||||
|
user_pref("browser.search.geoSpecificDefaults.url", "");
|
||||||
|
user_pref("browser.search.geoip.url", "");
|
||||||
|
user_pref("browser.search.official", false);
|
||||||
|
user_pref("browser.search.order.1", "YaCy 'legwork'");
|
||||||
|
user_pref("browser.search.order.2", "");
|
||||||
|
user_pref("browser.search.order.3", "");
|
||||||
|
user_pref("browser.search.order.US.1", "YaCy 'legwork'");
|
||||||
|
user_pref("browser.search.order.US.2", "");
|
||||||
|
user_pref("browser.search.order.US.3", "");
|
||||||
|
user_pref("browser.search.redirectWindowsSearch", false);
|
||||||
|
user_pref("browser.search.region", "US");
|
||||||
|
user_pref("browser.search.searchEnginesURL", "");
|
||||||
|
user_pref("browser.search.suggest.enabled", false);
|
||||||
|
user_pref("browser.search.update", false);
|
||||||
|
user_pref("browser.send_pings", false);
|
||||||
|
pref("browser.send_pings.require_same_host", true);
|
||||||
|
user_pref("browser.shell.checkDefaultBrowser", false);
|
||||||
|
pref("browser.startup.homepage", "http://i2pd.i2p/");
|
||||||
|
user_pref("browser.startup.homepage_override.mstone", "ignore");
|
||||||
|
user_pref("browser.tabs.closeWindowWithLastTab", false);
|
||||||
|
user_pref("browser.tabs.crashReporting.sendReport", false);
|
||||||
|
user_pref("browser.translation.engine", "");
|
||||||
|
user_pref("browser.uitour.enabled", false);
|
||||||
|
user_pref("browser.urlbar.dnsResolveSingleWordsAfterSearch", 0);
|
||||||
|
user_pref("browser.urlbar.formatting.enabled", false);
|
||||||
|
user_pref("browser.urlbar.maxRichResults", 12);
|
||||||
|
user_pref("browser.urlbar.speculativeConnect.enabled", false);
|
||||||
|
user_pref("browser.urlbar.suggest.quicksuggest.nonsponsored", false);
|
||||||
|
user_pref("browser.urlbar.suggest.quicksuggest.sponsored", false);
|
||||||
|
user_pref("browser.urlbar.suggest.searches", false);
|
||||||
|
user_pref("browser.urlbar.trimURLs", false);
|
||||||
|
user_pref("browser.usedOnWindows10", false);
|
||||||
|
user_pref("browser.usedOnWindows10.introURL", "");
|
||||||
|
user_pref("camera.control.face_detection.enabled", false);
|
||||||
|
pref("canvas.capturestream.enabled", false);
|
||||||
|
user_pref("captivedetect.canonicalURL", "");
|
||||||
|
pref("clipboard.autocopy", false);
|
||||||
|
user_pref("datareporting.healthreport.about.reportUrl", "");
|
||||||
|
user_pref("datareporting.healthreport.about.reportUrlUnified", "");
|
||||||
|
user_pref("datareporting.healthreport.documentServerURI", "");
|
||||||
|
user_pref("datareporting.healthreport.pendingDeleteRemoteData", true);
|
||||||
|
user_pref("datareporting.healthreport.service.enabled", false);
|
||||||
|
user_pref("datareporting.healthreport.service.firstRun", false);
|
||||||
|
user_pref("datareporting.healthreport.uploadEnabled", false);
|
||||||
|
pref("datareporting.policy.dataSubmissionEnabled", false);
|
||||||
|
pref("datareporting.policy.firstRunTime", "0");
|
||||||
|
pref("datareporting.sessions.current.clean", true);
|
||||||
|
pref("device.sensors.enabled", false);
|
||||||
|
pref("devtools.chrome.enabled", false);
|
||||||
|
pref("devtools.debugger.force-local", true);
|
||||||
|
pref("devtools.debugger.remote-enabled", false);
|
||||||
|
pref("devtools.webide.autoinstallADBHelper", false);
|
||||||
|
pref("devtools.webide.autoinstallFxdtAdapters", false);
|
||||||
|
pref("devtools.webide.enabled", false);
|
||||||
|
user_pref("devtools.whatsnew.enabled", false);
|
||||||
|
user_pref("devtools.whatsnew.feature-enabled", false);
|
||||||
|
pref("dom.allow_cut_copy", false);
|
||||||
|
pref("dom.archivereader.enabled", false);
|
||||||
|
pref("dom.battery.enabled", false);
|
||||||
|
pref("dom.enable_performance", false);
|
||||||
|
pref("dom.enable_user_timing", false);
|
||||||
|
pref("dom.event.clipboardevents.enabled", false);
|
||||||
|
pref("dom.flyweb.enabled", false);
|
||||||
|
pref("dom.gamepad.enabled", false);
|
||||||
|
pref("dom.ipc.plugins.flash.subprocess.crashreporter.enabled", false);
|
||||||
|
pref("dom.ipc.plugins.reportCrashURL", false);
|
||||||
|
pref("dom.maxHardwareConcurrency", 2);
|
||||||
|
pref("dom.mozTCPSocket.enabled", false);
|
||||||
|
pref("dom.netinfo.enabled", false);
|
||||||
|
pref("dom.network.enabled", false);
|
||||||
|
user_pref("dom.push.enabled", false);
|
||||||
|
user_pref("dom.security.https_first", false);
|
||||||
|
user_pref("dom.security.https_first_pbm", false);
|
||||||
|
pref("dom.telephony.enabled", false);
|
||||||
|
pref("dom.vibrator.enabled", false);
|
||||||
|
pref("dom.vr.enabled", false);
|
||||||
|
pref("dom.webaudio.enabled", false);
|
||||||
|
pref("dom.webnotifications.enabled", false);
|
||||||
|
pref("dom.workers.enabled", false);
|
||||||
|
pref("experiments.enabled", false);
|
||||||
|
pref("experiments.manifest.uri", "");
|
||||||
|
pref("experiments.supported", false);
|
||||||
|
pref("extensions.abuseReport.enabled", false);
|
||||||
|
pref("extensions.autoDisableScopes", 0);
|
||||||
|
pref("extensions.blocklist.enabled", false);
|
||||||
|
pref("extensions.blocklist.url", "");
|
||||||
|
user_pref("extensions.getAddons.cache.enabled", false);
|
||||||
|
user_pref("extensions.getAddons.showPane", false);
|
||||||
|
user_pref("extensions.htmlaboutaddons.recommendations.enabled", false);
|
||||||
|
pref("extensions.lazarus.showDonateNotification", false);
|
||||||
|
user_pref("extensions.pocket.enabled", false);
|
||||||
|
user_pref("extensions.screenshots.upload-disabled", true);
|
||||||
|
pref("extensions.shownSelectionUI", true);
|
||||||
|
user_pref("extensions.systemAddon.update.enabled", false);
|
||||||
|
user_pref("extensions.systemAddon.update.url", "");
|
||||||
|
pref("extensions.ui.lastCategory", "addons://list/extension");
|
||||||
|
pref("extensions.update.autoUpdateDefault", false);
|
||||||
|
user_pref("extensions.update.enabled", false);
|
||||||
|
pref("full-screen-api.approval-required", false);
|
||||||
|
pref("full-screen-api.warning.timeout", 0);
|
||||||
|
pref("general.buildID.override", "20100101");
|
||||||
|
user_pref("general.platform.override", "Win32");
|
||||||
|
user_pref("general.useragent.locale", "en-US");
|
||||||
|
user_pref("general.useragent.override", "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/78.0");
|
||||||
|
pref("general.warnOnAboutConfig", false);
|
||||||
|
user_pref("geo.enabled", false);
|
||||||
|
user_pref("geo.wifi.logging.enabled", false);
|
||||||
|
user_pref("geo.wifi.uri", "");
|
||||||
|
user_pref("identity.fxaccounts.commands.enabled", false);
|
||||||
|
user_pref("identity.fxaccounts.enabled", false);
|
||||||
|
user_pref("intl.locale.matchOS", true);
|
||||||
|
pref("javascript.use_us_english_locale", true);
|
||||||
|
pref("keyword.enabled", false);
|
||||||
|
pref("lightweightThemes.update.enabled", false);
|
||||||
|
pref("loop.logDomains", false);
|
||||||
|
user_pref("marionette.enabled", false);
|
||||||
|
// Allow .i2p domain
|
||||||
|
user_pref("browser.fixup.domainsuffixwhitelist.i2p", true);
|
||||||
|
// disable https only
|
||||||
|
user_pref("dom.security.https_only_mode", false);
|
||||||
|
|
||||||
|
|
||||||
|
user_pref("media.eme.enabled", false);
|
||||||
|
user_pref("media.getusermedia.audiocapture.enabled", false);
|
||||||
|
user_pref("media.getusermedia.screensharing.enabled", false);
|
||||||
|
pref("media.gmp-eme-adobe.enabled", false);
|
||||||
|
user_pref("media.gmp-gmpopenh264.enabled", false);
|
||||||
|
pref("media.gmp-gmpopenh264.provider.enabled", false);
|
||||||
|
pref("media.gmp-manager.cert.checkAttributes", false);
|
||||||
|
pref("media.gmp-manager.url", "");
|
||||||
|
user_pref("media.navigator.enabled", false);
|
||||||
|
user_pref("media.navigator.video.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.peerconnection.identity.timeout", 1);
|
||||||
|
user_pref("media.peerconnection.turn.disable", true);
|
||||||
|
user_pref("media.peerconnection.use_document_iceservers", false);
|
||||||
|
user_pref("media.video_stats.enabled", false);
|
||||||
|
user_pref("media.webspeech.recognition.enable", false);
|
||||||
|
user_pref("media.webspeech.synth.enabled", false);
|
||||||
|
user_pref("messaging-system.rsexperimentloader.enabled", false);
|
||||||
|
user_pref("network.IDN.whitelist.i2p", true);
|
||||||
|
user_pref("network.IDN_show_punycode", true);
|
||||||
|
user_pref("network.allow-experiments", false);
|
||||||
|
user_pref("network.captive-portal-service.enabled", false);
|
||||||
|
user_pref("network.connectivity-service.enabled", false);
|
||||||
|
pref("network.cookie.prefsMigrated", true);
|
||||||
|
user_pref("network.dns.disableIPv6", true);
|
||||||
|
user_pref("network.dns.disablePrefetchFromHTTPS", true);
|
||||||
|
user_pref("network.dns.disablePrefetch", true);
|
||||||
|
user_pref("network.gio.supported-protocols", "");
|
||||||
|
user_pref("network.http.speculative-parallel-limit", 0);
|
||||||
|
user_pref("network.jar.open-unsafe-types", false);
|
||||||
|
pref("network.manage-offline-status", false);
|
||||||
|
user_pref("network.negotiate-auth.allow-insecure-ntlm-v1", false);
|
||||||
|
user_pref("network.notify.changed", false);
|
||||||
|
pref("network.predictor.enabled", false);
|
||||||
|
pref("network.predictor.enable-prefetch", false);
|
||||||
|
user_pref("network.prefetch-next", false);
|
||||||
|
pref("network.protocol-handler.expose-all", true);
|
||||||
|
user_pref("network.protocol-handler.external-default", false);
|
||||||
|
user_pref("network.protocol-handler.warn-external-default", true);
|
||||||
|
user_pref("network.proxy.allow_bypass", false);
|
||||||
|
user_pref("network.proxy.ftp", "32.54.31.99");
|
||||||
|
user_pref("network.proxy.ftp_port", 4447);
|
||||||
|
user_pref("network.proxy.socks", "32.54.31.99");
|
||||||
|
user_pref("network.proxy.socks_port", 4447);
|
||||||
|
user_pref("network.proxy.socks_version", 5);
|
||||||
|
user_pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1");
|
||||||
|
user_pref("network.proxy.share_proxy_settings", true);
|
||||||
|
user_pref("network.proxy.socks_remote_dns", true);
|
||||||
|
user_pref("network.proxy.ssl", "");
|
||||||
|
user_pref("network.proxy.ssl_port", 0);
|
||||||
|
user_pref("network.proxy.type", 1);
|
||||||
|
pref("network.http.speculative-parallel-limit", 0);
|
||||||
|
user_pref("network.trr.mode", 5);
|
||||||
|
user_pref("pdfjs.disabled", true);
|
||||||
|
user_pref("pdfjs.enableWebGL", false);
|
||||||
|
user_pref("permissions.default.camera", 2);
|
||||||
|
user_pref("permissions.default.desktop-notification", 2);
|
||||||
|
user_pref("permissions.default.geo", 2);
|
||||||
|
user_pref("permissions.default.microphone", 2);
|
||||||
|
user_pref("plugin.default_plugin_disabled", true);
|
||||||
|
user_pref("plugin.state.java", 0);
|
||||||
|
user_pref("plugin.state.libgnome-shell-browser-plugin", 0);
|
||||||
|
user_pref("plugins.click_to_play", true);
|
||||||
|
user_pref("plugins.load_appdir_plugins", false);
|
||||||
|
user_pref("plugins.update.notifyUser", false);
|
||||||
|
user_pref("plugins.update.url", "");
|
||||||
|
pref("privacy.cpd.offlineApps", true);
|
||||||
|
pref("privacy.firstparty.isolate", true);
|
||||||
|
user_pref("privacy.resistFingerprinting", true);
|
||||||
|
pref("privacy.sanitize.timeSpan", 0);
|
||||||
|
user_pref("privacy.spoof_english", 2);
|
||||||
|
user_pref("privacy.trackingprotection.enabled", true);
|
||||||
|
//user_pref("privacy.userContext.enabled", true);
|
||||||
|
user_pref("reader.parse-on-load.enabled", false);
|
||||||
|
user_pref("reader.parse-on-load.force-enabled", false);
|
||||||
|
user_pref("security.insecure_field_warning.contextual.enabled", false);
|
||||||
|
user_pref("security.insecure_password.ui.enabled", false);
|
||||||
|
user_pref("security.ssl.errorReporting.enabled", false);
|
||||||
|
user_pref("security.OCSP.enabled", 0);
|
||||||
|
user_pref("services.blocklist.update_enabled", false);
|
||||||
|
pref("services.settings.server", "");
|
||||||
|
user_pref("services.sync.enabled", false);
|
||||||
|
pref("services.sync.prefs.sync.browser.download.manager.scanWhenDone", false);
|
||||||
|
pref("services.sync.prefs.sync.browser.safebrowsing.enabled", false);
|
||||||
|
pref("services.sync.prefs.sync.browser.search.update", false);
|
||||||
|
pref("services.sync.prefs.sync.extensions.update.enabled", false);
|
||||||
|
pref("signon.autofillForms", false);
|
||||||
|
user_pref("signon.management.page.breach-alerts.enabled", false);
|
||||||
|
user_pref("signon.management.page.vulnerable-passwords.enabled", false);
|
||||||
|
pref("signon.rememberSignons", false);
|
||||||
|
//user_pref("startup.homepage_welcome_url", "http://i2pd.i2p/");
|
||||||
|
pref("startup.homepage_welcome_url.additional", "about:blank");
|
||||||
|
pref("toolkit.coverage.endpoint.base", "");
|
||||||
|
pref("toolkit.coverage.opt-out", true);
|
||||||
|
user_pref("toolkit.telemetry.archive.enabled", false);
|
||||||
|
user_pref("toolkit.telemetry.bhrPing.enabled", false);
|
||||||
|
pref("toolkit.telemetry.coverage.opt-out", true);
|
||||||
|
user_pref("toolkit.telemetry.enabled", false);
|
||||||
|
user_pref("toolkit.telemetry.firstShutdownPing.enabled", false);
|
||||||
|
user_pref("toolkit.telemetry.newProfilePing.enabled", false);
|
||||||
|
user_pref("toolkit.telemetry.optoutSample", false);
|
||||||
|
user_pref("toolkit.telemetry.reportingpolicy.firstRun", false);
|
||||||
|
user_pref("toolkit.telemetry.server", "");
|
||||||
|
user_pref("toolkit.telemetry.shutdownPingSender.enabled", false);
|
||||||
|
user_pref("toolkit.telemetry.unified", false);
|
||||||
|
user_pref("toolkit.telemetry.unifiedIsOptIn", true);
|
||||||
|
user_pref("toolkit.telemetry.updatePing.enabled", true);
|
||||||
|
user_pref("toolkit.winRegisterApplicationRestart", false);
|
||||||
|
user_pref("webgl.disable-extensions", true);
|
||||||
|
user_pref("webgl.disable-fail-if-major-performance-caveat", true);
|
||||||
|
user_pref("webgl.disabled", true);
|
||||||
|
user_pref("webgl.enable-debug-renderer-info", false);
|
||||||
|
user_pref("webgl.min_capability_mode", true);
|
|
@ -477,6 +477,9 @@ user_pref("security.pki.crlite_mode", 2);
|
||||||
* [TEST] http://example.com [upgrade]
|
* [TEST] http://example.com [upgrade]
|
||||||
* [TEST] http://httpforever.com/ | http://http.rip [no upgrade] ***/
|
* [TEST] http://httpforever.com/ | http://http.rip [no upgrade] ***/
|
||||||
user_pref("dom.security.https_only_mode", true); // [FF76+]
|
user_pref("dom.security.https_only_mode", true); // [FF76+]
|
||||||
|
// ignore https only for local infra
|
||||||
|
user_pref("dom.security.https_only_mode_exceptions", "['http://32.54.31.5', 'http://32.54.31.172' 'http://32.54.31.180', 'http://32.54.31.99' ]");
|
||||||
|
|
||||||
// user_pref("dom.security.https_only_mode_pbm", true); // [FF80+]
|
// user_pref("dom.security.https_only_mode_pbm", true); // [FF80+]
|
||||||
/* 1245: enable HTTPS-Only mode for local resources [FF77+] ***/
|
/* 1245: enable HTTPS-Only mode for local resources [FF77+] ***/
|
||||||
// user_pref("dom.security.https_only_mode.upgrade_local", true);
|
// user_pref("dom.security.https_only_mode.upgrade_local", true);
|
||||||
|
|
Loading…
Reference in a new issue