Skip to content

Commit 0a5e5bd

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.
1 parent 85bffd2 commit 0a5e5bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Utils =
3030
-> id += 1
3131

3232
hasChromePrefix: (url) ->
33-
chromePrefixes = [ 'about', 'view-source' ]
33+
chromePrefixes = [ 'about', 'view-source', "chrome-extension" ]
3434
for prefix in chromePrefixes
3535
return true if url.startsWith prefix
3636
false

0 commit comments

Comments
 (0)