Browse files

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.
  • Loading branch information...
1 parent 85bffd2 commit 0a5e5bdd9f1cbdbeb63c027488de7acafa7b5bca @smblott-github smblott-github committed Nov 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/utils.coffee
View
2 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

0 comments on commit 0a5e5bd

Please sign in to comment.