From 0a5e5bdd9f1cbdbeb63c027488de7acafa7b5bca Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Tue, 13 Nov 2012 09:53:10 +0000 Subject: 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. --- lib/utils.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3