surf

Surf web browser.
git clone git://r-36.net/surf
Log | Files | Refs | README | LICENSE

commit 12fd14287ccb5ba4e0acf52ce43390bc9a3e941c
parent 6244dc8e78b1635feb32ea54dcf654e36be6d0a5
Author: Christoph Lohmann <20h@r-36.net>
Date:   Fri, 21 Apr 2017 21:01:24 +0200

Allow HTML5 features to be toggled.

Diffstat:
config.def.h | 2++
surf.c | 4++++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -37,6 +37,8 @@ static Bool enableplugins = TRUE; static Bool enablescripts = TRUE; static Bool enableinspector = TRUE; static Bool enablestyle = TRUE; +static Bool enablehtml5db = TRUE; +static Bool enablehtml5local = TRUE; static Bool loadimages = TRUE; static Bool hidebackground = FALSE; static Bool allowgeolocation = TRUE; diff --git a/surf.c b/surf.c @@ -1098,6 +1098,10 @@ newclient(void) g_object_set(G_OBJECT(settings), "enable-display-of-insecure-content", insecureresources, NULL); + g_object_set(G_OBJECT(settings), + "enable-html5-database", enablehtml5db, NULL); + g_object_set(G_OBJECT(settings), + "enable-html5-local-storage", enablehtml5db, NULL); if (enablestyle) setstyle(c, getstyle("about:blank"));