From 4c41d363b761999a8af864b4e20218f0625d940f Mon Sep 17 00:00:00 2001 From: Quentin Rameau Date: Tue, 5 Jul 2016 17:26:54 +0200 Subject: Add a few configuration options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit “enable-accelerated-2d-canvas” “media-playback-requires-user-gesture” “enable-site-specific-quirks” Lookup those at https://webkitgtk.org/reference/webkit2gtk/stable/WebKitSettings.html --- config.def.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 23fd05a..6d3135e 100644 --- a/config.def.h +++ b/config.def.h @@ -8,6 +8,7 @@ static char *cookiefile = "~/.surf/cookies.txt"; /* Webkit default features */ static Parameter defconfig[ParameterLast] = { + SETB(AcceleratedCanvas, 1), SETB(CaretBrowsing, 0), SETV(CookiePolicies, "@Aa"), SETB(DiskCache, 1), @@ -20,11 +21,13 @@ static Parameter defconfig[ParameterLast] = { SETB(JavaScript, 1), SETB(KioskMode, 0), SETB(LoadImages, 1), + SETB(MediaManualPlay, 0), SETB(Plugins, 1), SETV(PreferredLanguages, ((char *[]){ NULL })), SETB(RunInFullscreen, 0), SETB(ScrollBars, 1), SETB(ShowIndicators, 1), + SETB(SiteQuirks, 1), SETB(SpellChecking, 0), SETV(SpellLanguages, ((char *[]){ "en_US", NULL })), SETB(StrictSSL, 0), -- cgit v1.2.3