summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorChristian Dywan <christian@twotoasts.de>2018-09-10 14:53:29 +0200
committerChristian Dywan <christian@twotoasts.de>2018-09-10 14:53:29 +0200
commitf118ab6d7f15a321a1ac821287f7614bf31bbf3b (patch)
tree40deba99ee03f40e15d47013ff2d92abb9b3f678 /core
parent2e94e9866b42e2ccf7cd0fa7677b7ecb11de151f (diff)
downloadmidori-git-generic-user-agent.tar.gz
Configure exact user agent to reduce fingerprintinggeneric-user-agent
Diffstat (limited to 'core')
-rw-r--r--core/tab.vala4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/tab.vala b/core/tab.vala
index e920d864..5bb4e492 100644
--- a/core/tab.vala
+++ b/core/tab.vala
@@ -56,9 +56,7 @@ namespace Midori {
Object (related_view: related, web_context: web_context, visible: true);
var settings = get_settings ();
- settings.set_user_agent_with_application_details (
- Config.PROJECT_NAME, Config.CORE_VERSION);
- settings.user_agent = settings.user_agent.replace ("Version/11.0", "Chrome/55.0.2876.0");
+ settings.user_agent = Config.CORE_USER_AGENT;
settings.enable_developer_extras = true;
if (pinned) {