diff options
author | anekos | 2008-08-06 12:41:25 +0000 |
---|---|---|
committer | anekos | 2008-08-06 12:41:25 +0000 |
commit | 856c6c7125e0238566ab7e73eb4077b596727a32 (patch) | |
tree | 246df39ca49636b3438523d78bfbc534dd12c5a9 /commandBookmarklet.js | |
parent | 194e9fe05d101d596f48ef11ec19d6c59b8be160 (diff) | |
download | vimperator-plugins-856c6c7125e0238566ab7e73eb4077b596727a32.tar.bz2 |
なぜか escapeHTML していたのを修正。
「'\'quot\''」などを含むブックマークレットがエラーになるのを修正。
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@17176 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'commandBookmarklet.js')
-rw-r--r-- | commandBookmarklet.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/commandBookmarklet.js b/commandBookmarklet.js index 9a37c97..c0d552a 100644 --- a/commandBookmarklet.js +++ b/commandBookmarklet.js @@ -27,8 +27,7 @@ } title = liberator.util.escapeHTML(title); - url = liberator.util.escapeHTML(url); - var command = new Function("", 'liberator.open("' + url + '");'); + var command = function () { liberator.open(url); }; liberator.commands.addUserCommand( [title], "bookmarklet", |