X-Git-Url: https://git.danieliu.xyz/?p=surf.git;a=blobdiff_plain;f=config.def.h;h=0b45cd672a30a80ca70b0c9234690e294dd6adf5;hp=eff9d43c78f7c399c2709cee75e0755184f746c8;hb=2223417c91569f8314205d8f34c3cdf4d96d6e1a;hpb=47b145f2ec79ce79172bcd4fd36149c34d9085df diff --git a/config.def.h b/config.def.h index eff9d43..0b45cd6 100644 --- a/config.def.h +++ b/config.def.h @@ -10,16 +10,21 @@ static char *cookiefile = "~/.surf/cookies.txt"; /* Webkit default features */ static Parameter defconfig[ParameterLast] = { SETB(AcceleratedCanvas, 1), + SETB(AccessMicrophone, 0), + SETB(AccessWebcam, 0), SETB(Certificate, 0), SETB(CaretBrowsing, 0), SETV(CookiePolicies, "@Aa"), + SETV(DefaultCharset, "UTF-8"), SETB(DiskCache, 1), SETB(DNSPrefetch, 0), + SETB(FileURLsCrossAccess,0), SETI(FontSize, 12), SETB(FrameFlattening, 0), SETB(Geolocation, 0), SETB(HideBackground, 0), SETB(Inspector, 0), + SETB(Java, 1), SETB(JavaScript, 1), SETB(KioskMode, 0), SETB(LoadImages, 1), @@ -30,6 +35,7 @@ static Parameter defconfig[ParameterLast] = { SETB(ScrollBars, 1), SETB(ShowIndicators, 1), SETB(SiteQuirks, 1), + SETB(SmoothScrolling, 0), SETB(SpellChecking, 0), SETV(SpellLanguages, ((char *[]){ "en_US", NULL })), SETB(StrictTLS, 1), @@ -50,7 +56,7 @@ static int winsize[] = { 800, 600 }; static WebKitFindOptions findopts = WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE | WEBKIT_FIND_OPTIONS_WRAP_AROUND; -#define PROMPT_GO "URL:" +#define PROMPT_GO "Go:" #define PROMPT_FIND "Find:" /* SETPROP(readprop, setprop, prompt)*/