diff options
| author | Stephen Blott | 2017-09-30 07:55:33 +0100 | 
|---|---|---|
| committer | GitHub | 2017-09-30 07:55:33 +0100 | 
| commit | 7376efbb11cd3a8b4f9844368f5b440db89821bd (patch) | |
| tree | 5c79623f3b06110a0557a1c3598fa64ce767504c | |
| parent | 0d059c1ac60798598ad6608eca38f6008cc50f53 (diff) | |
| parent | d9bbc7132b2289d658bc05697caede3bd7b96de9 (diff) | |
| download | vimium-7376efbb11cd3a8b4f9844368f5b440db89821bd.tar.bz2 | |
Merge pull request #2665 from curipha/search-compl-google-co-jp
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" | 
