From 611f8ff8c73531fd8a0dfce2e8580ff527c4d2d4 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Mon, 29 Jul 2013 15:43:41 +0200 Subject: [PATCH] Don't put 'about:*' uri into history. --- src/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 10f0165..6af9d72 100644 --- a/src/main.c +++ b/src/main.c @@ -471,8 +471,9 @@ static void webview_load_status_cb(WebKitWebView *view, GParamSpec *pspec) vb_update_statusbar(); dom_check_auto_insert(view); - - history_add(HISTORY_URL, uri, webkit_web_view_get_title(view)); + if (strncmp(uri, "about:", 6)) { + history_add(HISTORY_URL, uri, webkit_web_view_get_title(view)); + } break; case WEBKIT_LOAD_FAILED: -- 2.20.1