diff options
Diffstat (limited to 'src/filterurljob.cpp')
-rw-r--r-- | src/filterurljob.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/filterurljob.cpp b/src/filterurljob.cpp index b27df74c..c5ffa607 100644 --- a/src/filterurljob.cpp +++ b/src/filterurljob.cpp @@ -60,6 +60,12 @@ void FilterUrlJob::run() { // this should let rekonq filtering URI info and supporting // the beautiful KDE web browsing shortcuts + + if (_urlString.startsWith("javascript:")) + { + _url = KUrl(_urlString); + return; + } KUriFilterData data(_urlString); data.setCheckForExecutables(false); // if true, queries like "rekonq" or "dolphin" are considered as executables |