diff options
-rw-r--r-- | surf.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -575,6 +575,7 @@ loaduri(Client *c, const Arg *a) if (g_str_has_prefix(uri, "http://") || g_str_has_prefix(uri, "https://") || g_str_has_prefix(uri, "file://") || + g_str_has_prefix(uri, "webkit://") || g_str_has_prefix(uri, "about:")) { url = g_strdup(uri); } else { @@ -1732,6 +1733,7 @@ decideresource(WebKitPolicyDecision *d, Client *c) && !g_str_has_prefix(uri, "https://") && !g_str_has_prefix(uri, "about:") && !g_str_has_prefix(uri, "file://") + && !g_str_has_prefix(uri, "webkit://") && !g_str_has_prefix(uri, "data:") && !g_str_has_prefix(uri, "blob:") && strlen(uri) > 0) { |