summaryrefslogtreecommitdiff
path: root/src/urlbar
diff options
context:
space:
mode:
Diffstat (limited to 'src/urlbar')
-rw-r--r--src/urlbar/urlsuggester.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/urlbar/urlsuggester.cpp b/src/urlbar/urlsuggester.cpp
index d6aaaf52..0a775d85 100644
--- a/src/urlbar/urlsuggester.cpp
+++ b/src/urlbar/urlsuggester.cpp
@@ -78,7 +78,8 @@ UrlSuggester::UrlSuggester(const QString &typedUrl)
if (_browseRegexp.isEmpty())
{
QString protocol = QString("^(%1)").arg(KProtocolInfo::protocols().join("|"));
-
+ protocol += QL1S("|javascript");
+
QString localhost = QL1S("^localhost");
QString local = QL1S("^/");