diff options
author | Peter Hofmann <scm@uninformativ.de> | 2020-03-04 16:17:39 +0100 |
---|---|---|
committer | Peter Hofmann <scm@uninformativ.de> | 2020-03-04 16:17:39 +0100 |
commit | c26e3a3cc4c2f77e651a1939f126a7d524ae6733 (patch) | |
tree | 5961d68e0f21ad881b3b7dccab636737b69ba160 | |
parent | 5e36a19dee3d326a4814f9d6ff5322d7cc5d3743 (diff) | |
download | lariza-c26e3a3cc4c2f77e651a1939f126a7d524ae6733.tar.gz |
Enable WebKit's developer extras
-rw-r--r-- | CHANGES | 4 | ||||
-rw-r--r-- | browser.c | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -1,6 +1,10 @@ Release history for lariza next + [Changed] + - "enable-developer-extras" is now always set to "TRUE". This enables + the Web Inspector. + [Added] - User-supplied JavaScript files can be put into ~/.config/lariza/scripts. @@ -216,6 +216,8 @@ client_new(const gchar *uri, WebKitWebView *related_wv, gboolean show) if (enable_webgl) webkit_settings_set_enable_webgl(webkit_web_view_get_settings(WEBKIT_WEB_VIEW(c->web_view)), TRUE); + webkit_settings_set_enable_developer_extras(webkit_web_view_get_settings(WEBKIT_WEB_VIEW(c->web_view)), TRUE); + c->location = gtk_entry_new(); g_signal_connect(G_OBJECT(c->location), "key-press-event", G_CALLBACK(key_location), c); |