static int cooperative_pipe_fp = 0;
static gchar *download_dir = "/var/tmp";
static gboolean enable_webgl = FALSE;
+static gboolean enable_console_to_stdout = FALSE;
static Window embed = 0;
static gchar *fifo_suffix = "main";
static gdouble global_zoom = 1.0;
g_object_set(G_OBJECT(webkit_web_view_get_settings(WEBKIT_WEB_VIEW(c->web_view))),
"user-agent", user_agent, NULL);
+ if (enable_console_to_stdout)
+ webkit_settings_set_enable_write_console_messages_to_stdout(webkit_web_view_get_settings(WEBKIT_WEB_VIEW(c->web_view)), TRUE);
+
if (enable_webgl)
webkit_settings_set_enable_webgl(webkit_web_view_get_settings(WEBKIT_WEB_VIEW(c->web_view)), TRUE);
if (e != NULL)
download_dir = g_strdup(e);
+ e = g_getenv(__NAME_UPPERCASE__"_ENABLE_CONSOLE_TO_STDOUT");
+ if (e != NULL)
+ enable_console_to_stdout = TRUE;
+
e = g_getenv(__NAME_UPPERCASE__"_ENABLE_EXPERIMENTAL_WEBGL");
if (e != NULL)
enable_webgl = TRUE;
This variable defaults to \fB/var/tmp\fP.
.TP
+\fBLARIZA_ENABLE_CONSOLE_TO_STDOUT\fP
+Enable writing WebKit console messages to stdout.
+.TP
\fBLARIZA_ENABLE_EXPERIMENTAL_WEBGL\fP
Enable WebGL support in WebKit if this variable is set. Note that this
is an \fBEXPERIMENTAL\fP feature. This setting could vanish from