summaryrefslogtreecommitdiff
path: root/src/urlbar
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-06-06 17:22:58 +0200
committerAndrea Diamantini <adjam7@gmail.com>2013-06-06 17:22:58 +0200
commit0938ae36f96e5240e3cc72ba1a288b8001150412 (patch)
treeed18f007e27e6dd5d288988dc3ed2a82979b65c3 /src/urlbar
parentDon't Save Sessions When Closing Tabs from Logout (diff)
downloadrekonq-0938ae36f96e5240e3cc72ba1a288b8001150412.tar.xz
Get sure JS is properly detected and executed
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("^/");