summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2016-07-05 17:26:54 +0200
committerQuentin Rameau <quinq@fifth.space>2016-07-05 17:32:44 +0200
commit4c41d363b761999a8af864b4e20218f0625d940f (patch)
treeb4fb0bc9f3437b55c781dada2d6461ca01364501 /config.def.h
parent5a02d3e500c7b8d22f00a214eb5a4e7244e4c6f5 (diff)
downloadsurf-4c41d363b761999a8af864b4e20218f0625d940f.tar.gz
surf-4c41d363b761999a8af864b4e20218f0625d940f.tar.bz2
surf-4c41d363b761999a8af864b4e20218f0625d940f.zip
Add a few configuration options
“enable-accelerated-2d-canvas” “media-playback-requires-user-gesture” “enable-site-specific-quirks” Lookup those at https://webkitgtk.org/reference/webkit2gtk/stable/WebKitSettings.html
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h3
1 files changed, 3 insertions, 0 deletions
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),