diff options
| author | Stephen Blott | 2012-11-13 09:53:10 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2012-11-13 09:53:10 +0000 | 
| commit | 0a5e5bdd9f1cbdbeb63c027488de7acafa7b5bca (patch) | |
| tree | c4def3e9b8e1d2b6d351c8af8e361f44ba0be8a7 /lib | |
| parent | 85bffd2dd8ef75b7c50d6851350490aea4c184cd (diff) | |
| download | vimium-0a5e5bdd9f1cbdbeb63c027488de7acafa7b5bca.tar.bz2 | |
Include "chrome-extension" in chrome prefixes.
You can bookmark chrome-extension://... pages.  But you can't use them:
vimium sends you to the default search engine.  This commit fixes the
issue.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/utils.coffee | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/utils.coffee b/lib/utils.coffee index c997b74b..6f84d008 100644 --- a/lib/utils.coffee +++ b/lib/utils.coffee @@ -30,7 +30,7 @@ Utils =      -> id += 1    hasChromePrefix: (url) -> -    chromePrefixes = [ 'about', 'view-source' ] +    chromePrefixes = [ 'about', 'view-source', "chrome-extension" ]      for prefix in chromePrefixes        return true if url.startsWith prefix      false | 
