iReshuffle config.def.h. - surf - Surf web browser. Err gopher.r-36.net 70 i Err gopher.r-36.net 70 1Log /scm/surf//log.gph gopher.r-36.net 70 1Files /scm/surf//files.gph gopher.r-36.net 70 1Refs /scm/surf//refs.gph gopher.r-36.net 70 1README /scm/surf//file/README.gph gopher.r-36.net 70 1LICENSE /scm/surf//file/LICENSE.gph gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1commit 4d5a7f07ccc453c8e3a2f83b8015ebe34282f64d /scm/surf//commit/4d5a7f07ccc453c8e3a2f83b8015ebe34282f64d.gph gopher.r-36.net 70 1parent cef886fc3a6bb4a22fd8109c85d69ced25df9283 /scm/surf//commit/cef886fc3a6bb4a22fd8109c85d69ced25df9283.gph gopher.r-36.net 70 hAuthor: Christoph Lohmann <20h@r-36.net> URL:mailto:20h@r-36.net gopher.r-36.net 70 iDate: Thu, 20 Apr 2017 22:43:28 +0200 Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iReshuffle config.def.h. Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i* User-Agent is now » «. This has the lowest fingerprint value. Err gopher.r-36.net 70 i* Accept headers are now adapted to a low fingerprint value. Err gopher.r-36.net 70 i* diskcache is a soup feature. Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iDiffstat: Err gopher.r-36.net 70 i config.def.h | 44 +++++++++++++++++++++++++------ Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i1 file changed, 36 insertions(+), 8 deletions(-) Err gopher.r-36.net 70 i--- Err gopher.r-36.net 70 1diff --git a/config.def.h b/config.def.h /scm/surf//file/config.def.h.gph gopher.r-36.net 70 i@@ -1,12 +1,12 @@ Err gopher.r-36.net 70 i-/* modifier 0 means no modifier */ Err gopher.r-36.net 70 i-static char *useragent = "Mozilla/5.0 (X11; U; Unix; en-US) " Err gopher.r-36.net 70 i- "AppleWebKit/537.15 (KHTML, like Gecko) Chrome/24.0.1295.0 " Err gopher.r-36.net 70 i- "Safari/537.15 Surf/"VERSION; Err gopher.r-36.net 70 i+/* Welcome to Surf! */ Err gopher.r-36.net 70 i+ Err gopher.r-36.net 70 i+/* Path configuration */ Err gopher.r-36.net 70 i static char *scriptfile = "~/.surf/script.js"; Err gopher.r-36.net 70 i static char *styledir = "~/.surf/styles/"; Err gopher.r-36.net 70 i static char *cachefolder = "~/.surf/cache/"; Err gopher.r-36.net 70 i static char *dbfolder = "~/.surf/databases/"; Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i+/* visual options */ Err gopher.r-36.net 70 i static Bool kioskmode = FALSE; /* Ignore shortcuts */ Err gopher.r-36.net 70 i static Bool showindicators = TRUE; /* Show indicators in window title */ Err gopher.r-36.net 70 i static Bool zoomto96dpi = TRUE; /* Zoom pages to always emulate 96dpi */ Err gopher.r-36.net 70 i@@ -23,12 +23,12 @@ static char *cafile = "/etc/ssl/certs/ca-certificates.crt"; Err gopher.r-36.net 70 i static Bool strictssl = TRUE; /* strict means if untrusted SSL/TLS Err gopher.r-36.net 70 i * connections should be refused. */ Err gopher.r-36.net 70 i static time_t sessiontime = 3600; Err gopher.r-36.net 70 i+static Bool enablediskcache = TRUE; Err gopher.r-36.net 70 i+static int diskcachebytes = 5 * 1024 * 1024; Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i /* Webkit default features */ Err gopher.r-36.net 70 i static Bool enablescrollbars = TRUE; Err gopher.r-36.net 70 i static Bool enablespatialbrowsing = TRUE; Err gopher.r-36.net 70 i-static Bool enablediskcache = TRUE; Err gopher.r-36.net 70 i-static int diskcachebytes = 5 * 1024 * 1024; Err gopher.r-36.net 70 i static Bool enableplugins = TRUE; Err gopher.r-36.net 70 i static Bool enablescripts = TRUE; Err gopher.r-36.net 70 i static Bool enableinspector = TRUE; Err gopher.r-36.net 70 i@@ -37,10 +37,38 @@ static Bool loadimages = TRUE; Err gopher.r-36.net 70 i static Bool hidebackground = FALSE; Err gopher.r-36.net 70 i static Bool allowgeolocation = TRUE; Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i+/* Err gopher.r-36.net 70 i+ * Now on TV: »What is the best User-Agent for me?« Err gopher.r-36.net 70 i+ * Result: None. Err gopher.r-36.net 70 i+ */ Err gopher.r-36.net 70 i+char *useragent = NULL; Err gopher.r-36.net 70 i+/* Err gopher.r-36.net 70 i+ * These are for the case some incompetent »web programmer« decided for you Err gopher.r-36.net 70 i+ * what is best for you. Err gopher.r-36.net 70 i+ */ Err gopher.r-36.net 70 i+/* Err gopher.r-36.net 70 i+static char *useragent = "Mozilla/5.0 (Android 4.4; Mobile; rv:41.0) " Err gopher.r-36.net 70 i+ "Gecko/41.0 Firefox/41.0"; Err gopher.r-36.net 70 i+static char *useragent = "Mozilla/5.0 (X11; Linux x86_64) " Err gopher.r-36.net 70 i+ "AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.19 " Err gopher.r-36.net 70 i+ "Safari/537.36"; Err gopher.r-36.net 70 i+static char *useragent = "Mozilla/5.0 (X11; U; Unix; en-US) " Err gopher.r-36.net 70 i+ "AppleWebKit/537.15 (KHTML, like Gecko) Chrome/24.0.1295.0 " Err gopher.r-36.net 70 i+ "Safari/537.15 Surf/"VERSION; Err gopher.r-36.net 70 i+*/ Err gopher.r-36.net 70 i+ Err gopher.r-36.net 70 i /* custom http headers */ Err gopher.r-36.net 70 i static HttpHeader customheaders[] = { Err gopher.r-36.net 70 i- /* key value */ Err gopher.r-36.net 70 i- { "DNT", "1" }, Err gopher.r-36.net 70 i+ /* key, value */ Err gopher.r-36.net 70 i+ /* Do-Not-Track. Haha! */ Err gopher.r-36.net 70 i+ { "DNT", "1" }, Err gopher.r-36.net 70 i+ /* Best User-Agent ever. */ Err gopher.r-36.net 70 i+ { "User-Agent", " "}, Err gopher.r-36.net 70 i+ /* We are a damn US imperialist. Change to cn, once Chinese communism Err gopher.r-36.net 70 i+ * has won.*/ Err gopher.r-36.net 70 i+ { "Accept-Language", "en-US,en;q=0.5" }, Err gopher.r-36.net 70 i+ { "Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" }, Err gopher.r-36.net 70 i+ { "Accept-Encoding", "gzip, deflate" }, Err gopher.r-36.net 70 i }; Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i #define PROMPT_GOTO "Go To" Err gopher.r-36.net 70 .