surf

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

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

Allow applet to be toggled.

Diffstat:
config.def.h | 1+
surf.c | 4+++-
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/config.def.h b/config.def.h @@ -39,6 +39,7 @@ static Bool enableinspector = TRUE; static Bool enablestyle = TRUE; static Bool enablehtml5db = TRUE; static Bool enablehtml5local = TRUE; +static Bool enablejava = FALSE; /* Toggle if <applet> is allowed. */ static Bool loadimages = TRUE; static Bool hidebackground = FALSE; static Bool allowgeolocation = TRUE; diff --git a/surf.c b/surf.c @@ -1101,7 +1101,9 @@ newclient(void) g_object_set(G_OBJECT(settings), "enable-html5-database", enablehtml5db, NULL); g_object_set(G_OBJECT(settings), - "enable-html5-local-storage", enablehtml5db, NULL); + "enable-html5-local-storage", enablehtml5local, NULL); + g_object_set(G_OBJECT(settings), + "-storage", enablejava, NULL); if (enablestyle) setstyle(c, getstyle("about:blank"));