summaryrefslogtreecommitdiff
path: root/src/filterurljob.cpp
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2010-09-15 23:41:49 +0200
committerYoann Laissus <yoann.laissus@gmail.com>2010-09-15 23:41:49 +0200
commitef2d5465aee86115cca6343cbaeacca4ed699b12 (patch)
tree996aab5a7a2cc1385ca428c5fa797760557a445c /src/filterurljob.cpp
parentUpgraded download i18n script to automagically grab translation strings (diff)
downloadrekonq-ef2d5465aee86115cca6343cbaeacca4ed699b12.tar.xz
- Bookmarklet support
- text/uri-list drops in the BK toolbar - Don't allow other drag than bookmarks in the BK panel (for the moment) - A little cleanup BUG: 250623
Diffstat (limited to 'src/filterurljob.cpp')
-rw-r--r--src/filterurljob.cpp6
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