iAllow HTML5 features to be toggled. - 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 12fd14287ccb5ba4e0acf52ce43390bc9a3e941c /scm/surf//commit/12fd14287ccb5ba4e0acf52ce43390bc9a3e941c.gph gopher.r-36.net 70 1parent 6244dc8e78b1635feb32ea54dcf654e36be6d0a5 /scm/surf//commit/6244dc8e78b1635feb32ea54dcf654e36be6d0a5.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: Fri, 21 Apr 2017 21:01:24 +0200 Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iAllow HTML5 features to be toggled. Err gopher.r-36.net 70 i Err gopher.r-36.net 70 iDiffstat: Err gopher.r-36.net 70 i config.def.h | 2 ++ Err gopher.r-36.net 70 i surf.c | 4 ++++ Err gopher.r-36.net 70 i Err gopher.r-36.net 70 i2 files changed, 6 insertions(+), 0 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@@ -37,6 +37,8 @@ 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 static Bool enablestyle = TRUE; Err gopher.r-36.net 70 i+static Bool enablehtml5db = TRUE; Err gopher.r-36.net 70 i+static Bool enablehtml5local = TRUE; Err gopher.r-36.net 70 i 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 1diff --git a/surf.c b/surf.c /scm/surf//file/surf.c.gph gopher.r-36.net 70 i@@ -1098,6 +1098,10 @@ newclient(void) Err gopher.r-36.net 70 i g_object_set(G_OBJECT(settings), Err gopher.r-36.net 70 i "enable-display-of-insecure-content", insecureresources, Err gopher.r-36.net 70 i NULL); Err gopher.r-36.net 70 i+ g_object_set(G_OBJECT(settings), Err gopher.r-36.net 70 i+ "enable-html5-database", enablehtml5db, NULL); Err gopher.r-36.net 70 i+ g_object_set(G_OBJECT(settings), Err gopher.r-36.net 70 i+ "enable-html5-local-storage", enablehtml5db, NULL); Err gopher.r-36.net 70 i if (enablestyle) Err gopher.r-36.net 70 i setstyle(c, getstyle("about:blank")); Err gopher.r-36.net 70 i Err gopher.r-36.net 70 .