diff options
author | Daniel Carl <danielcarl@gmx.de> | 2013-07-29 15:43:41 +0200 |
---|---|---|
committer | Daniel Carl <danielcarl@gmx.de> | 2013-07-29 15:43:41 +0200 |
commit | 611f8ff8c73531fd8a0dfce2e8580ff527c4d2d4 (patch) | |
tree | 74c4ba57a23c65ea4032d643b420ebe0d5db1da2 | |
parent | b1fa08da897a8f98609098a8612354a11d07b099 (diff) |
Don't put 'about:*' uri into history.
-rw-r--r-- | src/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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: |