diff --git a/surf.c b/surf.c index f8c8dec..2780072 100644 --- a/surf.c +++ b/surf.c @@ -573,6 +573,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 { @@ -1739,6 +1740,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) {