Use firefox User-Agent: by default - pkgsrc-localpatches - leot's pkgsrc LOCALPATCHES
(HTM) hg clone https://bitbucket.org/iamleot/pkgsrc-localpatches
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) changeset 605c0fa14090d61257c1f0b9a2019a2b0887d531
(DIR) parent 2348d58bb5234ea19123422947fafef4147c568b
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Wed, 24 Apr 2019 21:27:33
Use firefox User-Agent: by default
Diffstat:
wip/surf-git/patch-config.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff -r 2348d58bb523 -r 605c0fa14090 wip/surf-git/patch-config.h
--- a/wip/surf-git/patch-config.h Sun Apr 14 20:09:14 2019 +0200
+++ b/wip/surf-git/patch-config.h Wed Apr 24 21:27:33 2019 +0200
@@ -2,8 +2,8 @@
+++ config.h 2018-10-09 23:38:25.662442657 +0200
@@ -0,0 +1,193 @@
+/* modifier 0 means no modifier */
-+static int surfuseragent = 1; /* Append Surf version to default WebKit user agent */
-+static char *fulluseragent = ""; /* Or override the whole user agent string */
++static int surfuseragent = 0; /* Append Surf version to default WebKit user agent */
++static char *fulluseragent = "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"; /* Or override the whole user agent string */
+static char *scriptfile = "~/.surf/script.js";
+static char *styledir = "~/.surf/styles/";
+static char *certdir = "~/.surf/certificates/";