diff options
| author | ilya | 2012-07-07 09:56:04 -0700 | 
|---|---|---|
| committer | ilya | 2012-07-07 09:56:04 -0700 | 
| commit | 1d1a9c55dc0987b0b2ebd4eb73ac7e7be8651fde (patch) | |
| tree | 3262081b72583e0900ce4baac1ad55b0e0a2c113 /content_scripts | |
| parent | 8bbcbdfa9db643ff99f90cbd9077b8d598fa7bd6 (diff) | |
| download | vimium-1d1a9c55dc0987b0b2ebd4eb73ac7e7be8651fde.tar.bz2 | |
URL decode bookmarklets
Diffstat (limited to 'content_scripts')
| -rw-r--r-- | content_scripts/vomnibar.coffee | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/content_scripts/vomnibar.coffee b/content_scripts/vomnibar.coffee index e60d6e52..433d0d01 100644 --- a/content_scripts/vomnibar.coffee +++ b/content_scripts/vomnibar.coffee @@ -203,7 +203,7 @@ extend BackgroundCompleter,      navigateToUrl: (url, openInNewTab) ->        # If the URL is a bookmarklet prefixed with javascript:, we shouldn't open that in a new tab.        if url.startsWith "javascript:" -        eval url["javascript:".length..] +        eval decodeURIComponent(url["javascript:".length..])        else          chrome.extension.sendRequest(            handler: if openInNewTab then "openUrlInNewTab" else "openUrlInCurrentTab" | 
