From: Daniel Carl <danielcarl@gmx.de>
Date: Wed, 19 Oct 2016 21:14:52 +0000 (+0200)
Subject: Update usage agent string to current webkit version.
X-Git-Url: https://git.owens.tech/assets/wrapped.html/assets/wrapped.html/git?a=commitdiff_plain;h=f1e576ef069ddcccf4913d68b7ca390688d6a91d;p=vimb.git

Update usage agent string to current webkit version.
---

diff --git a/src/setting.c b/src/setting.c
index 71eddad..4a6a41b 100644
--- a/src/setting.c
+++ b/src/setting.c
@@ -74,7 +74,7 @@ void setting_init(Client *c)
      * Separate the setting definition from the data.
      * Don't set the webkit settings if they are the default on startup. */
     c->config.settings = g_hash_table_new_full(g_str_hash, g_str_equal, NULL, (GDestroyNotify)setting_free);
-    setting_add(c, "useragent", TYPE_CHAR, &"Mozilla/5.0 (X11; Linux i686) AppleWebKit/538.15+ (KHTML, like Gecko) " PROJECT "/" VERSION " Version/8.0 Safari/538.15", webkit, 0, "user-agent");
+    setting_add(c, "useragent", TYPE_CHAR, &"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/603.1 (KHTML, like Gecko) " PROJECT "/" VERSION " Version/10.0 Safari/603.1", webkit, 0, "user-agent");
     /* TODO use the real names for webkit settings */
     i = 14;
     setting_add(c, "fontsize", TYPE_INTEGER, &i, webkit, 0, "default-font-size");