From: Christian Dywan Date: Sun, 6 Jun 2010 21:29:08 +0000 (+0200) Subject: Assume 'http://' if adding address without scheme to speed dial X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31885fe2be99fbe7acd78f658e01db8d98b17b16;p=midori Assume 'http://' if adding address without scheme to speed dial --- diff --git a/data/speeddial-head.html b/data/speeddial-head.html index 0f5b51c5..edf89118 100644 --- a/data/speeddial-head.html +++ b/data/speeddial-head.html @@ -210,6 +210,8 @@ var url = prompt ("{enter_shortcut_address}", "http://"); if (!url) return false; + if (url.indexOf ("://") == -1) + url = "http://" + url; var name = prompt ("{enter_shortcut_name}", ""); if (!name) name = "";