about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJosh Rickmar <jrick@devio.us>2012-07-25 17:13:28 -0400
committerJosh Rickmar <jrick@devio.us>2012-07-25 17:13:28 -0400
commit71f1e5a5ebec9890b3728d0802a0ec2a0628b1c7 (patch)
treeeade776fb7cd2619f9245fa97fab4c489157cd63
parent0f9deb0a3dcf13486bde70ab797efe80c3653361 (diff)
downloadxombrero-71f1e5a5ebec9890b3728d0802a0ec2a0628b1c7.tar.gz
Enable DNT by default in whitelist mode.
-rw-r--r--settings.c3
-rw-r--r--xombrero.conf3
2 files changed, 5 insertions, 1 deletions
diff --git a/settings.c b/settings.c
index 1617284..053d145 100644
--- a/settings.c
+++ b/settings.c
@@ -748,6 +748,7 @@ set_browser_mode(struct settings *s, char *val)
 		referer_mode = XT_REFERER_SAME_DOMAIN;
 		allow_insecure_content = 0;
 		allow_insecure_scripts = 0;
+		do_not_track = 1;
 	} else if (!strcmp(val, "normal")) {
 		browser_mode = XT_BM_NORMAL;
 		allow_volatile_cookies = 0;
@@ -765,6 +766,7 @@ set_browser_mode(struct settings *s, char *val)
 		referer_mode = XT_REFERER_ALWAYS;
 		allow_insecure_content = 1;
 		allow_insecure_scripts = 1;
+		do_not_track = 0;
 	} else if (!strcmp(val, "kiosk")) {
 		browser_mode = XT_BM_KIOSK;
 		allow_volatile_cookies = 0;
@@ -782,6 +784,7 @@ set_browser_mode(struct settings *s, char *val)
 		referer_mode = XT_REFERER_ALWAYS;
 		allow_insecure_content = 1;
 		allow_insecure_scripts = 1;
+		do_not_track = 0;
 		show_tabs = 0;
 		tabless = 1;
 	} else
diff --git a/xombrero.conf b/xombrero.conf
index 6da6621..b3643c4 100644
--- a/xombrero.conf
+++ b/xombrero.conf
@@ -61,7 +61,6 @@
 # enable_favicon_tabs	= 1
 # referer		= always
 # warn_cert_changes	= 1
-# do_not_track		= 1
 
 # See http://www.xroxy.com/proxylist.php for a good list of open
 # proxies.
@@ -247,6 +246,7 @@
 # enable_plugin_whitelist	= 0
 # allow_insecure_content	= 1
 # allow_insecure_scripts	= 1
+# do_not_track			= 0
 
 # The settings for "browser_mode = whitelist" are as follows:
 
@@ -264,6 +264,7 @@
 # enable_plugin_whitelist	= 1
 # allow_insecure_content	= 0
 # allow_insecure_scripts	= 0
+# do_not_track			= 1
 
 
 ##