diff options
| author | Taichi | 2017-09-23 18:23:52 +0900 | 
|---|---|---|
| committer | Taichi | 2017-09-23 18:23:52 +0900 | 
| commit | d9bbc7132b2289d658bc05697caede3bd7b96de9 (patch) | |
| tree | 89cbc79bc77175cfd8b7a6c47ac5b8a2041c0a41 | |
| parent | 4099067f7c03551bea20b6cf6504e4c15d6e7506 (diff) | |
| download | vimium-d9bbc7132b2289d658bc05697caede3bd7b96de9.tar.bz2 | |
Search completion; add support for Google.co.jp completion
| -rw-r--r-- | background_scripts/completion_engines.coffee | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/background_scripts/completion_engines.coffee b/background_scripts/completion_engines.coffee index caff9cff..6e5a084d 100644 --- a/background_scripts/completion_engines.coffee +++ b/background_scripts/completion_engines.coffee @@ -48,7 +48,7 @@ class Google extends GoogleXMLBaseEngine    constructor: () ->      super        engineUrl: "https://suggestqueries.google.com/complete/search?ss_protocol=legace&client=toolbar&q=%s" -      regexps: "^https?://[a-z]+\\.google\\.(com|ie|co\\.uk|ca|com\\.au)/" +      regexps: "^https?://[a-z]+\\.google\\.(com|ie|co\\.(uk|jp)|ca|com\\.au)/"        example:          searchUrl: "https://www.google.com/search?q=%s"          keyword: "g" @@ -58,7 +58,7 @@ class GoogleMaps extends GoogleXMLBaseEngine    constructor: () ->      super        engineUrl: "https://suggestqueries.google.com/complete/search?ss_protocol=legace&client=toolbar&q=#{@prefix.split(' ').join '+'}%s" -      regexps: "^https?://[a-z]+\\.google\\.(com|ie|co\\.uk|ca|com\\.au)/maps" +      regexps: "^https?://[a-z]+\\.google\\.(com|ie|co\\.(uk|jp)|ca|com\\.au)/maps"        example:          searchUrl: "https://www.google.com/maps?q=%s"          keyword: "m" | 
