Skip to content

Commit

Permalink
Sync
Browse files Browse the repository at this point in the history
  • Loading branch information
drduh committed Jun 22, 2019
1 parent 2dc0150 commit 1b6dfcb
Show file tree
Hide file tree
Showing 20 changed files with 125 additions and 48 deletions.
10 changes: 5 additions & 5 deletions curlrc
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# https://github.com/drduh/config/blob/master/curlrc
# https://curl.haxx.se/docs/manpage.html
#max-time = 90
#proxy = "127.0.0.1:5555"
#socks5 = "127.0.0.1:9150"
#user-agent = "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
user-agent = "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
connect-timeout = 10
ipv4
max-time = 90
progress-bar
referer = ";auto"
#proxy = "127.0.0.1:5555"
#socks5 = "127.0.0.1:9150"
remote-time
show-error
user-agent = "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"
#user-agent = "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
verbose
2 changes: 1 addition & 1 deletion dnscrypt-proxy.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# https://github.com/drduh/config/blob/master/dnscrypt-proxy.toml
#user_name = '_dnscrypt-proxy'
listen_addresses = ['127.0.0.1:4200']
user_name = '_dnscrypt-proxy'
server_names = ['abc']
max_clients = 250
ipv4_servers = true
Expand Down
16 changes: 16 additions & 0 deletions domains/ads
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ address=/adcolony.com/
address=/addshoppers.com/
address=/addthis.com/
address=/addtoany.com/
address=/adform.net/
address=/adglare.net/
address=/adinterax.com/
address=/adjuggler.net/
Expand Down Expand Up @@ -234,6 +235,7 @@ address=/gleam.io/
address=/globadmedia.com/
address=/gmodules.com/
address=/go-mpulse.net/
address=/gotraffic.net/
address=/gpsonextra.net/
address=/grmtas.com/
address=/gscontxt.net/
Expand Down Expand Up @@ -262,6 +264,7 @@ address=/idg.com.au/
address=/igodigital.com/
address=/imgaft.com/
address=/impactradius-event.com/
address=/impulsehands.com/
address=/imrworldwide.com/
address=/imysurvey.com/
address=/indexww.com/
Expand Down Expand Up @@ -313,6 +316,7 @@ address=/lockerdomecdn.com/
address=/log.optimizely.com/
address=/log.pinterest.com/
address=/logentries.com/
address=/lop.com/
address=/lygo.com/
address=/madnxs.com/
address=/madnxs.net/
Expand All @@ -327,6 +331,7 @@ address=/matrix.it/
address=/maxserving.com/
address=/maxymiser.net/
address=/media.net/
address=/mediaplex.com/
address=/mediavine.com/
address=/mediavoice.com/
address=/meetrics.net/
Expand Down Expand Up @@ -389,12 +394,14 @@ address=/pebblemedia.be/
address=/pepperjamnetwork.com/
address=/performanceadexchange.com/
address=/perimeterx.net/
address=/permutive.com/
address=/phicdn.net/
address=/pingdom.net/
address=/pipelpop.co/
address=/piwikpro.com/
address=/pixel.wp.com/
address=/pixstats.net/
address=/playbuzz.com/
address=/playtomic.com/
address=/plugrush.com/
address=/pm0.net/
Expand All @@ -404,6 +411,7 @@ address=/polyfill.io/
address=/postrelease.com/
address=/pricespider.com/
address=/printio-geo.appspot.com/
address=/proext.com/
address=/proximi-t.com/
address=/proximic.com/
address=/pub.network/
Expand All @@ -422,6 +430,7 @@ address=/realmedia.com/
address=/regmedia.co.uk/
address=/res-x.com/
address=/resellerratings.com/
address=/revcontent.com/
address=/revealmobile.com/
address=/rewardstyle.com/
address=/richmetrics.com/
Expand All @@ -441,6 +450,7 @@ address=/scripps.com/
address=/searchmagnified.com/
address=/searchmarketing.com/
address=/sedo.com/
address=/segmetrics.io/
address=/sense360eng.com/
address=/servedbyopenx.com/
address=/serving-sys.com/
Expand All @@ -464,6 +474,7 @@ address=/smirnoff.com/
address=/socialblade.com/
address=/sonobi.com/
address=/specificclick.net/
address=/speedomizer.com/
address=/spinbox.net/
address=/sprint.com/
address=/squarespce.com/
Expand Down Expand Up @@ -492,8 +503,10 @@ address=/surveysite.net/
address=/svtrd.com/
address=/switchadhub.com/
address=/swrve.com/
address=/t.paypal.com/
address=/taboola.com/
address=/tacoda.net/
address=/tagular.com/
address=/tapad.com/
address=/tapatalk-cdn.org/
address=/tapjoy.com/
Expand Down Expand Up @@ -537,6 +550,7 @@ address=/uservoice.com/
address=/userzoom.com/
address=/vdtrack.com/
address=/vectorstock.com/
address=/verticlick.com/
address=/viglink.com/
address=/vilynx.com/
address=/vindicosuite.com/
Expand All @@ -555,7 +569,9 @@ address=/webtrendslive.com/
address=/webtype.com/
address=/whisk.com/
address=/wishabi.com/
address=/wistia.net/
address=/wootric.com/
address=/wpdigital.net/
address=/wsod.net/
address=/wzrkt.com/
address=/xclick.net/
Expand Down
12 changes: 12 additions & 0 deletions domains/facebook
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
address=/atdmt.com/
address=/cdninstagram.com/
address=/facebook-studio.com/
address=/facebook-web-clients.appspot.com/
address=/facebook.be/
address=/facebook.com.edgekey.net/
address=/facebook.com.edgesuite.net/
address=/facebook.com/
address=/facebook.de/
address=/facebook.dk/
address=/facebook.es/
address=/facebook.fr/
address=/facebook.is/
address=/facebook.jp/
address=/facebook.mx/
address=/facebook.net.edgekey.net/
address=/facebook.net/
address=/facebook.nl/
address=/facebook.no/
address=/facebook.se/
address=/facebook.us/
address=/faceobok.com/
address=/fb.com/
address=/fb.de/
Expand All @@ -22,6 +33,7 @@ address=/fbexternal-a.akamaihd.net/
address=/fbsbx.com/
address=/fbstatic-a.akamaihd.net/
address=/fburl.com/
address=/freebasics.com/
address=/freebasics.org/
address=/instagram.com/
address=/instagram.net/
Expand Down
3 changes: 3 additions & 0 deletions domains/google
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
#address=/ytimg.com/
address=/2mdn.net/
address=/adservice.google.com/
address=/crashlytics.com/
address=/csi.gstatic.com/
address=/doubleclick.net/
address=/google-analytics.com/
Expand All @@ -106,3 +107,5 @@ address=/gstaticadssl.l.google.com/
address=/id.google.com/
address=/imasdk.googleapis.com/
address=/metric.gstatic.com/
address=/plus.google.com/
address=/plusone.google.com/
13 changes: 12 additions & 1 deletion domains/mozilla
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
#address=/firefox.com/
address=/accounts.firefox.com/
address=/blocked.cdn.mozilla.net/
address=/blocklist.addons.mozilla.org/
address=/crash-stats.mozilla.com/
address=/detectportal.firefox.com/
address=/dynamicua.cdn.mozilla.net/
address=/experiments.mozilla.org/
address=/fhr.cdn.mozilla.net/
address=/firefox.com/
address=/getpocket.com/
address=/getpocket-cdn.prod.mozaws.net/
address=/getpocket.cdn.mozilla.net/
address=/incoming.telemetry.mozilla.org/
address=/input.mozilla.org/
address=/install.mozilla.org/
address=/mozorg.cdn.mozilla.net/
address=/mz.la/
address=/services.mozilla.com/
address=/snippets.cdn.mozilla.net/
address=/stage.mozaws.net/
address=/sumo.mozilla.net/
address=/tbpl.mozilla.org/
address=/telemetry-experiment.cdn.mozilla.net/
address=/telemetry.mozilla.org/
address=/tracking-protection.cdn.mozilla.net/
address=/versioncheck-bg.addons.mozilla.org/
1 change: 1 addition & 0 deletions domains/social
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ address=/dominos.com/
address=/ea.com/
address=/eidos.com/
address=/events.redditmedia.com/
address=/pixel.redditmedia.com/
address=/gameplayapi.intel.com/
address=/getpocket.com/
address=/getsocial.io/
Expand Down
41 changes: 22 additions & 19 deletions firefox.user.js
Original file line number Diff line number Diff line change
@@ -1,30 +1,39 @@
// https://github.com/drduh/config/blob/master/user.js
// https://github.com/ghacksuserjs/ghacks-user.js
// https://github.com/pyllyukko/user.js
//user_pref("browser.cache.disk.capacity", 0); // disable disk cache
//user_pref("browser.cache.disk.enable", false); // disable disk cache
//user_pref("browser.newtab.url", "about:blank"); // blank new tab page
//user_pref("browser.newtabpage.enabled", false); // blank new tab page
//user_pref("browser.privatebrowsing.autostart", true); // private browsing mode only; may break sites
//user_pref("browser.safebrowsing.malware.enabled", false); // disable safebrowsing
//user_pref("browser.safebrowsing.phishing.enabled", false); // disable safebrowsing
//user_pref("browser.startup.homepage", "file:///home/web/index.html"); // custom start-up page
//user_pref("browser.startup.page", 1); // 0: blank; 1: home; 2: last visited; 3: resume last
//user_pref("browser.uidensity", 1); // reduce UI empty space
//user_pref("browser.urlbar.suggest.bookmark", false);
//user_pref("browser.urlbar.suggest.bookmark", false); // do not suggest bookmarks
//user_pref("browser.urlbar.suggest.history", false); // do not suggest history
//user_pref("dom.enable_performance", false); // disable DOM timing; may break sites
//user_pref("dom.indexedDB.enabled", false); // disable IndexedDB; may break sites/extension storage (uBlock)
//user_pref("dom.serviceWorkers.enabled", false); // disable service workers; may break sites
//user_pref("dom.storage.enabled", false); // disable DOM storage; may break sites
//user_pref("dom.storageManager.enabled", false); // disable storage; may break sites
//user_pref("gfx.xrender.enabled", true); // may improve performance
//user_pref("javascript.options.baselinejit", false); // disable JS JIT; may break sites
//user_pref("javascript.options.ion", false); // disable JS Ion; may break sites
//user_pref("layers.acceleration.disabled", true); // disable hardware acceleration; performance hit
//user_pref("layers.acceleration.force-enabled", true); // may improve performance on *nix
//user_pref("layout.css.devPixelsPerPx", "1.5"); // increase UI size
//user_pref("media.media-capabilities.enabled", false); // disable media capabilities; may break sites
//user_pref("network.cookie.cookieBehavior", 1); // block third-party cookies
//user_pref("network.cookie.lifetimePolicy", 2); // expire cookies on browser close
//user_pref("network.http.referer.XOriginTrimmingPolicy", 2); // limit Cross Origin path; may break sites
//user_pref("network.http.referer.defaultPolicy", 0); // 0: no-ref; 1: same-origin; 2: strict-origin; 3: no-downgrade; may break sites
//user_pref("network.http.referer.defaultPolicy.pbmode", 0);
//user_pref("network.http.referer.trimmingPolicy", 2); // trim Refer to scheme, host, port only; may break sites
//user_pref("network.http.sendRefererHeader", 0); // send Referer; 0: never; 1: clicks; 2: links and images; may break sites
//user_pref("network.proxy.http", "127.0.0.1"); // proxy on localhost
//user_pref("network.proxy.http_port", 5555);
//user_pref("network.proxy.http_port", 5555); // proxy on port 5555
//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", "127.0.0.1");
Expand All @@ -33,12 +42,18 @@
//user_pref("network.proxy.ssl", "127.0.0.1");
//user_pref("network.proxy.ssl_port", 5555);
//user_pref("network.proxy.type", 1);
//user_pref("privacy.clearOnShutdown.cookies", true);
//user_pref("privacy.clearOnShutdown.history", true);
//user_pref("privacy.cpd.cookies", true);
//user_pref("privacy.cpd.history", true);
//user_pref("privacy.donottrackheader.enabled", true); // send DNT HTTP header
//user_pref("privacy.sanitize.sanitizeOnShutdown", true); // clear history on exit
//user_pref("privacy.window.maxInnerHeight", 720);
//user_pref("privacy.window.maxInnerWidth", 1280);
//user_pref("security.OCSP.require", true); // force check certificate revocation
//user_pref("security.dialog_enable_delay", 5000); // ms delay on dialogs
//user_pref("security.ssl3.rsa_aes_128_sha", false); // may break sites
//user_pref("security.ssl3.rsa_aes_256_sha", false); // may break sites
//user_pref("security.ssl3.rsa_aes_128_sha", false); // disable cipher; may break sites
//user_pref("security.ssl3.rsa_aes_256_sha", false); // disable cipher; may break sites
//user_pref("security.tls.version.min", 3); // minimum TLS 1.2; may break sites
//user_pref("security.webauth.u2f", true); // turn on U2F
//user_pref("svg.disabled", true); // disable SVG rendering; may break sites
Expand All @@ -60,8 +75,6 @@ user_pref("breakpad.reportURL", ""); // disable crash reports
user_pref("browser.aboutHomeSnippets.updateUrl", "");
user_pref("browser.bookmarks.max_backups", 0);
user_pref("browser.bookmarks.restore_default_bookmarks", false);
user_pref("browser.cache.disk.capacity", 0); // disable disk cache
user_pref("browser.cache.disk.enable", false);
user_pref("browser.cache.disk.smart_size.enabled", false);
user_pref("browser.cache.disk.smart_size.first_run", false);
user_pref("browser.cache.disk.smart_size.use_old_max", false);
Expand Down Expand Up @@ -170,7 +183,6 @@ user_pref("browser.urlbar.maxHistoricalSearchSuggestions", 0); // disable local
user_pref("browser.urlbar.oneOffSearches", false);
user_pref("browser.urlbar.searchSuggestionsChoice", false);
user_pref("browser.urlbar.speculativeConnect.enabled", false); // disable preloading auto-complete URLs
user_pref("browser.urlbar.suggest.history", false);
user_pref("browser.urlbar.suggest.openpage", false);
user_pref("browser.urlbar.suggest.searches", false);
user_pref("browser.urlbar.trimURLs", false); // disable trim HTTP off of URLs
Expand Down Expand Up @@ -245,10 +257,10 @@ user_pref("experiments.enabled", false);
user_pref("experiments.manifest.uri", "");
user_pref("experiments.supported", false);
user_pref("extensions.autoDisableScopes", 15);
user_pref("extensions.blocklist.enabled", true);
user_pref("extensions.blocklist.enabled", false); // disable extension blacklisting
user_pref("extensions.blocklist.pingCountTotal", 4);
user_pref("extensions.blocklist.pingCountVersion", 0);
user_pref("extensions.blocklist.url", "https://blocklists.settings.services.mozilla.com/v1/blocklist/3/%APP_ID%/%APP_VERSION%/");
user_pref("extensions.blocklist.url", "https://blocklists.settings.services.mozilla.com/v1/blocklist/3/%20/%20/");
user_pref("extensions.enabledScopes", 1); // lock down allowed extension directories
user_pref("extensions.formautofill.addresses.enabled", false); // disable form auto-fill
user_pref("extensions.formautofill.available", "off");
Expand Down Expand Up @@ -343,9 +355,7 @@ user_pref("network.auth.subresource-http-auth-allow", 1); // disable non-secure
user_pref("network.captive-portal-service.enabled", false); // disable captive portal helper
user_pref("network.connectivity-service.enabled", false); // disable network connectivity checks
user_pref("network.connectivity-service.enabled", false); // don't help with captive portals
user_pref("network.cookie.cookieBehavior", 1); // block third-party cookies
user_pref("network.cookie.leave-secure-alone", true); // disable non-secure sites setting secure cookies
user_pref("network.cookie.lifetimePolicy", 2); // expire cookies on browser close
user_pref("network.cookie.thirdparty.nonsecureSessionOnly", true);
user_pref("network.cookie.thirdparty.sessionOnly", true);
user_pref("network.dns.disableIPv6", true); // disable IPv6
Expand Down Expand Up @@ -410,7 +420,6 @@ user_pref("permissions.default.geo", 2);
user_pref("permissions.default.microphone", 2);
user_pref("permissions.manager.defaultsUrl", "");
user_pref("permissions.memory_only", true); // disable storing permission changes
user_pref("places.history.enabled", false);
user_pref("plugin.default.state", 0);
user_pref("plugin.defaultXpi.state", 0);
user_pref("plugin.disable_full_page_plugin_for_types", "application/pdf");
Expand All @@ -423,28 +432,22 @@ user_pref("plugins.click_to_play", true); // require plugin activation
user_pref("pref.browser.homepage.disable_button.current_page", false);
user_pref("pref.privacy.disable_button.cookie_exceptions", false);
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.openWindows", true);
user_pref("privacy.clearOnShutdown.sessions", true);
user_pref("privacy.clearOnShutdown.siteSettings", true);
user_pref("privacy.cpd.cache", true);
user_pref("privacy.cpd.cookies", true);
user_pref("privacy.cpd.downloads", true);
user_pref("privacy.cpd.formdata", true);
user_pref("privacy.cpd.history", true);
user_pref("privacy.cpd.offlineApps", true);
user_pref("privacy.cpd.sessions", true);
user_pref("privacy.donottrackheader.enabled", true); // send DNT HTTP header
user_pref("privacy.firstparty.isolate", true); // isolate cookies to 1P
user_pref("privacy.history.custom", true);
user_pref("privacy.resistFingerprinting", true); // enable anti-fingerprinting features
user_pref("privacy.resistFingerprinting.block_mozAddonManager", true); // disable mozAddonManager
user_pref("privacy.sanitize.pending", "[]");
user_pref("privacy.sanitize.sanitizeOnShutdown", true); // clear history on exit
user_pref("privacy.sanitize.timeSpan", 0); // set default clear history range to all time
user_pref("privacy.trackingprotection.enabled", true); // https://wiki.mozilla.org/Security/Tracking_protection
user_pref("privacy.trackingprotection.introCount", 20);
Expand Down Expand Up @@ -567,7 +570,7 @@ user_pref("ui.use_standins_for_native_colors", true); // disable exposing syste
user_pref("webchannel.allowObject.urlWhitelist", "");
user_pref("webgl.disable-extensions", true); // disable Web Graphics Library
user_pref("webgl.disable-fail-if-major-performance-caveat", true);
user_pref("webgl.disabled", true);
user_pref("webgl.disabled", true); // disable WebGL
user_pref("webgl.dxgl.enabled", false);
user_pref("webgl.enable-debug-renderer-info", false);
user_pref("webgl.enable-webgl2", false);
Expand Down
Loading

0 comments on commit 1b6dfcb

Please sign in to comment.